Package heronarts.lx.studio.ui.preview
Class UIGrid
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI3dComponent
heronarts.lx.studio.ui.preview.UIGrid
- All Implemented Interfaces:
LXLoopTask,LXSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BooleanParameterfinal BooleanParameterfinal EnumParameter<UIGrid.Plane> final DiscreteParameterfinal DiscreteParameterfinal BoundedParameterfinal BoundedParameterfinal BoundedParameterfinal BoundedParameter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidload(LX lx, JsonObject object) Restores this instance from a JSON objectvoidSubclasses should override this method with specific drawing routingsvoidsave(LX lx, JsonObject object) Serializes this instance into the JSON objectMethods 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, requireUIThread, 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
-
x
-
y
-
z
-
spacing
-
size
-
plane
-
planes
-
neg1
-
neg2
-
-
Constructor Details
-
UIGrid
-
-
Method Details
-
dispose
public void dispose() -
onDraw
Description copied from class:UI3dComponentSubclasses should override this method with specific drawing routings- Overrides:
onDrawin classUI3dComponent- Parameters:
ui- UIview- View to draw into
-
save
Description copied from interface:LXSerializableSerializes this instance into the JSON object- Specified by:
savein interfaceLXSerializable- Parameters:
lx- LX instanceobject- Object to serialize into
-
load
Description copied from interface:LXSerializableRestores this instance from a JSON object- Specified by:
loadin interfaceLXSerializable- Parameters:
lx- LX instanceobject- Object to deserialize
-