public class UIWave extends UI2dComponent implements UIModulationSource, UITriggerTarget
bottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, ychildren, hasFocus, mousePressContextMenu, visible| Constructor and Description |
|---|
UIWave(UI ui,
VariableLFO lfo,
float x,
float y,
float w,
float h) |
| Modifier and Type | Method and Description |
|---|---|
LXNormalizedParameter |
getModulationSource() |
BooleanParameter |
getTriggerTarget() |
protected void |
onDraw(UI ui,
PGraphics pg)
Subclasses should override this method to perform their drawing functions.
|
void |
onMouseDragged(MouseEvent mouseEvent,
float mx,
float my,
float dx,
float dy)
Subclasses override to receive mouse events
|
void |
onMousePressed(MouseEvent mouseEvent,
float mx,
float my)
Subclasses override to receive mouse events
|
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, setYaddLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onFocus, onUIResize, removeLoopTask, toggleVisibleonKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseMoved, onMouseOut, onMouseOver, onMouseReleased, onMouseWheelpublic UIWave(UI ui, VariableLFO lfo, float x, float y, float w, float h)
protected void onDraw(UI ui, PGraphics pg)
UIObjectpublic void onMousePressed(MouseEvent mouseEvent, float mx, float my)
UIEventHandleronMousePressed in class UIEventHandlermouseEvent - Mouse eventmx - x-coordinatemy - y-coordinatepublic void onMouseDragged(MouseEvent mouseEvent, float mx, float my, float dx, float dy)
UIEventHandleronMouseDragged in class UIEventHandlermouseEvent - Mouse eventmx - x-coordinatemy - y-coordinatedx - movement in xdy - movement in ypublic LXNormalizedParameter getModulationSource()
getModulationSource in interface UIModulationSourcepublic BooleanParameter getTriggerTarget()
getTriggerTarget in interface UITriggerTargetLX library by Mark C. Slee. © 2012-2020