bibliothek.gui.dock.common.menu
Class CLayoutChoiceMenuPiece

java.lang.Object
  extended by bibliothek.gui.dock.support.menu.MenuPiece
      extended by bibliothek.gui.dock.facile.menu.NodeMenuPiece
          extended by bibliothek.gui.dock.facile.menu.FrontendSettingsMenuPiece
              extended by bibliothek.gui.dock.common.menu.CLayoutChoiceMenuPiece

public class CLayoutChoiceMenuPiece
extends FrontendSettingsMenuPiece

A piece of a menu that allows the user to store and load the layout of a set of Dockables and DockStations.

Author:
Benjamin Sigg
See Also:
FrontendSettingsMenuPiece

Constructor Summary
CLayoutChoiceMenuPiece(CControl control, boolean loadAsSubmenu)
          Creates a new menu.
 
Method Summary
 
Methods inherited from class bibliothek.gui.dock.facile.menu.FrontendSettingsMenuPiece
bind, getFrontend, save, saveAs, setFrontend, unbind
 
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

CLayoutChoiceMenuPiece

public CLayoutChoiceMenuPiece(CControl control,
                              boolean loadAsSubmenu)
Creates a new menu.

Parameters:
control - the control whose layout might change
loadAsSubmenu - whether the list of layouts should be added as a menu or only as a list of items.