| Modifier and Type | Class and Description |
|---|---|
static class |
P3LX.Flags |
class |
P3LX.Profiler |
LX.Error, LX.InitProfiler, LX.InstantiationException, LX.Listener, LX.Media, LX.Permissions, LX.ProjectListener| Modifier and Type | Field and Description |
|---|---|
PApplet |
applet
A reference to the applet context.
|
P3LX.Flags |
flags |
P3LX.Profiler |
profiler |
UI |
ui
The UI container.
|
static String |
VERSION |
clipboard, command, engine, errorChanged, failure, HALF_PI, HALF_PIf, initProfiler, LOG_WARNINGS, model, permissions, PIf, preferences, registry, scheduler, structure, TWO_PI, TWO_PIf| Constructor and Description |
|---|
P3LX(PApplet applet) |
P3LX(PApplet applet,
LXModel model) |
P3LX(PApplet applet,
P3LX.Flags flags) |
P3LX(PApplet applet,
P3LX.Flags flags,
LXModel model) |
| Modifier and Type | Method and Description |
|---|---|
protected UI |
buildUI()
Subclass may override.
|
void |
dispose()
Redundant, but making it obvious that Processing depends on this
method being named dispose().
|
void |
draw()
Core function invoked by the processing engine on each iteration of the run
cycle.
|
LX |
enableKeyboardTempo()
Enables the tempo to be controlled by the keyboard arrow keys.
|
static void |
error(Exception x,
String message) |
static void |
error(String message) |
PGraphics |
getGraphics() |
LXEngine.Frame |
getUIFrame()
Returns the last rendered frame
|
<T extends LXComponent> |
instantiateComponent(Class<? extends T> cls,
Class<T> type) |
static void |
log(String message) |
void |
setSystemClipboardString(String str) |
protected void |
showConfirmUnsavedProjectDialog(String message,
Runnable confirm) |
static String |
version()
Returns the version of the library.
|
_error, _error, _log, _log, _log, addEffect, addEffects, addListener, addOutput, addProjectListener, bootstrapMediaPath, bootstrapMediaPath, confirmChangesSaved, disableAutoCycle, enableAutoCycle, error, error, error, fail, getComponent, getError, getMediaFile, getMediaFile, getMediaFile, getMediaFolder, getMediaFolder, getMediaPath, getMediaPath, getModel, getPatterns, getPermissions, getProject, getProjectComponent, goIndex, goNext, goPattern, goPrev, headless, hsa, hsb, instantiateBlend, instantiateBlend, instantiateComponent, instantiateEffect, instantiateEffect, instantiateFixture, instantiateFixture, instantiateModel, instantiateModulator, instantiateModulator, instantiatePattern, instantiatePattern, instantiateRegistry, isPaused, logInitProfiler, main, newProject, openProject, popError, pushError, pushError, pushError, registerExternal, removeEffect, removeListener, removeProjectListener, rgb, saveProject, saveProject, setLogFile, setModelImportFlag, setPatterns, setPaused, setProject, setScheduleLoadingFlag, setSpeed, togglePaused, warningpublic static final String VERSION
public final PApplet applet
public final UI ui
public final P3LX.Flags flags
public final P3LX.Profiler profiler
public P3LX(PApplet applet)
public P3LX(PApplet applet, P3LX.Flags flags)
public P3LX(PApplet applet, P3LX.Flags flags, LXModel model)
public static String version()
protected void showConfirmUnsavedProjectDialog(String message, Runnable confirm)
showConfirmUnsavedProjectDialog in class LXprotected UI buildUI()
public void dispose()
public LX enableKeyboardTempo()
public final PGraphics getGraphics()
public final LXEngine.Frame getUIFrame()
public void draw()
public <T extends LXComponent> T instantiateComponent(Class<? extends T> cls, Class<T> type)
instantiateComponent in class LXpublic void setSystemClipboardString(String str)
setSystemClipboardString in class LXpublic static void log(String message)
public static void error(String message)
LX library by Mark C. Slee. © 2012-2020