Class FocusedPatternControls

All Implemented Interfaces:
LXComponent.Renamable, LXLoopTask, LXPath, LXSerializable, FocusedDevice.Listener, LXParameter, LXParameterListener, UIControls, UIModulatorControls<FocusedPatternControls>

@Global("Focused Pattern") @LXCategory("Macro") public class FocusedPatternControls extends LXModulator implements FocusedDevice.Listener, UIModulatorControls<FocusedPatternControls>
  • Constructor Details

    • FocusedPatternControls

      public FocusedPatternControls(LX lx)
  • Method Details

    • computeValue

      protected double computeValue(double deltaMs)
      Description copied from class: LXModulator
      Implementation method to advance the modulator's internal state. Subclasses must provide and update value appropriately.
      Specified by:
      computeValue in class LXModulator
      Parameters:
      deltaMs - Number of milliseconds to advance by
      Returns:
      Computed value
    • onDeviceFocused

      public void onDeviceFocused(LXDeviceComponent device)
      Specified by:
      onDeviceFocused in interface FocusedDevice.Listener
    • buildModulatorControls

      public void buildModulatorControls(LXStudio.UI ui, UIModulator uiModulator, FocusedPatternControls modulator)
      Specified by:
      buildModulatorControls in interface UIModulatorControls<FocusedPatternControls>
    • dispose

      public void dispose()
      Description copied from class: LXComponent
      Invoked when a component is being removed from the system and will no longer be used at all. This unregisters the component and should free up any resources and parameter listeners. Ideally after this method is called the object should be eligible for garbage collection. Subclasses are generally expected to override this method to handle their particular cleanup work. They should also generally call super.dispose() at the appropriate time to perform the basic cleanup, which may need to happen either before or after cleaning up other objects.
      Specified by:
      dispose in interface LXParameter
      Overrides:
      dispose in class LXComponent