Class LXCommand.ComponentReference<T extends LXComponent>

java.lang.Object
heronarts.lx.command.LXCommand.ComponentReference<T>
Type Parameters:
T - Type of component being referenced
Enclosing class:
LXCommand

public static class LXCommand.ComponentReference<T extends LXComponent> extends Object
This reference class is used because the LXCommand engine might have actions in it that refer to components which have been deleted by subsequent operations. If those operations are since un-done, a new object will have been re-created with the same ID. When it comes time to undo *this* action, we need to refer to the appropriate object.
  • Constructor Details

    • ComponentReference

      public ComponentReference(T component)
  • Method Details

    • get

      public T get()