Class 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 Details

    • KIND_MENU

      public static final Path KIND_MENU
      what kind of UIValue this is
  • Constructor Details

    • 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 Details

    • getMenu

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