Class Layout

java.lang.Object
com.github.pinont.singularitylib.api.ui.Layout

public class Layout extends Object
  • Constructor Details

    • Layout

      public Layout(char c, Button button)
  • Method Details

    • getKey

      public char getKey()
      Gets the character key used to position this layout in a menu.
      Returns:
      the character key
    • getButton

      public Button getButton()
      Gets the button associated with this layout.
      Returns:
      the button for this layout position