bibliothek.gui.dock.facile.menu
Class MenuPieceText
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<String,TextValue>
bibliothek.gui.dock.util.text.TextValue
bibliothek.gui.dock.facile.menu.MenuPieceText
- All Implemented Interfaces:
- UIValue<String>
public abstract class MenuPieceText
- extends TextValue
Represents a text that is used by a MenuPiece
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue |
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KIND_MENU
public static final Path KIND_MENU
- what kind of
UIValue
this is
MenuPieceText
public MenuPieceText(String id,
MenuPiece menu)
- Creates a new text.
- Parameters:
id
- the unique identifier of this textmenu
- the menu that is using this text
getMenu
public MenuPiece getMenu()
- Gets the menu which is using this text.
- Returns:
- the menu