Package heronarts.lx
Class LXRegistry.Plugin
java.lang.Object
heronarts.lx.LXRegistry.Plugin
- All Implemented Interfaces:
LXSerializable
- Enclosing class:
- LXRegistry
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
boolean
hasError()
boolean
boolean
void
load
(LX lx, JsonObject object) Restores this instance from a JSON objectvoid
save
(LX lx, JsonObject object) Serializes this instance into the JSON objectsetEnabled
(boolean enabled)
-
Field Details
-
clazz
-
instance
-
-
Method Details
-
getInstance
-
hasInstance
public boolean hasInstance() -
isEnabled
public boolean isEnabled() -
setEnabled
-
setException
-
getException
-
hasError
public boolean hasError() -
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()
-