public abstract class UINumberBox extends UIInputBox
UIInputBox.FillStyle, UIInputBox.ProgressIndicator
UIContextActions.Action
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasShiftMultiplier |
protected float |
shiftMultiplier |
editable, editBuffer, editing, enabled, fillColor, fillStyle, hasFill, progressFillStyle, returnKeyEdit
DEFAULT_HEIGHT, useCommandEngine
bottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, y
children, hasFocus, mousePressContextMenu, visible
Modifier | Constructor and Description |
---|---|
protected |
UINumberBox() |
protected |
UINumberBox(float x,
float y,
float w,
float h) |
Modifier and Type | Method and Description |
---|---|
UINumberBox |
setFill(boolean hasFill) |
UINumberBox |
setFillColor(int fillColor) |
UINumberBox |
setFillStyle(UIInputBox.FillStyle fillStyle) |
UINumberBox |
setShiftMultiplier(float shiftMultiplier)
Sets a multiplier by which the amount value changes are modulated
when the shift key is down.
|
decrementValue, edit, enableImmediateEdit, enableMousePressEdit, enableReturnKeyEdit, getEditBufferValue, getFillWidthNormalized, getValueString, incrementMouseValue, incrementValue, isEditable, isEnabled, isValidCharacter, onBlur, onDraw, onKeyPressed, onMouseDragged, onMousePressed, onMouseReleased, saveEditBuffer, setEditable, setEnabled, setProgressColor, setProgressColor, setProgressFillStyle, setProgressIndicator, setValueCommand
getContextActions, getOscAddress, getParameter, setNormalizedCommand, setUseCommandEngine
addToContainer, 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, setY
addLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onFocus, onUIResize, removeLoopTask, toggleVisible
onKeyReleased, onKeyTyped, onMouseClicked, onMouseMoved, onMouseOut, onMouseOver, onMouseWheel
protected boolean hasShiftMultiplier
protected float shiftMultiplier
protected UINumberBox()
protected UINumberBox(float x, float y, float w, float h)
public UINumberBox setFillStyle(UIInputBox.FillStyle fillStyle)
public UINumberBox setFill(boolean hasFill)
public UINumberBox setFillColor(int fillColor)
public UINumberBox setShiftMultiplier(float shiftMultiplier)
shiftMultiplier
- Amount to multiply byLX library by Mark C. Slee. © 2012-2020