Modifier and Type | Field and Description |
---|---|
static Path |
KIND_MENU
what kind of
UIValue this is |
Constructor and Description |
---|
MenuPieceText(java.lang.String id,
MenuPiece menu)
Creates a new text.
|
Modifier and Type | Method and Description |
---|---|
MenuPiece |
getMenu()
Gets the menu which is using this text.
|
me, setController
public MenuPieceText(java.lang.String id, MenuPiece menu)
id
- the unique identifier of this textmenu
- the menu that is using this textpublic MenuPiece getMenu()