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.ProfilerNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal UIContentPickerfinal UIModulatorPickerfinal UILeftPanefinal UIPerformanceContainerfinal LXStudiofinal UIPreviewWindowfinal UIPreviewWindowfinal UIPerformanceContainerFields inherited from class heronarts.glx.ui.UI
contextualHelpText, coordinateSystem, highlightModulationTargetChanged, profiler, statusMessageText, theme, thread, vg -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()booleanhasParameterControl(LXParameter parameter) instantiateFixtureControls(LXFixture fixture) instantiateMidiTemplateControls(LXMidiTemplate midiTemplate) instantiateModulatorControls(LXModulator modulator) instantiateParameterControl(AggregateParameter parameter, LXParameter child) instantiateParameterControl(LXParameter parameter) voidload(LX lx, JsonObject object) Restores this instance from a JSON objectprotected voidonResize()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 setvoidsave(LX lx, JsonObject object) Serializes this instance into the JSON objectvoidvoidMethods 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: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
-
dispose
public void dispose()
-