org.openide.awt 7.3.1

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 7.3.1

Built on November 10 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.