站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

WinsysInfoForTabbed (Tab Control) - NetBeans API Javadoc (Current Development Version)

org.netbeans.swing.tabcontrol 1.8

org.netbeans.swing.tabcontrol
Interface WinsysInfoForTabbed


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.WinsysInfoForTabbed)

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.8

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.