public class UIPreviewWindow.Grid extends UI3dComponent implements LXSerializable
LXSerializable.Utils| Modifier and Type | Field and Description |
|---|---|
DiscreteParameter |
planes |
DiscreteParameter |
size |
BoundedParameter |
spacing |
BoundedParameter |
x |
BoundedParameter |
y |
BoundedParameter |
z |
children, hasFocus, mousePressContextMenu, visible| Modifier and Type | Method and Description |
|---|---|
void |
load(LX lx,
JsonObject object)
Restores this instance from a JSON object
|
void |
onDraw(UI ui,
PGraphics pg)
Subclasses should override this method to perform their drawing functions.
|
void |
save(LX lx,
JsonObject object)
Serializes this instance into the JSON object
|
addChild, contains, getHeight, getWidth, removeChildaddLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getParent, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onFocus, onUIResize, removeLoopTask, setDescription, setVisible, toggleVisibleonKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMousePressed, onMouseReleased, onMouseWheelpublic final BoundedParameter x
public final BoundedParameter y
public final BoundedParameter z
public final BoundedParameter spacing
public final DiscreteParameter size
public final DiscreteParameter planes
public void onDraw(UI ui, PGraphics pg)
UIObjectpublic void save(LX lx, JsonObject object)
LXSerializablesave in interface LXSerializablelx - LX instanceobject - Object to serialize intopublic void load(LX lx, JsonObject object)
LXSerializableload in interface LXSerializablelx - LX instanceobject - Object to deserializeLX library by Mark C. Slee. © 2012-2020