|
org.openide.awt 7.23.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.awt.TabbedPaneFactory
public class TabbedPaneFactory
Factory class for TabbedPanes with closeable tabs.
| Field Summary | |
|---|---|
static String |
NO_CLOSE_BUTTON
To hide close button feature on specific tab, put value Boolean.TRUE as a client property of your tab: |
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 |
|---|
public static final String PROP_CLOSE
public static final String NO_CLOSE_BUTTON
component.putClientProperty(TabbedPaneFactory.NO_CLOSE_BUTTON, Boolean.TRUE)
| Method Detail |
|---|
public static JTabbedPane createCloseButtonTabbedPane()
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.
NO_CLOSE_BUTTON
|
org.openide.awt 7.23.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||