public class CLookAndFeelMenuPiece extends LookAndFeelMenuPiece implements DestroyHook
LookAndFeel. The
user can select a LookAndFeel which will be set immediately.| Constructor and Description |
|---|
CLookAndFeelMenuPiece(CControl control)
Creates a new menu.
|
CLookAndFeelMenuPiece(CControl control,
LookAndFeelList list)
Creates a new menu.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind()
This method is called if there is a possibility for the user to see this menu.
|
void |
destroy()
Deprecated.
|
void |
unbind()
This method is called if the user has no longer any possibility to see this menu.
|
getListadd, addSeparator, fill, getItem, getItemCount, insert, insertSeparator, remove, remove, removeAlladdListener, fireInsert, fireRemove, getMenu, getParent, isBound, items, removeListener, setParentpublic CLookAndFeelMenuPiece(CControl control)
control - needed to load the last LookAndFeelpublic CLookAndFeelMenuPiece(CControl control, LookAndFeelList list)
control - needed to access the list of dockableslist - the list of available LookAndFeels, can be nullpublic void bind()
MenuPiecebind in class LookAndFeelMenuPieceMenuPiece.unbind()public void unbind()
MenuPieceunbind in class LookAndFeelMenuPieceMenuPiece.bind()@Deprecated public void destroy()
LookAndFeelMenuPiecedestroy in interface DestroyHookdestroy in class LookAndFeelMenuPieceCopyright © 2018. All rights reserved.