public class UITextBox extends UIInputBox implements UICopy, UIPaste
UIInputBox.FillStyle, UIInputBox.ProgressIndicatorUIContextActions.Actioneditable, editBuffer, editing, enabled, fillColor, fillStyle, hasFill, progressFillStyle, returnKeyEditDEFAULT_HEIGHT, useCommandEnginebottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, ychildren, hasFocus, mousePressContextMenu, visible| Constructor and Description |
|---|
UITextBox() |
UITextBox(float x,
float y,
float w,
float h) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Objects are encouraged to override this method providing a helpful String displayed to the user explaining
the function of this UI component.
|
protected String |
getEditBufferValue() |
LXParameter |
getParameter() |
String |
getValue() |
protected String |
getValueString() |
protected boolean |
isValidCharacter(char keyChar) |
static boolean |
isValidTextCharacter(char keyChar) |
LXClipboardItem |
onCopy() |
void |
onPaste(LXClipboardItem item) |
protected void |
onValueChange(String value)
Subclasses may override to handle value changes
|
protected void |
saveEditBuffer() |
UITextBox |
setParameter(StringParameter parameter) |
UITextBox |
setValue(String value) |
UITextBox |
setValue(String value,
boolean pushToParameter) |
decrementValue, edit, enableImmediateEdit, enableMousePressEdit, enableReturnKeyEdit, getFillWidthNormalized, incrementMouseValue, incrementValue, isEditable, isEnabled, onBlur, onDraw, onKeyPressed, onMouseDragged, onMousePressed, onMouseReleased, setEditable, setEnabled, setProgressColor, setProgressColor, setProgressFillStyle, setProgressIndicator, setValueCommandgetContextActions, getOscAddress, setNormalizedCommand, setUseCommandEngineaddToContainer, addToContainer, breakTextToWidth, clipTextToWidth, contains, drawBackground, drawBorder, drawFocus, drawFocusCorners, drawFocusCorners, getBackgroundColor, getBorderColor, getBorderRounding, getBorderWeight, getContainer, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getNextSibling, getParent, getPrevSibling, getWidth, getX, getY, hasBackground, hasBorder, hasFont, hasFontColor, isMappable, onResize, redraw, removeFromContainer, setBackground, setBackgroundColor, setBorder, setBorderColor, setBorderRounding, setBorderWeight, setBottomMargin, setContainerIndex, setDescription, setFocusBackground, setFocusBackgroundColor, setFocusColor, setFocusCorners, setFont, setFontColor, setFontColor, setHeight, setLeftMargin, setMappable, setMargin, setMargin, setMargin, setPosition, setPosition, setPosition, setPosition, setRightMargin, setSize, setTextAlignment, setTextAlignment, setTextOffset, setTopMargin, setVisible, setWidth, setX, setYaddLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onFocus, onUIResize, removeLoopTask, toggleVisibleonKeyReleased, onKeyTyped, onMouseClicked, onMouseMoved, onMouseOut, onMouseOver, onMouseWheelpublic UITextBox()
public UITextBox(float x,
float y,
float w,
float h)
public LXParameter getParameter()
getParameter in class UIParameterComponentpublic UITextBox setParameter(StringParameter parameter)
public String getDescription()
UIObjectgetDescription in class UIObjectpublic String getValue()
protected String getValueString()
getValueString in class UIInputBoxprotected String getEditBufferValue()
getEditBufferValue in class UIInputBoxprotected void onValueChange(String value)
value - New value being setprotected void saveEditBuffer()
saveEditBuffer in class UIInputBoxpublic static boolean isValidTextCharacter(char keyChar)
protected boolean isValidCharacter(char keyChar)
isValidCharacter in class UIInputBoxpublic LXClipboardItem onCopy()
public void onPaste(LXClipboardItem item)
LX library by Mark C. Slee. © 2012-2020