Package | Description |
---|---|
bibliothek.gui.dock.common.menu |
Some
MenuPiece s to modify the layout and settings of an
application that uses Common . |
bibliothek.gui.dock.facile.menu |
Implementations of
MenuPiece . |
bibliothek.gui.dock.support.menu |
Basic interfaces for a small framework that builds and manages
JMenu s with changing content. |
Modifier and Type | Class and Description |
---|---|
class |
CLayoutChoiceMenuPiece
A piece of a menu that allows the user to store and load the layout
of a set of
Dockable s and DockStation s. |
class |
CLookAndFeelMenuPiece
A menupiece that shows an entry for each available
LookAndFeel . |
class |
CPreferenceMenuPiece
A menu piece that shows an entry for opening the preferences-dialog.
|
class |
CThemeMenuPiece
|
class |
SingleCDockableListMenuPiece
|
Modifier and Type | Class and Description |
---|---|
class |
CloseableDockableMenuPiece
A piece of a menu allowing to close or reopen some
Dockable s that
are registered in a DockFrontend . |
class |
FreeMenuPiece
A
MenuPiece that does not add any children by itself. |
class |
FrontendSettingsDeleteList
Shows the settings of a
DockFrontend and allows the user to
delete some settings. |
class |
FrontendSettingsLoadList
Shows the settings of a
DockFrontend and allows the user to
load one of the settings. |
class |
FrontendSettingsMenuPiece
A piece of a menu that allows to save, load and delete settings
from a
DockFrontend . |
class |
LookAndFeelMenuPiece
A menu that contains an item for each available
LookAndFeel . |
class |
NodeMenuPiece
A piece which uses a set of other pieces to create a composite.
|
class |
PreferenceMenuPiece
A menu piece that allows the user to change the preferences of the framework.
|
class |
RootMenuPiece
The root of a tree of
MenuPiece s. |
class |
SubmenuPiece
A
MenuPiece which consists only of one JMenu . |
class |
ThemeMenuPiece
|
Modifier and Type | Method and Description |
---|---|
MenuPiece |
NodeMenuPiece.getChild(int index)
Gets the index'th child of this piece.
|
MenuPiece |
MenuPieceText.getMenu()
Gets the menu which is using this text.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeMenuPiece.add(MenuPiece piece)
Adds a new child to the end of this piece.
|
void |
NodeMenuPiece.insert(int index,
MenuPiece piece)
Inserts a new child in this piece.
|
void |
NodeMenuPiece.remove(MenuPiece piece)
Removes a child from this piece.
|
void |
RootMenuPiece.setParent(MenuPiece parent) |
Constructor and Description |
---|
MenuPieceText(java.lang.String id,
MenuPiece menu)
Creates a new text.
|
RootMenuPiece(java.lang.String text,
boolean disableWhenEmpty,
MenuPiece... pieces)
Creates a new root-piece, using a normal
JMenu . |
SubmenuPiece(java.lang.String text,
boolean disableWhenEmpty,
MenuPiece... pieces)
Creates a new submenu-piece, using a normal
JMenu . |
Modifier and Type | Class and Description |
---|---|
class |
BaseMenuPiece
A very simple piece, subclasses can add or remove items from this piece
at any time.
|
class |
FrontendSettingsList
A list of settings (=layouts or perspectives) that are available for a
DockFrontend . |
class |
SeparatingMenuPiece
A piece which envelops another piece with separators.
|
Modifier and Type | Method and Description |
---|---|
MenuPiece |
MenuPiece.getParent()
Gets the parent of this piece.
|
MenuPiece |
SeparatingMenuPiece.getPiece()
Gets the piece which is embraced by separators.
|
Modifier and Type | Method and Description |
---|---|
void |
MenuPieceListener.insert(MenuPiece piece,
int index,
java.awt.Component... items)
Called if some items have been added to
piece . |
void |
MenuPieceListener.remove(MenuPiece piece,
int index,
int length)
Called if some items have been removed from
piece |
void |
MenuPiece.setParent(MenuPiece parent)
Sets the parent of this piece.
|
void |
SeparatingMenuPiece.setPiece(MenuPiece piece)
Sets the piece which will be embraced by separators.
|
Constructor and Description |
---|
SeparatingMenuPiece(MenuPiece piece)
Creates a new piece
|
SeparatingMenuPiece(MenuPiece piece,
boolean topSeparator,
boolean emptySeparator,
boolean bottomSeparator)
Creates a new piece
|