Package heronarts.lx

Class LXRegistry.Plugin

java.lang.Object
heronarts.lx.LXRegistry.Plugin
All Implemented Interfaces:
LXSerializable
Enclosing class:
LXRegistry

public class LXRegistry.Plugin extends Object implements LXSerializable
  • Field Details

  • Method Details

    • getInstance

      public LXPlugin getInstance()
    • hasInstance

      public boolean hasInstance()
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public LXRegistry.Plugin setEnabled(boolean enabled)
    • setException

      public LXRegistry.Plugin setException(Exception x)
    • getException

      public Exception getException()
    • hasError

      public boolean hasError()
    • save

      public void save(LX lx, JsonObject object)
      Description copied from interface: LXSerializable
      Serializes this instance into the JSON object
      Specified by:
      save in interface LXSerializable
      Parameters:
      lx - LX instance
      object - Object to serialize into
    • load

      public void load(LX lx, JsonObject object)
      Description copied from interface: LXSerializable
      Restores this instance from a JSON object
      Specified by:
      load in interface LXSerializable
      Parameters:
      lx - LX instance
      object - Object to deserialize
    • dispose

      public void dispose()