public class UIPreviewWindow extends UI3dContext
| Modifier and Type | Class and Description |
|---|---|
class |
UIPreviewWindow.Grid |
UI3dContext.Camera, UI3dContext.InteractionMode, UI3dContext.MouseMode, UI3dContext.MovementListener, UI3dContext.ProjectionModeLXSerializable.Utils| Modifier and Type | Field and Description |
|---|---|
UIPointCloud |
pointCloud |
animation, animationProgress, animationTime, cameraAcceleration, cameraVelocity, cue, depth, focusCamera, mouseMode, NUM_CAMERA_POSITIONS, perspective, phiLock, projection, rotationAcceleration, rotationVelocity, showCenterPointchildren, hasFocus, mousePressContextMenu, visible| Constructor and Description |
|---|
UIPreviewWindow(LXStudio.UI ui,
P3LX lx,
int x,
int y,
int w,
int h) |
| Modifier and Type | Method and Description |
|---|---|
void |
load(LX lx,
JsonObject object)
Restores this instance from a JSON object
|
protected void |
onMousePressed(MouseEvent mouseEvent,
float mx,
float my)
Subclasses override to receive mouse events
|
protected void |
onResize()
Subclasses may override to handle situation in which the size of the graphics
context has changed.
|
void |
save(LX lx,
JsonObject object)
Serializes this instance into the JSON object
|
addComponent, addMovementListener, clearCamera, draw, getCenter, getEye, getGraphics, getHeight, getWidth, newTopLevelContext, onKeyPressed, onMouseDragged, onMouseWheel, removeComponent, removeMovementListener, setBackground, setBackgroundColor, setCamera, setCameraAcceleration, setCameraVelocity, setCenter, setEye, setInteractionMode, setMaxRadius, setMinRadius, setPerspective, setPhi, setRadius, setRadiusBounds, setRotationAcceleration, setRotationVelocity, setSize, setThetaaddLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, contains, endDraw, focus, getDescription, getFocusedChild, getLX, getParent, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onDraw, onFocus, onUIResize, removeLoopTask, setDescription, setVisible, toggleVisibleonKeyReleased, onKeyTyped, onMouseClicked, onMouseMoved, onMouseOut, onMouseOver, onMouseReleasedpublic final UIPointCloud pointCloud
public UIPreviewWindow(LXStudio.UI ui, P3LX lx, int x, int y, int w, int h)
protected void onResize()
UI3dContextonResize in class UI3dContextprotected void onMousePressed(MouseEvent mouseEvent, float mx, float my)
UIEventHandleronMousePressed in class UI3dContextmouseEvent - Mouse eventmx - x-coordinatemy - y-coordinatepublic void save(LX lx, JsonObject object)
LXSerializablesave in interface LXSerializablesave in class UI3dContextlx - LX instanceobject - Object to serialize intopublic void load(LX lx, JsonObject object)
LXSerializableload in interface LXSerializableload in class UI3dContextlx - LX instanceobject - Object to deserializeLX library by Mark C. Slee. © 2012-2020