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.
|
getList
add, addSeparator, fill, getItem, getItemCount, insert, insertSeparator, remove, remove, removeAll
addListener, fireInsert, fireRemove, getMenu, getParent, isBound, items, removeListener, setParent
public CLookAndFeelMenuPiece(CControl control)
control
- needed to load the last LookAndFeel
public CLookAndFeelMenuPiece(CControl control, LookAndFeelList list)
control
- needed to access the list of dockableslist
- the list of available LookAndFeel
s, can be null
public void bind()
MenuPiece
bind
in class LookAndFeelMenuPiece
MenuPiece.unbind()
public void unbind()
MenuPiece
unbind
in class LookAndFeelMenuPiece
MenuPiece.bind()
@Deprecated public void destroy()
LookAndFeelMenuPiece
destroy
in interface DestroyHook
destroy
in class LookAndFeelMenuPiece