public class UISlider extends UICompoundParameterControl implements UIFocus
| Modifier and Type | Class and Description |
|---|---|
static class |
UISlider.Direction |
UIInputBox.FillStyle, UIInputBox.ProgressIndicatorUIContextActions.Actionenabled, keyEditable, LABEL_HEIGHT, LABEL_MARGIN, parameter, polarity, TEXT_MARGINeditable, editBuffer, editing, fillStyle, hasFill, progressFillStyle, returnKeyEditDEFAULT_HEIGHT, useCommandEnginebottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, ychildren, hasFocus, mousePressContextMenu, visible| Constructor and Description |
|---|
UISlider() |
UISlider(float x,
float y,
float w,
float h) |
UISlider(float w,
float h,
LXListenableNormalizedParameter parameter) |
UISlider(float w,
LXListenableNormalizedParameter parameter) |
UISlider(UISlider.Direction direction,
float x,
float y,
float w,
float h) |
UISlider(UISlider.Direction direction,
float x,
float y,
float w,
float h,
LXListenableNormalizedParameter parameter) |
UISlider(UISlider.Direction direction,
float w,
float h,
LXListenableNormalizedParameter parameter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onDraw(UI ui,
PGraphics pg)
Subclasses should override this method to perform their drawing functions.
|
protected void |
onMouseDragged(MouseEvent mouseEvent,
float mx,
float my,
float dx,
float dy)
Subclasses override to receive mouse events
|
protected void |
onMousePressed(MouseEvent mouseEvent,
float mx,
float my)
Subclasses override to receive mouse events
|
protected void |
onMouseReleased(MouseEvent mouseEvent,
float mx,
float my)
Subclasses override to receive mouse events
|
protected void |
onResize()
Subclasses may override this method, invoked when the component is resized
|
UISlider |
resetFillColor() |
UISlider |
setFillColor(int color) |
getCompoundNormalized, registerModulation, setParameterdecrementValue, getControlTarget, getDescription, getDescription, getFocusColor, getModulatedValueColor, getModulationSource, getModulationTarget, getNormalized, getParameter, getValueString, incrementValue, isEnabled, isValidCharacter, onBlur, onCopy, onKeyPressed, onKeyReleased, onParameterChanged, onPaste, saveEditBuffer, setEditable, setEnabled, setLabel, setNormalized, setPolarity, setShowLabeledit, enableImmediateEdit, enableMousePressEdit, enableReturnKeyEdit, getEditBufferValue, getFillWidthNormalized, incrementMouseValue, isEditable, setProgressColor, setProgressColor, setProgressFillStyle, setProgressIndicator, setValueCommandgetContextActions, getOscAddress, setNormalizedCommand, setUseCommandEngineaddToContainer, addToContainer, breakTextToWidth, clipTextToWidth, contains, drawBackground, drawBorder, drawFocus, drawFocusCorners, drawFocusCorners, getBackgroundColor, getBorderColor, getBorderRounding, getBorderWeight, getContainer, getFocusSize, getFont, getFontColor, getHeight, getNextSibling, getParent, getPrevSibling, getWidth, getX, getY, hasBackground, hasBorder, hasFont, hasFontColor, isMappable, 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, toggleVisibleonKeyTyped, onMouseClicked, onMouseMoved, onMouseOut, onMouseOver, onMouseWheelpublic UISlider(float w,
LXListenableNormalizedParameter parameter)
public UISlider(float w,
float h,
LXListenableNormalizedParameter parameter)
public UISlider(UISlider.Direction direction, float w, float h, LXListenableNormalizedParameter parameter)
public UISlider(UISlider.Direction direction, float x, float y, float w, float h, LXListenableNormalizedParameter parameter)
public UISlider()
public UISlider(float x,
float y,
float w,
float h)
public UISlider(UISlider.Direction direction, float x, float y, float w, float h)
protected void onResize()
UI2dComponentonResize in class UI2dComponentpublic UISlider resetFillColor()
public UISlider setFillColor(int color)
protected void onDraw(UI ui, PGraphics pg)
UIObjectonDraw in class UIParameterControlui - UI contextpg - Graphics contextprotected void onMousePressed(MouseEvent mouseEvent, float mx, float my)
UIEventHandleronMousePressed in class UIParameterControlmouseEvent - Mouse eventmx - x-coordinatemy - y-coordinateprotected void onMouseReleased(MouseEvent mouseEvent, float mx, float my)
UIEventHandleronMouseReleased in class UIParameterControlmouseEvent - Mouse eventmx - x-coordinatemy - y-coordinateprotected void onMouseDragged(MouseEvent mouseEvent, float mx, float my, float dx, float dy)
UIEventHandleronMouseDragged in class UIInputBoxmouseEvent - Mouse eventmx - x-coordinatemy - y-coordinatedx - movement in xdy - movement in yLX library by Mark C. Slee. © 2012-2020