当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
TabbedPaneFactory (UI Utilities API) - NetBeans API Javadoc (Current Development Version)
org.openide.awt
Class TabbedPaneFactory
java.lang.Object
org.openide.awt.TabbedPaneFactory
public class TabbedPaneFactory
- extends Object
Factory class for TabbedPanes with closeable tabs.
- Since:
- 6.10
Field Summary |
static String |
PROP_CLOSE
Name of the property that is fired from the closeable tabbed pane
when the user clicks close button on a tab. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_CLOSE
public static final String PROP_CLOSE
- Name of the property that is fired from the closeable tabbed pane
when the user clicks close button on a tab.
- See Also:
- Constant Field Values
createCloseButtonTabbedPane
public static JTabbedPane createCloseButtonTabbedPane()
- Creates a special
JTabbedPane
that displays a small 'close' button in each tab.
When user clicks the close button a PropertyChangeEvent
is fired from the
tabbed pane. The property name is PROP_CLOSE
and the property
value is the inner component inside the clicked tab.
- Returns:
- Special TabbedPane with closeable tabs.