bibliothek.gui.dock.facile.menu
Class MenuPieceText

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<String,TextValue>
      extended by bibliothek.gui.dock.util.text.TextValue
          extended by 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

Field Summary
static Path KIND_MENU
          what kind of UIValue this is
 
Fields inherited from class bibliothek.gui.dock.util.text.TextValue
KIND_TEXT
 
Constructor Summary
MenuPieceText(String id, MenuPiece menu)
          Creates a new text.
 
Method Summary
 MenuPiece getMenu()
          Gets the menu which is using this text.
 
Methods inherited from class bibliothek.gui.dock.util.text.TextValue
me, setController
 
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
 

Field Detail

KIND_MENU

public static final Path KIND_MENU
what kind of UIValue this is

Constructor Detail

MenuPieceText

public MenuPieceText(String id,
                     MenuPiece menu)
Creates a new text.

Parameters:
id - the unique identifier of this text
menu - the menu that is using this text
Method Detail

getMenu

public MenuPiece getMenu()
Gets the menu which is using this text.

Returns:
the menu