|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.support.menu.MenuPiece bibliothek.gui.dock.support.menu.BaseMenuPiece bibliothek.gui.dock.facile.menu.LookAndFeelMenuPiece
@ClientOnly public class LookAndFeelMenuPiece
A menu that contains an item for each available LookAndFeel
. The
set of LookAndFeel
s is determined through a LookAndFeelList
.
Constructor Summary | |
---|---|
LookAndFeelMenuPiece()
Creates a new menu. |
|
LookAndFeelMenuPiece(JFrame frame,
LookAndFeelList list)
Creates a new menu. |
Method Summary | |
---|---|
void |
destroy()
Frees resources and cuts connections to other objects such that this piece can be removed by the garbage collector. |
LookAndFeelList |
getList()
Gets the list of LookAndFeel s. |
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 |
---|
public LookAndFeelMenuPiece()
public LookAndFeelMenuPiece(JFrame frame, LookAndFeelList list)
frame
- the main frame of the application. This piece will add
a listener to frame
and free resources the moment
frame
is closed. This menu will also ensure that frame
s
user interface is updated when the LookAndFeel
changes.
Can be null
.list
- the set of available LookAndFeel
s. Can be null
.Method Detail |
---|
public void destroy()
public LookAndFeelList getList()
LookAndFeel
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |