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

TabbedPaneFactory (UI Utilities API) - NetBeans API Javadoc (Current Development Version)

org.openide.awt 6.11.0

org.openide.awt
Class TabbedPaneFactory

java.lang.Object
  extended by 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.
 
Method Summary
static JTabbedPane createCloseButtonTabbedPane()
          Creates a special JTabbedPane that displays a small 'close' button in each tab.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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.

org.openide.awt 6.11.0

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