org.netbeans.swing.tabcontrol
Class WinsysInfoForTabbedContainer
java.lang.Object
org.netbeans.swing.tabcontrol.WinsysInfoForTabbedContainer
- All Implemented Interfaces:
- WinsysInfoForTabbed
public abstract class WinsysInfoForTabbedContainer
- extends Object
- implements WinsysInfoForTabbed
Interface that provides external information (provided by window system)
that TabbedContainers need to know in order to work fully.
Tab control uses info to provide for example tab buttons reacting on
the position of the container or on maximization state.
- See Also:
TabbedContainer.TabbedContainer(org.netbeans.swing.tabcontrol.TabDataModel, int, org.netbeans.swing.tabcontrol.WinsysInfoForTabbedContainer),
TabbedComponentFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WinsysInfoForTabbedContainer
public WinsysInfoForTabbedContainer()
isTopComponentSlidingEnabled
public boolean isTopComponentSlidingEnabled()
- Returns:
- True if TopComponents can be slided out, false to remove Minimize button
from TopComponent's header.
isTopComponentClosingEnabled
public boolean isTopComponentClosingEnabled()
- Returns:
- True if TopComponents can be closed, false to remove Close button
from TopComponent's header.
isTopComponentMaximizationEnabled
public boolean isTopComponentMaximizationEnabled()
- Returns:
- True if TopComponents can be maximized, false to remove Maximize/Restore
button from TopComponent's header./
isTopComponentClosingEnabled
public boolean isTopComponentClosingEnabled(TopComponent tc)
- Returns:
- True if given TopComponent can be closed, false to remove Close button
from TopComponent's header.
- Since:
- 1.15
isTopComponentSlidingEnabled
public boolean isTopComponentSlidingEnabled(TopComponent tc)
- Returns:
- True if given TopComponent can be slided-out, false to remove 'Minimize Window'
action from TopComponent's popup menu.
- Since:
- 1.15
isTopComponentMaximizationEnabled
public boolean isTopComponentMaximizationEnabled(TopComponent tc)
- Returns:
- True if given TopComponent can be maximized.
- Since:
- 1.15
isModeSlidingEnabled
public boolean isModeSlidingEnabled()
- Returns:
- True if it is possible to minimize the whole group of TopCOmponents.
- Since:
- 1.27
isSlidedOutContainer
public boolean isSlidedOutContainer()
- Returns:
- True if this container is currently slided out (and contains a single window)
- Since:
- 1.27
isTopComponentBusy
public boolean isTopComponentBusy(TopComponent tc)
- Check if the header of given TopComponent should be painted in a special
way to indicate that some process is running in that TopComponent.
- Parameters:
tc -
- Returns:
- True to indicate process being run in the TopComponent, false otherwise.
- Since:
- 1.34
getDefault
public static WinsysInfoForTabbedContainer getDefault(WinsysInfoForTabbed winsysInfo)