bibliothek.gui.dock.common.menu
Class CPreferenceMenuPiece

java.lang.Object
  extended by bibliothek.gui.dock.support.menu.MenuPiece
      extended by bibliothek.gui.dock.support.menu.BaseMenuPiece
          extended by bibliothek.gui.dock.facile.menu.PreferenceMenuPiece
              extended by bibliothek.gui.dock.common.menu.CPreferenceMenuPiece

public class CPreferenceMenuPiece
extends PreferenceMenuPiece

A menu piece that shows an entry for opening the preferences-dialog. This piece will register an ApplicationResource at the CControl in order to store the preferences.

Author:
Benjamin Sigg

Constructor Summary
CPreferenceMenuPiece(CControl control)
          Creates a new menu piece.
 
Method Summary
 
Methods inherited from class bibliothek.gui.dock.facile.menu.PreferenceMenuPiece
getController, getModel, setController, updateModel
 
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, items, removeListener, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPreferenceMenuPiece

public CPreferenceMenuPiece(CControl control)
Creates a new menu piece.

Parameters:
control - the control for which this piece works