Interface Automation

  • All Superinterfaces:
    Sequence
    All Known Implementing Classes:
    BeadsAutomation


    public interface Automation
    extends Sequence
    An automation in a DAW. Extends Sequence which is an abstraction of an automation.
    • Field Detail

      • NONE_AUTOMATION

        static final Automation NONE_AUTOMATION
        NONE_AUTOMATION's colour is white
    • Method Detail

      • add

        AutomationValue add(float position,
                            float value)
        Adds a new AutomationValue object to this automation.
        Parameters:
        position - the position of the new object
        value - the value of the new object
        Returns:
        the new automation just created
      • remove

        boolean remove(Sequence.Value value)
        Removes an AutomationValue object from this automation.
        Parameters:
        values -
        Returns:
        true if this automation changed as a result of the call
      • getColor

        java.awt.Color getColor()
        Returns the colour to draw this automation graphically
      • reset

        void reset()
        Removes all the automation values.