|
||||||||||
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.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 null
loadAsSubmenu
- whether the list of loadable settings should be in a submenuMethod Detail |
---|
public DockFrontend getFrontend()
null
public void setFrontend(DockFrontend frontend)
frontend
- the frontend, can be null
public void bind()
MenuPiece
bind
in class NodeMenuPiece
MenuPiece.unbind()
public void unbind()
MenuPiece
unbind
in class NodeMenuPiece
MenuPiece.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 |