Package heronarts.lx.studio
Class LXStudio.UI
java.lang.Object
heronarts.glx.ui.UI
heronarts.lx.studio.LXStudio.UI
- All Implemented Interfaces:
LXSerializable
- Enclosing class:
LXStudio
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class heronarts.glx.ui.UI
UI.CoordinateSystem, UI.Profiler
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal UIContentPicker
final UIModulatorPicker
final UILeftPane
final UIPerformanceContainer
final LXStudio
final UIPreviewWindow
final UIPreviewWindow
final UIPerformanceContainer
Fields inherited from class heronarts.glx.ui.UI
contextualHelpText, coordinateSystem, highlightModulationTargetChanged, profiler, statusMessageText, theme, thread, vg
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
boolean
hasParameterControl
(LXParameter parameter) instantiateFixtureControls
(LXFixture fixture) instantiateMidiTemplateControls
(LXMidiTemplate midiTemplate) instantiateModulatorControls
(LXModulator modulator) instantiateParameterControl
(AggregateParameter parameter, LXParameter child) instantiateParameterControl
(LXParameter parameter) void
load
(LX lx, JsonObject object) Restores this instance from a JSON objectprotected void
onResize()
registerKeyboardShortcut
(int keyCode, int modifiers, KeyEvent.Shortcut.Action action) Registers a keyboard shortcut with the given modifier keys setregisterKeyboardShortcut
(int keyCode, KeyEvent.Shortcut.Action action) Registers a keyboard shortcut for the given key when KeyEvent.COMMAND is setvoid
save
(LX lx, JsonObject object) Serializes this instance into the JSON objectvoid
void
Methods inherited from class heronarts.glx.ui.UI
addLayer, addLayer, addLoopTask, beginDraw, bringToTop, clearContextOverlay, draw, endDraw, focusNext, focusPrev, gamepadEvent, get, getContentScaleX, getContentScaleY, getHeight, getHighlightModulationTarget, getMouseCursor, getWidth, hideContextOverlay, hideDropMenu, keyEvent, mapModulationOff, mapModulationSource, mapModulationSource, mapModulationSource, mapTriggerSource, mapTriggerSource, mapTriggerSource, mouseEvent, redraw, removeLayer, removeLayer, removeLoopTask, resize, resizeContextOverlay, setCoordinateSystem, setHighlightModulationTarget, setHighlightParameterModulation, setMouseoverHelpText, setTopLevelKeyEventHandler, showContextDialogMessage, showContextOverlay, showDropMenu, showError
-
Field Details
-
lx
-
leftPane
-
leftPerformance
-
rightPerformance
-
preview
-
previewAux
-
contentPicker
-
deviceModulatorPicker
-
-
Method Details
-
registerKeyboardShortcut
Registers a keyboard shortcut for the given key when KeyEvent.COMMAND is set- Parameters:
keyCode
- Key Code for matching key eventaction
- Action to perform- Returns:
- UI
-
registerKeyboardShortcut
public LXStudio.UI registerKeyboardShortcut(int keyCode, int modifiers, KeyEvent.Shortcut.Action action) Registers a keyboard shortcut with the given modifier keys set- Parameters:
keyCode
- Key Code for matching key eventmodifiers
- Modifier keys, ALT | SHIFT | COMMANDaction
- Action to perform- Returns:
- UI
-
showAuthorizeDialog
public void showAuthorizeDialog() -
showPreferences
public void showPreferences() -
onResize
protected void onResize() -
instantiateDeviceControls
-
instantiateModulatorControls
-
instantiateFixtureControls
-
instantiateMidiTemplateControls
-
hasParameterControl
-
instantiateParameterControl
-
instantiateParameterControl
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to serialize into
-
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to deserialize
-
dispose
public void dispose()
-