Package zombie.ui
Class UITextBox2
java.lang.Object
zombie.ui.UIElement
zombie.ui.UITextBox2
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
static boolean
int
boolean
boolean
boolean
boolean
boolean
int
int
gnu.trove.list.array.TIntArrayList
int
Fields inherited from class zombie.ui.UIElement
alwaysBack, anchorBottom, anchorLeft, anchorRight, anchorTop, bScrollChildren, bScrollWithParent, capture, clickedValue, Controls, defaultDraw, followGameWorld, height, IgnoreLossControl, Parent, playerContext, table, visible, width, x, y
-
Constructor Summary
ConstructorDescriptionUITextBox2
(UIFont uIFont, int int1, int int2, int int3, int int4, String string, boolean boolean1) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
focus()
int
int
boolean
float
int
getInset()
int
int
getText()
void
boolean
boolean
boolean
isMasked()
boolean
boolean
boolean
void
onMouseDown
(double double1, double double2) onMouseMove
(double double1, double double2) void
onMouseMoveOutside
(double double1, double double2) onMouseUp
(double double1, double double2) void
onMouseUpOutside
(double double1, double double2) void
onOtherKey
(int int1) void
void
void
onresize()
void
void
render()
void
void
void
setClearButton
(boolean boolean1) void
setCursorLine
(int int1) void
setCursorPos
(int int1) void
setEditable
(boolean boolean1) void
setForceUpperCase
(boolean boolean1) void
setFrameAlpha
(float float1) void
setHasFrame
(boolean boolean1) void
setMasked
(boolean boolean1) void
setMaxLines
(int int1) void
setMaxTextLength
(int int1) void
setMultipleLine
(boolean boolean1) void
setOnlyNumbers
(boolean boolean1) void
setSelectable
(boolean boolean1) void
void
setTextColor
(ColorInfo colorInfo) int
toDisplayLine
(int int1) void
unfocus()
void
update()
void
Methods inherited from class zombie.ui.UIElement
AddChild, backMost, bringToTop, BringToTop, ButtonClicked, clampToParentX, clampToParentY, ClearChildren, clearMaxDrawHeight, clearStencilRect, DrawSubTextureRGBA, DrawText, DrawText, DrawText, DrawText, DrawTextCentre, DrawTextCentre, DrawTextRight, DrawTextRight, DrawTextUntrimmed, DrawTexture, DrawTexture, DrawTexture_FlippedX, DrawTexture_FlippedXIgnoreOffset, DrawTextureAngle, DrawTextureAngle, DrawTextureCol, DrawTextureColor, DrawTextureIgnoreOffset, DrawTextureScaled, DrawTextureScaledAspect, DrawTextureScaledAspect2, DrawTextureScaledCol, DrawTextureScaledCol, DrawTextureScaledColor, DrawTextureScaledUniform, DrawTextureTiled, DrawTextureTiledX, DrawTextureTiledY, DrawUVSliceTexture, getAbsoluteX, getAbsoluteY, getClickedValue, getControls, getHeight, getMaxDrawHeight, getParent, getPlayerContext, getRenderThisPlayerOnly, getScrollChildren, getScrollHeight, getScrollWithParent, getTable, getUIName, getWidth, getX, getXScroll, getXScrolled, getY, getYScroll, getYScrolled, ignoreHeightChange, ignoreWidthChange, isAnchorBottom, isAnchorLeft, isAnchorRight, isAnchorTop, isCapture, isConsumeMouseEvents, isDefaultDraw, isEnabled, isFollowGameWorld, isForceCursorVisible, isIgnoreLossControl, isKeyConsumed, isMouseOver, isPointOver, isVisible, isWantKeyEvents, onKeyPress, onKeyRelease, onKeyRepeat, onMouseWheel, onResize, onRightMouseDown, onRightMouseUp, RemoveChild, RemoveControl, repaintStencilRect, resumeStencil, setAlwaysOnTop, setAnchorBottom, setAnchorLeft, setAnchorRight, setAnchorTop, setCapture, setClickedValue, setConsumeMouseEvents, setControls, setDefaultDraw, setEnabled, setFollowGameWorld, setForceCursorVisible, setHeight, setHeightOnly, setHeightSilent, setIgnoreLossControl, setMaxDrawHeight, setParent, setPlayerContext, setRenderClippedChildren, setRenderThisPlayerOnly, setScrollChildren, setScrollHeight, setScrollWithParent, setStencilRect, setTable, setUIName, setVisible, setWantKeyEvents, setWidth, setWidthOnly, setWidthSilent, setX, setXScroll, setY, setYScroll, suspendStencil, tryGetTableValue
-
Field Details
-
ConsoleHasFocus
public static boolean ConsoleHasFocus -
Lines
-
Frame
-
Text
-
Centred
public boolean Centred -
StandardFrameColour
-
TextEntryFrameColour
-
TextEntryCursorColour
-
TextEntryCursorColour2
-
NuetralColour
-
NuetralColour2
-
BadColour
-
GoodColour
-
DoingTextEntry
public boolean DoingTextEntry -
TextEntryCursorPos
public int TextEntryCursorPos -
TextEntryMaxLength
public int TextEntryMaxLength -
IsEditable
public boolean IsEditable -
IsSelectable
public boolean IsSelectable -
CursorLine
public int CursorLine -
multipleLine
public boolean multipleLine -
TextOffsetOfLineStart
public gnu.trove.list.array.TIntArrayList TextOffsetOfLineStart -
ToSelectionIndex
public int ToSelectionIndex -
internalText
-
maskChr
-
bMask
public boolean bMask -
ignoreFirst
public boolean ignoreFirst -
bAlwaysPaginate
public boolean bAlwaysPaginate -
bTextChanged
public boolean bTextChanged
-
-
Constructor Details
-
UITextBox2
-
-
Method Details
-
ClearHighlights
public void ClearHighlights() -
setMasked
public void setMasked(boolean boolean1) -
isMasked
public boolean isMasked() -
onresize
public void onresize() -
render
public void render() -
getFrameAlpha
public float getFrameAlpha() -
setFrameAlpha
public void setFrameAlpha(float float1) -
setTextColor
-
getText
-
getInternalText
-
update
public void update() -
getInset
public int getInset() -
setEditable
public void setEditable(boolean boolean1) -
isEditable
public boolean isEditable() -
setSelectable
public void setSelectable(boolean boolean1) -
isSelectable
public boolean isSelectable() -
onMouseUp
-
onMouseUpOutside
public void onMouseUpOutside(double double1, double double2) - Overrides:
onMouseUpOutside
in classUIElement
-
onMouseMove
- Overrides:
onMouseMove
in classUIElement
-
onMouseMoveOutside
public void onMouseMoveOutside(double double1, double double2) - Overrides:
onMouseMoveOutside
in classUIElement
-
focus
public void focus() -
unfocus
public void unfocus() -
ignoreFirstInput
public void ignoreFirstInput() -
onMouseDown
- Overrides:
onMouseDown
in classUIElement
-
updateText
public void updateText() -
SetText
-
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) -
isMultipleLine
public boolean isMultipleLine() -
getCursorLine
public int getCursorLine() -
setCursorLine
public void setCursorLine(int int1) -
getCursorPos
public int getCursorPos() -
setCursorPos
public void setCursorPos(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() -
selectAll
public void selectAll()
-