bibliothek.gui.dock.common.menu
Class CLookAndFeelMenuPiece
java.lang.Object
bibliothek.gui.dock.support.menu.MenuPiece
bibliothek.gui.dock.support.menu.BaseMenuPiece
bibliothek.gui.dock.facile.menu.LookAndFeelMenuPiece
bibliothek.gui.dock.common.menu.CLookAndFeelMenuPiece
- All Implemented Interfaces:
- DestroyHook
public class CLookAndFeelMenuPiece
- extends LookAndFeelMenuPiece
- implements DestroyHook
A menupiece that shows an entry for each available LookAndFeel
. The
user can select a LookAndFeel which will be set immediately.
- Author:
- Benjamin Sigg
Method Summary |
void |
destroy()
Frees resources and cuts connections to other objects such that this
piece can be removed by the garbage collector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLookAndFeelMenuPiece
public CLookAndFeelMenuPiece(CControl control)
- Creates a new menu.
- Parameters:
control
- needed to load the last LookAndFeel
CLookAndFeelMenuPiece
public CLookAndFeelMenuPiece(CControl control,
LookAndFeelList list)
- Creates a new menu.
- Parameters:
control
- needed to access the list of dockableslist
- the list of available LookAndFeel
s, can be null
destroy
public void destroy()
- Description copied from class:
LookAndFeelMenuPiece
- Frees resources and cuts connections to other objects such that this
piece can be removed by the garbage collector.
- Specified by:
destroy
in interface DestroyHook
- Overrides:
destroy
in class LookAndFeelMenuPiece