Interface StatefulKnob

  • All Superinterfaces:
    Knob
    All Known Implementing Classes:
    LinearKnob

    public interface StatefulKnob
    extends Knob
    A Knob which is sensitive to fundamental changes in the model e.g. loading of Optics.
    • Method Detail

      • writeCurrentStateToModel

        void writeCurrentStateToModel​(JMadModel model)
        Write the current state of the Knob to the model given. E.g. for a linear knob that would trigger a calculate knob strength values from total knob value and write to the model provided.
        Parameters:
        model - the JMadModel to write the Knobs state to.