|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.support.menu.MenuPiece bibliothek.gui.dock.support.menu.BaseMenuPiece bibliothek.gui.dock.facile.menu.PreferenceMenuPiece
@ClientOnly public class PreferenceMenuPiece
A menu piece that allows the user to change the preferences of the framework.
Constructor Summary | |
---|---|
protected |
PreferenceMenuPiece()
Creates a new unlinked menu piece |
|
PreferenceMenuPiece(DockController controller)
Creates a new menu piece |
Method Summary | |
---|---|
void |
bind()
This method is called if there is a possibility for the user to see this menu. |
protected PreferenceTreeModel |
createModel()
Creates a new model for this piece. |
DockController |
getController()
Gets the controller for which this piece works. |
PreferenceTreeModel |
getModel()
|
void |
setController(DockController controller)
Sets the controller for which this piece works. |
void |
unbind()
This method is called if the user has no longer any possibility to see this menu. |
Methods inherited from class bibliothek.gui.dock.support.menu.BaseMenuPiece |
---|
add, addSeparator, fill, getItem, getItemCount, insert, insertSeparator, remove, remove, removeAll |
Methods inherited from class bibliothek.gui.dock.support.menu.MenuPiece |
---|
addListener, fireInsert, fireRemove, getMenu, getParent, isBound, items, removeListener, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PreferenceMenuPiece()
public PreferenceMenuPiece(DockController controller)
controller
- the controller for which this piece will workMethod Detail |
---|
protected PreferenceTreeModel createModel()
public PreferenceTreeModel getModel()
public void bind()
MenuPiece
bind
in class MenuPiece
MenuPiece.unbind()
public void unbind()
MenuPiece
unbind
in class MenuPiece
MenuPiece.bind()
public void setController(DockController controller)
controller
- the controllerpublic DockController getController()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |