Package zombie.ui

Class ListBox

java.lang.Object
zombie.ui.UIElement
zombie.ui.ListBox

public class ListBox
extends UIElement
  • Field Details

    • background

      public Color background
    • selColour

      public Color selColour
    • selColourDis

      public Color selColourDis
    • itemHeight

      public int itemHeight
    • topIndex

      public int topIndex
    • Selected

      public int Selected
    • LastSelected

      public int LastSelected
    • Items

      public java.util.Stack Items
  • Constructor Details

    • ListBox

      public ListBox​(java.lang.String string, UIEventHandler uIEventHandler)
  • Method Details

    • SetItemHeight

      public void SetItemHeight​(int int1)
    • remove

      public void remove​(IListBoxItem iListBoxItem)
    • getSelected

      public IListBoxItem getSelected()
    • AddItem

      public void AddItem​(IListBoxItem iListBoxItem, Color color, Color color2, Color color3)
    • AddItem

      public void AddItem​(IListBoxItem iListBoxItem, Texture texture, Color color, Color color2, Color color3)
    • AddItem

      public void AddItem​(IListBoxItem iListBoxItem, Color color, Color color2, Color color3, boolean boolean1)
    • AddItem

      public void AddItem​(IListBoxItem iListBoxItem, java.lang.String string, Color color, Color color2, Color color3)
    • AddItem

      public void AddItem​(IListBoxItem iListBoxItem, java.lang.String string, Color color, Color color2, Color color3, boolean boolean1)
    • render

      public void render()
      Overrides:
      render in class UIElement
    • onMouseMove

      public java.lang.Boolean onMouseMove​(double double1, double double2)
      Overrides:
      onMouseMove in class UIElement
    • onMouseMoveOutside

      public void onMouseMoveOutside​(double double1, double double2)
      Overrides:
      onMouseMoveOutside in class UIElement
    • onMouseUp

      public java.lang.Boolean onMouseUp​(double double1, double double2)
      Overrides:
      onMouseUp in class UIElement
    • update

      public void update()
      Overrides:
      update in class UIElement
    • onMouseDown

      public java.lang.Boolean onMouseDown​(double double1, double double2)
      Overrides:
      onMouseDown in class UIElement