org.netbeans.swing.tabcontrol 1.36

org.netbeans.swing.tabcontrol
Interface WinsysInfoForTabbed

All Known Implementing Classes:
WinsysInfoForTabbedContainer

public interface 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)

Method Summary
 Object getOrientation(Component comp)
          Returns global orientation of given component.
 boolean inMaximizedMode(Component comp)
          Finds out in what state is window system mode containing given component.
 

Method Detail

getOrientation

Object getOrientation(Component comp)
Returns global orientation of given component.

Returns:
Orientation of component, as defined in TabDisplayer.ORIENTATION_XXX constants

inMaximizedMode

boolean inMaximizedMode(Component comp)
Finds out in what state is window system mode containing given component.

Returns:
true if given component is inside mode which is in maximized state, false otherwise

org.netbeans.swing.tabcontrol 1.36

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.