Package heronarts.lx.studio
Class LXStudio
java.lang.Object
heronarts.lx.LX
heronarts.glx.GLX
heronarts.lx.studio.LXStudio
- Direct Known Subclasses:
Chromatik
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
An LXStudio plugin has a couple extra methods that go beyond the basic LXPlugin interface, which allow the plugin to bootstrap additional extensions at appropriate times in the LX initialization process.static class
Registry class for the LXStudio application contains extensions to the default LX registry for custom UI componentsfinal class
Nested classes/interfaces inherited from class heronarts.glx.GLX
GLX.FileDialogCallback, GLX.Programs
Nested classes/interfaces inherited from class heronarts.lx.LX
LX.Error, LX.InitProfiler, LX.InstantiationException, LX.Listener, LX.Media, LX.Permissions, LX.ProjectListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
final LXStudio.Flags
final LXStudio.UI
static final String
Fields inherited from class heronarts.glx.GLX
program, uiFrame, vg, zZeroToOne
Fields inherited from class heronarts.lx.LX
clipboard, command, engine, errorChanged, failure, HALF_PI, HALF_PIf, initProfiler, KEY_TIMESTAMP, KEY_VERSION, LOG_WARNINGS, model, permissions, PIf, preferences, registry, scheduler, statusMessage, structure, TWO_PI, TWO_PIf
-
Method Summary
Modifier and TypeMethodDescriptionprotected LXStudio.UI
buildUI()
Subclasses may override to create a custom structured UIprotected LXRegistry
Subclasses may override to provide an enhanced registry with support for more typesprotected void
onKeyPressed
(KeyEvent keyEvent, char keyChar, int keyCode) Custom project subclasses may override for global key eventsprotected void
onKeyReleased
(KeyEvent keyEvent, char keyChar, int keyCode) Custom project subclasses may override for global key eventsstatic String
version()
Methods inherited from class heronarts.glx.GLX
dispose, error, error, getFrameBufferHeight, getFrameBufferWidth, getRenderer, getSystemContentScaleX, getSystemContentScaleY, getUIContentScaleX, getUIContentScaleY, getUIHeight, getUIWidth, getUIZoom, importContentJar, isOpenGL, log, reloadContent, run, setSystemClipboardString, setWindowSize, showAddScheduleEntryDialog, showConfirmDialog, showConfirmUnsavedModelDialog, showConfirmUnsavedProjectDialog, showOpenFileDialog, showOpenProjectDialog, showOpenScheduleDialog, showSaveFileDialog, showSaveProjectDialog, showSaveScheduleDialog, useHandCursor
Methods inherited from class heronarts.lx.LX
_error, _error, _log, _log, _log, addEffect, addEffects, addListener, addOutput, addProjectListener, autoSaveProject, bootstrapMediaPath, bootstrapMediaPath, canInstantiate, confirmChangesSaved, confirmModelSaved, disableAutoCycle, enableAutoCycle, error, error, fail, getComponent, getError, getLogFile, getMediaFile, getMediaFile, getMediaFile, getMediaFolder, getMediaFolder, getMediaPath, getMediaPath, getModel, getPatterns, getPermissions, getPresetFile, getPresetFolder, getProject, getProjectComponent, goIndex, goNext, goPattern, goPrev, headless, hsa, hsb, instantiateBlend, instantiateBlend, instantiateComponent, instantiateComponent, instantiateEffect, instantiateEffect, instantiateFixture, instantiateFixture, instantiateModel, instantiateModulator, instantiateModulator, instantiatePattern, instantiatePattern, instantiateStatic, isLoading, isPaused, logInitProfiler, main, newProject, openProject, popError, pushError, pushError, pushError, pushError, pushStatusMessage, registerExternal, removeEffect, removeListener, removeProjectListener, rgb, saveProject, saveProject, setLogFile, setModelImportFlag, setPatterns, setPaused, setProject, setScheduleLoadingFlag, setSpeed, togglePaused, warning
-
Field Details
-
VERSION
- See Also:
-
APP_NAME
- See Also:
-
COPYRIGHT
- See Also:
-
flags
-
ui
-
-
Method Details
-
version
-
instantiateRegistry
Description copied from class:LX
Subclasses may override to provide an enhanced registry with support for more types- Overrides:
instantiateRegistry
in classLX
- Parameters:
lx
- LX instance- Returns:
- LXRegistry to use for dynamic class stuff
-
buildUI
Description copied from class:GLX
Subclasses may override to create a custom structured UI- Overrides:
buildUI
in classGLX
- Returns:
- The instantiated UI object
- Throws:
IOException
- if required UI assets could not be loaded
-
onKeyPressed
Custom project subclasses may override for global key events- Parameters:
keyEvent
- Key press eventkeyChar
- Key characterkeyCode
- Key Code
-
onKeyReleased
Custom project subclasses may override for global key events- Parameters:
keyEvent
- Key release eventkeyChar
- Key characterkeyCode
- Key Code
-