Package heronarts.lx.studio.ui.preview
Class UI3dFixtureLabels
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI3dComponent
heronarts.lx.studio.ui.preview.UI3dFixtureLabels
- All Implemented Interfaces:
LXLoopTask,LXStructure.Listener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidfixtureAdded(LXFixture fixture) Invoked when a fixture has been added to the structurevoidfixtureMoved(LXFixture fixture, int index) Invoked when a fixture has been moved in the structure's fixture listvoidfixtureRemoved(LXFixture fixture) Invoked when a fixture has been removed from the structurevoidSubclasses should override this method with specific drawing routingsMethods inherited from class heronarts.glx.ui.UI3dComponent
addChild, contains, draw, getContext, getHeight, getWidth, onCameraChanged, removeChildMethods inherited from class heronarts.glx.ui.UIObject
addListener, addListener, addLoopTask, addLoopTask, blur, bringToFront, focus, getDescription, getFocusedChild, getLX, getParent, getUI, getX, getY, hasDirectFocus, hasFocus, isVisible, isVisible, loop, onBlur, onFocus, onUIResize, removeLoopTask, setConsumeMousePress, setDebugId, setDescription, setMouseCursor, setVisible, toggleVisible, toStringMethods inherited from class heronarts.glx.ui.UIEventHandler
onGamepadAxisChanged, onGamepadButtonPressed, onGamepadButtonReleased, onKeyPressed, onKeyReleased, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMousePressed, onMouseReleased, onMouseScroll
-
Field Details
-
TEXT_SIZE
public static final float TEXT_SIZE- See Also:
-
-
Constructor Details
-
UI3dFixtureLabels
-
-
Method Details
-
fixtureAdded
Description copied from interface:LXStructure.ListenerInvoked when a fixture has been added to the structure- Specified by:
fixtureAddedin interfaceLXStructure.Listener- Parameters:
fixture- Fixture added
-
fixtureRemoved
Description copied from interface:LXStructure.ListenerInvoked when a fixture has been removed from the structure- Specified by:
fixtureRemovedin interfaceLXStructure.Listener- Parameters:
fixture- Fixture removed
-
fixtureMoved
Description copied from interface:LXStructure.ListenerInvoked when a fixture has been moved in the structure's fixture list- Specified by:
fixtureMovedin interfaceLXStructure.Listener- Parameters:
fixture- Fixture movedindex- New index of the fixture
-
onDraw
Description copied from class:UI3dComponentSubclasses should override this method with specific drawing routings- Overrides:
onDrawin classUI3dComponent- Parameters:
ui- UIview- View to draw into
-
dispose
public void dispose()
-