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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()booleanhasError()booleanbooleanvoidload(LX lx, JsonObject object) Restores this instance from a JSON objectvoidsave(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: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()
-