|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.support.menu.MenuPiece
bibliothek.gui.dock.facile.menu.NodeMenuPiece
bibliothek.gui.dock.facile.menu.FrontendSettingsMenuPiece
@ClientOnly public class FrontendSettingsMenuPiece
A piece of a menu that allows to save, load and delete settings
from a DockFrontend.
| Constructor Summary | |
|---|---|
FrontendSettingsMenuPiece(DockFrontend frontend,
boolean loadAsSubmenu)
Creates a new piece. |
|
| Method Summary | |
|---|---|
void |
bind()
This method is called if there is a possibility for the user to see this menu. |
DockFrontend |
getFrontend()
Gets the frontend which might be modified by this menu. |
void |
save(Component owner)
Saves the current setting. |
void |
saveAs(Component owner)
Saves the current setting under a new name. |
void |
setFrontend(DockFrontend frontend)
Sets the frontend which might be modified by this menu. |
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.facile.menu.NodeMenuPiece |
|---|
add, fill, getChild, getChildrenCount, getItemCount, insert, remove, remove |
| 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 |
|---|
public FrontendSettingsMenuPiece(DockFrontend frontend,
boolean loadAsSubmenu)
frontend - the frontend which might be modified by this piece, can be nullloadAsSubmenu - whether the list of loadable settings should be in a submenu| Method Detail |
|---|
public DockFrontend getFrontend()
nullpublic void setFrontend(DockFrontend frontend)
frontend - the frontend, can be nullpublic void bind()
MenuPiece
bind in class NodeMenuPieceMenuPiece.unbind()public void unbind()
MenuPiece
unbind in class NodeMenuPieceMenuPiece.bind()public void save(Component owner)
owner - the component which should be used as owner of any
necessary dialogpublic void saveAs(Component owner)
owner - which should be used as owner of any
necessary dialog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||