public abstract class MenuColor extends AbstractDockColor
CombinedMenu
.Modifier and Type | Field and Description |
---|---|
static Path |
KIND_MENU_COLOR
the kind of color
TabColor is |
KIND_DOCK_COLOR
Constructor and Description |
---|
MenuColor(java.lang.String id,
DockStation station,
CombinedMenu menu,
java.awt.Color backup)
Creates a new TabColor.
|
MenuColor(java.lang.String id,
Path kind,
DockStation station,
CombinedMenu menu,
java.awt.Color backup)
Creates a new TabColor.
|
Modifier and Type | Method and Description |
---|---|
CombinedMenu |
getMenu()
Gets the menu for which this color is used.
|
DockStation |
getStation()
Gets the station on which the tab is shown.
|
color, connect, me
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
public MenuColor(java.lang.String id, Path kind, DockStation station, CombinedMenu menu, java.awt.Color backup)
id
- the identifier of the color that is searchedkind
- the kind of DockColor
this is.station
- the station on which the color will be usedmenu
- the menu for which this color will be usedbackup
- a backup color in case that no color can be foundpublic MenuColor(java.lang.String id, DockStation station, CombinedMenu menu, java.awt.Color backup)
id
- the identifier of the color that is searchedstation
- the station on which the color will be usedmenu
- the menu for which this color will be usedbackup
- a backup color in case that no color can be foundpublic DockStation getStation()
null
public CombinedMenu getMenu()