Class LXClipEvent

java.lang.Object
heronarts.lx.clip.LXClipEvent
All Implemented Interfaces:
LXSerializable, Comparator<LXClipEvent>
Direct Known Subclasses:
MidiNoteClipEvent, ParameterClipEvent, PatternClipEvent

public abstract class LXClipEvent extends Object implements Comparator<LXClipEvent>, LXSerializable
  • Field Details

  • Method Details

    • getCursor

      public double getCursor()
    • getBasis

      public double getBasis()
    • compare

      public int compare(LXClipEvent arg0, LXClipEvent arg1)
      Specified by:
      compare in interface Comparator<LXClipEvent>
    • execute

      public abstract void execute()
    • load

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

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