|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabbedPaneSpecifier
A tab pane specifier for JTabbedPane.
Any object that implements this interface agrees to supply the component that
will be placed, as a tab, in a JTabbedPane.
The object that uses this interface will place the Component returned form
getTabbedComponent () in as a tab, then call initialiseTabbedComponent ()
with the JTabbedPane and the index position of the tab. It may also be an
idea to synchronise code block.
this allows the tab to set it self up inside initialiseTabbedComponent
Method Summary | |
---|---|
java.awt.Component |
getTabbedComponent()
Get the component that will be a tab in the a JTabbedPane. |
void |
initialiseTabbedComponent(javax.swing.JTabbedPane tabbedPane,
int index)
Control is handed to this method in order that specific display aspects can be assigned. |
Method Detail |
---|
java.awt.Component getTabbedComponent()
void initialiseTabbedComponent(javax.swing.JTabbedPane tabbedPane, int index)
tabbedPane
- The JTabbedPane that contains the "component panel"index
- The index within the JTabbedPane of where the "component panel"
resides.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |