Enum Class CursorDeviceFollowMode

java.lang.Object
java.lang.Enum<CursorDeviceFollowMode>
com.bitwig.extension.controller.api.CursorDeviceFollowMode
All Implemented Interfaces:
Serializable, Comparable<CursorDeviceFollowMode>, Constable

public enum CursorDeviceFollowMode extends Enum<CursorDeviceFollowMode>
Mode that defines how a CursorDevice follows a device within the CursorTrack it is created for by default. The user can still override this on a track by track basis but this defines a default follow mode when the user has not done this.
  • Enum Constant Details

    • FOLLOW_SELECTION

      public static final CursorDeviceFollowMode FOLLOW_SELECTION
      Follows the device selection made by the user in the track.
    • FIRST_DEVICE

      public static final CursorDeviceFollowMode FIRST_DEVICE
      Selects the first device in the track if there is one.
    • FIRST_INSTRUMENT

      public static final CursorDeviceFollowMode FIRST_INSTRUMENT
      Selects the first instrument in the track if there is one.
    • FIRST_AUDIO_EFFECT

      public static final CursorDeviceFollowMode FIRST_AUDIO_EFFECT
      Selects the first audio effect in the track if there is one.
    • FIRST_INSTRUMENT_OR_DEVICE

      public static final CursorDeviceFollowMode FIRST_INSTRUMENT_OR_DEVICE
      Selects the first instrument or if there is no instrument the first device.
      Since:
      API version 3
    • LAST_DEVICE

      public static final CursorDeviceFollowMode LAST_DEVICE
      Selects the last device in the track if there is one.
      Since:
      API version 7
  • Method Details

    • values

      public static CursorDeviceFollowMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CursorDeviceFollowMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null