Package zombie.ui

Class UITextBox2

java.lang.Object
zombie.ui.UIElement
zombie.ui.UITextBox2

public class UITextBox2
extends UIElement
  • Field Details

    • ConsoleHasFocus

      public static boolean ConsoleHasFocus
    • ResizeParent

      public boolean ResizeParent
    • Lines

      public java.util.Stack Lines
    • Frame

      public UINineGrid Frame
    • Text

      public java.lang.String Text
    • Centred

      public boolean Centred
    • StandardFrameColour

      public Color StandardFrameColour
    • TextEntryFrameColour

      public Color TextEntryFrameColour
    • TextEntryCursorColour

      public Color TextEntryCursorColour
    • TextEntryCursorColour2

      public Color TextEntryCursorColour2
    • NuetralColour

      public Color NuetralColour
    • NuetralColour2

      public Color NuetralColour2
    • BadColour

      public Color BadColour
    • GoodColour

      public Color GoodColour
    • DoingTextEntry

      public boolean DoingTextEntry
    • TextEntryCursorPos

      public int TextEntryCursorPos
    • TextEntryMaxLength

      public int TextEntryMaxLength
    • IsEditable

      public boolean IsEditable
    • CursorLine

      public int CursorLine
    • multipleLine

      public boolean multipleLine
    • TextOffsetOfLineStart

      public gnu.trove.list.array.TIntArrayList TextOffsetOfLineStart
    • ToSelectionIndex

      public int ToSelectionIndex
    • internalText

      public java.lang.String internalText
    • maskChr

      public java.lang.String maskChr
    • bMask

      public boolean bMask
    • ignoreFirst

      public boolean ignoreFirst
  • Constructor Details

    • UITextBox2

      public UITextBox2​(UIFont uIFont, int int1, int int2, int int3, int int4, java.lang.String string, boolean boolean1)
  • Method Details

    • ClearHighlights

      public void ClearHighlights()
    • setMasked

      public void setMasked​(boolean boolean1)
    • onresize

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

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

      public void setFrameAlpha​(float float1)
    • getFrameAlpha

      public float getFrameAlpha()
    • setTextColor

      public void setTextColor​(ColorInfo colorInfo)
    • getText

      public java.lang.String getText()
    • getInternalText

      public java.lang.String getInternalText()
    • update

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

      public int getInset()
    • setEditable

      public void setEditable​(boolean boolean1)
    • onMouseUp

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

      public void onMouseUpOutside​(double double1, double double2)
    • 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
    • focus

      public void focus()
    • unfocus

      public void unfocus()
    • ignoreFirstInput

      public void ignoreFirstInput()
    • onMouseDown

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

      public void updateText()
    • SetText

      public void SetText​(java.lang.String string)
    • clearInput

      public void clearInput()
    • onPressUp

      public void onPressUp()
    • onPressDown

      public void onPressDown()
    • onCommandEntered

      public void onCommandEntered()
    • onTextChange

      public void onTextChange()
    • onOtherKey

      public void onOtherKey​(int int1)
    • getMaxTextLength

      public int getMaxTextLength()
    • setMaxTextLength

      public void setMaxTextLength​(int int1)
    • getForceUpperCase

      public boolean getForceUpperCase()
    • setForceUpperCase

      public void setForceUpperCase​(boolean boolean1)
    • setHasFrame

      public void setHasFrame​(boolean boolean1)
    • setClearButton

      public void setClearButton​(boolean boolean1)
    • toDisplayLine

      public int toDisplayLine​(int int1)
    • setMultipleLine

      public void setMultipleLine​(boolean boolean1)
    • setCursorLine

      public void setCursorLine​(int int1)
    • getMaxLines

      public int getMaxLines()
    • setMaxLines

      public void setMaxLines​(int int1)
    • isFocused

      public boolean isFocused()
    • isOnlyNumbers

      public boolean isOnlyNumbers()
    • setOnlyNumbers

      public void setOnlyNumbers​(boolean boolean1)
    • resetBlink

      public void resetBlink()