|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Docking framework / Custom tabtitles.
This interface can be implemented for custom tabview titles.
An instance of an implementing class can be registered (eg. set)
on a TabEntry instance.
Whenever the specific TabEntry
is shown the interface is notified and used to create the custom
UI. Also callbacks exist for focus changes in the nested hierarchy.
Please note that this interface extends the interface
TabEntryProvider.
| Method Summary | |
void |
createControl(javax.swing.JPanel parent,
TabPane tabpane,
TabEntry entry)
Creates the control everytime it is required. |
void |
hideControl()
Invoked when the tabentry is closed, made inactive, moved or changes its parent tabpane. |
void |
nestedFocusGained()
Invoked when the focus is gained by the tabtitle or any components nested inside the tabview while the associated tabentry is active. |
void |
nestedFocusLost()
Invoked when the focus is lost by the tabtitle or any components nested inside the tabview while the associated tabentry is active. |
| Methods inherited from interface com.tensegrity.gui.swing.dock.core.TabEntryProvider |
getEntry, getTabPane |
| Method Detail |
public void createControl(javax.swing.JPanel parent,
TabPane tabpane,
TabEntry entry)
parent - an empty jpanel with a borderlayout.tabpane - the current parent TabPane (may change over time,
if the entry is docked/moved by DnD).entry - the associated TabEntry (constant, doesnt change
throughout the lifetime of the custom title).public void hideControl()
public void nestedFocusGained()
public void nestedFocusLost()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||