/** * Tells whether the visibility state of the dockable changed * @return whether the visibility state changed * @deprecated this method gets replaced by {@link #isShowingChanged()} */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isVisibleChanged(){ return oldShowing != newShowing; }
/** * Tells whether this station is visible or not. For example a station on * a {@link JFrame} is not visible if the frame is minimized. * @return whether this station is visible * @deprecated use {@link #isStationShowing()} instead, this method will be removed in a future release */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isStationVisible();
/** * Tells whether the visibility state of the dockable changed * @return whether the visibility state changed * @deprecated this method gets replaced by {@link #isShowingChanged()} */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isVisibleChanged(){ return oldShowing != newShowing; }
/** * Tells whether the user could see the dockable before this event * @return the old visibility state * @deprecated replaced by {@link #getOldShowing()} */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean getOldVisible(){ return oldShowing; }
/** * Tells whether this <code>CDockable</code> is currently visible to the user. A <code>CDockable</code> * which is not {@link #isVisible() visible}, is not <code>dockable visible</code> either. The method * does not take into account that a frame may be positioned such that it is not entirely visible on the * screen. Neither does the method take into account, that a frame may be minimized. * @return <code>true</code> if the user should be able to see this item * @deprecated this method gets replaced by {@link #isShowing()}, which offers the exact same information. This method * will be removed in a future release */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isDockableVisible();
/** * Tells whether the user could see the dockable before this event * @return the old visibility state * @deprecated replaced by {@link #getOldShowing()} */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean getOldVisible(){ return oldShowing; }
/** * Tells whether the user can see the dockable after this event * @return the new visibility state * @deprecated replaced by {@link #getNewShowing()} */ @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) @Deprecated public boolean getNewVisible(){ return newShowing; }
/** * Tells whether the visibility of the {@link #getDockable() dockable} changed. * @return whether the visibility changed * @see Dockable#isDockableShowing() * @deprecated use {@link #didShowingChange()} instead, this method will be removed in a future version */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean didVisibilityChange(){ return (flags & FLAG_VISIBILITY) == FLAG_VISIBILITY; }
/** * Tells whether the child <code>dockable</code> is visible or not. Visible * means that the {@link Dockable#getComponent() component} of <code>dockable</code> * can be seen by the user. The result must be <code>false</code> if * this station is not visible. * @param dockable the child whose visibility-state is questioned * @return whether <code>dockable</code> is visible or not * @see #isStationVisible() * @deprecated use {@link #isChildShowing(Dockable)} instead, this method will be removed in a future release */ @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) @Deprecated public boolean isVisible( Dockable dockable );
/** * Tells whether the visibility of the {@link #getDockable() dockable} changed. * @return whether the visibility changed * @see Dockable#isDockableShowing() * @deprecated use {@link #didShowingChange()} instead, this method will be removed in a future version */ @Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean didVisibilityChange(){ return (flags & FLAG_VISIBILITY) == FLAG_VISIBILITY; }
/** * Tells whether the user can see the dockable after this event * @return the new visibility state * @deprecated replaced by {@link #getNewShowing()} */ @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) @Deprecated public boolean getNewVisible(){ return newShowing; }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isStationVisible(){ return isShowing(); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isVisible( Dockable dockable ){ return isStationVisible(); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isStationVisible(){ return isDockableVisible(); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isStationVisible(){ return isDockableVisible(); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isVisible( Dockable dockable ) { return isStationShowing(); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isDockableVisible(){ return intern().isDockableShowing(); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isVisible( Dockable dockable ){ return isStationVisible() && (!isFullScreen() || dockable == getFullScreen()); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isVisible( Dockable dockable ){ return isStationVisible() && (!isFullScreen() || dockable == getFullScreen()); }
@Deprecated @Todo( compatibility=Compatibility.BREAK_MAJOR, priority=Priority.ENHANCEMENT, target=Version.VERSION_1_1_3, description="remove this method" ) public boolean isStationVisible() { boolean visible = isDockableShowing(); if( visible ){ return true; } if( getController() != null ){ return getComponent().isShowing(); } return false; }