Package heronarts.lx.studio.ui.clip
Class UIPatternClipEnvelope
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI2dComponent
heronarts.glx.ui.UI2dContainer
heronarts.lx.studio.ui.timeline.lane.UILane
heronarts.lx.studio.ui.timeline.lane.UIGridLane
heronarts.lx.studio.ui.timeline.lane.UIClipLane
heronarts.lx.studio.ui.clip.UIClipEnvelope<PatternClipLane>
heronarts.lx.studio.ui.clip.UIPatternClipEnvelope
- All Implemented Interfaces:
UI2dComponent.Scissored,UIContainer,UIFocus,UIKeyFocus,UIMouseFocus,UITabFocus,LXLoopTask,LXParameterListener,Iterable<UIObject>
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.studio.ui.clip.UIClipEnvelope
UIClipEnvelope.UIClipLaneMetadataNested classes/interfaces inherited from class heronarts.glx.ui.UI2dContainer
UI2dContainer.ArrowKeyFocus, UI2dContainer.Layout, UI2dContainer.PositionNested classes/interfaces inherited from class heronarts.glx.ui.UI2dComponent
UI2dComponent.Scissor, UI2dComponent.Scissored, UI2dComponent.UIDragReorder -
Field Summary
Fields inherited from class heronarts.lx.studio.ui.clip.UIClipEnvelope
HEIGHT_COLLAPSED, HEIGHT_EXPANDED, laneFields inherited from class heronarts.lx.studio.ui.timeline.lane.UIClipLane
hasSelection, selectionEnd, selectionStartFields inherited from class heronarts.lx.studio.ui.timeline.lane.UIGridLane
clip, grid, hasGridLabels, hasGridLinesFields inherited from class heronarts.lx.studio.ui.timeline.lane.UILane
lens, sideBarComponent, timelineFields inherited from class heronarts.glx.ui.UI2dContainer
bottomPadding, childSpacingX, childSpacingY, leftPadding, rightPadding, topPaddingFields inherited from class heronarts.glx.ui.UI2dComponent
borderRoundingBottomLeft, borderRoundingBottomRight, borderRoundingTopLeft, borderRoundingTopRight, debug, debugName, hasBorderRounding, height, marginBottom, marginLeft, marginRight, marginTop, redraw, scissor, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, width, x, y -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUIPatternClipEnvelope(UI ui, UIClipEditor clipEditor, PatternClipLane lane) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()protected PatternClipEventgetMousePatternEvent(MouseEvent mouseEvent, float mx, float my) voidonBlur()Focus lostprotected voidSubclasses should override this method to perform their drawing functions.protected voidonKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode) Subclasses override to receive key eventsprotected voidonMouseDragged(MouseEvent mouseEvent, float mx, float my, float dx, float dy) Subclasses override to receive mouse eventsprotected voidonMouseMoved(MouseEvent mouseEvent, float mx, float my) Subclasses override to receive mouse eventsprotected voidonMousePressed(MouseEvent mouseEvent, float mx, float my) Subclasses override to receive mouse eventsMethods inherited from class heronarts.lx.studio.ui.clip.UIClipEnvelope
constructMetadata, create, deleteLane, deleteSelection, onFocus, onParameterChangedMethods inherited from class heronarts.lx.studio.ui.timeline.lane.UIClipLane
clearMouseSelection, clearSelection, drawSelection, moveSelection, moveSelection, onMouseReleased, setMouseSelectionEnabled, setSelection, setSelectionEnabled, setSelectionEnd, setSelectionStartMethods inherited from class heronarts.lx.studio.ui.timeline.lane.UIGridLane
CursorOp, drawBackground, drawGridLabel, getGridLineColor, registerClip, setAlternateGridColors, setClip, shouldSnap, unregisterClipMethods inherited from class heronarts.lx.studio.ui.timeline.lane.UILane
getSideBarComponent, onMouseScroll, onResize, setSideBarComponentMethods inherited from class heronarts.glx.ui.UI2dContainer
addChildren, addTopLevelComponent, getBottomPadding, getChild, getChildren, getChildSpacingX, getChildSpacingY, getContentHeight, getContentTarget, getContentWidth, getLeftPadding, getRightPadding, getScrollHeight, getScrollWidth, getTopPadding, hasDragToReorder, isEmpty, iterator, newHorizontalContainer, newHorizontalContainer, newHorizontalContainer, newVerticalContainer, newVerticalContainer, newVerticalContainer, onReflow, reflow, removeAllChildren, removeAllChildren, setArrowKeyFocus, setChildMargin, setChildSpacing, setChildSpacing, setChildSpacingX, setChildSpacingY, setContentHeight, setContentSize, setContentTarget, setContentWidth, setDragToReorder, setLayout, setLayout, setMinHeight, setMinWidth, setPadding, setPadding, setPaddingMethods inherited from class heronarts.glx.ui.UI2dComponent
addAfterSibling, addBeforeSibling, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, addToContainer, assertValidContainer, clipTextToWidth, clipTextToWidth, contains, dbch, drawBorder, drawComponentBackground, drawFocus, drawFocusCorners, drawFocusCorners, drawParentBackground, getAbsoluteX, getAbsoluteY, getBackgroundColor, getBorderColor, getBorderWeight, getBottomMargin, getContainer, getDebugClassHierarchy, getDebugClassHierarchy, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getLeftMargin, getMappableParameter, getNextSibling, getNextSibling, getParent, getPrevSibling, getPrevSibling, getRightMargin, getTopMargin, getWidth, getX, getY, hasBackground, hasBorder, hasFont, hasFontColor, isMappable, redraw, removeFromContainer, removeFromContainer, setBackground, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBorderColor, setBorderRounding, setBorderRounding, setBorderWeight, setBottomMargin, setContainerIndex, setContainerPosition, setDebug, setDebug, setDescription, setFocusBackground, setFocusBackgroundColor, setFocusBackgroundColor, setFocusColor, setFocusColor, setFocusCorners, setFont, setFontColor, setFontColor, setFontColor, setHeight, setLeftMargin, setMappable, setMargin, setMargin, setMargin, setPosition, setPosition, setPosition, setPosition, setRightMargin, setSize, setTextAlignment, setTextAlignment, setTextOffset, setTopMargin, setVisible, setWidth, setX, setY, vgRoundedRect, vgRoundedRect, vgRoundedRectMethods inherited from class heronarts.glx.ui.UIObject
addListener, addListener, addLoopTask, addLoopTask, blur, bringToFront, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, isVisible, loop, onUIResize, removeLoopTask, requireUIThread, setConsumeMousePress, setDebugId, setMouseCursor, toggleVisible, toStringMethods inherited from class heronarts.glx.ui.UIEventHandler
onGamepadAxisChanged, onGamepadButtonPressed, onGamepadButtonReleased, onKeyReleased, onMouseOut, onMouseOverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
UIPatternClipEnvelope
-
-
Method Details
-
onDraw
Description copied from class:UI2dComponentSubclasses should override this method to perform their drawing functions.- Overrides:
onDrawin classUI2dContainer- Parameters:
ui- UI contextvg- Graphics context
-
getMousePatternEvent
-
onMouseMoved
Description copied from class:UIEventHandlerSubclasses override to receive mouse events- Overrides:
onMouseMovedin classUIEventHandler- Parameters:
mouseEvent- Mouse eventmx- x-coordinatemy- y-coordinate
-
onMousePressed
Description copied from class:UIEventHandlerSubclasses override to receive mouse events- Overrides:
onMousePressedin classUIClipLane- Parameters:
mouseEvent- Mouse eventmx- x-coordinatemy- y-coordinate
-
onMouseDragged
Description copied from class:UIEventHandlerSubclasses override to receive mouse events- Overrides:
onMouseDraggedin classUIClipLane- Parameters:
mouseEvent- Mouse eventmx- x-coordinatemy- y-coordinatedx- movement in xdy- movement in y
-
onKeyPressed
Description copied from class:UIEventHandlerSubclasses override to receive key events- Overrides:
onKeyPressedin classUIClipEnvelope<PatternClipLane>- Parameters:
keyEvent- Key eventkeyChar- Key characterkeyCode- Key code value
-
onBlur
public void onBlur()Description copied from class:UIClipLaneFocus lost- Overrides:
onBlurin classUIClipEnvelope<PatternClipLane>
-
dispose
public void dispose()- Overrides:
disposein classUIClipEnvelope<PatternClipLane>
-