Package xal.app.knobs

Class KnobMagician


  • public class KnobMagician
    extends Object
    Controller that magically creates knob coefficients for two specified machine states
    • Field Detail

      • WINDOW_REFERENCE

        protected final xal.extension.bricks.WindowReference WINDOW_REFERENCE
        reference to the dialog window
      • ELEMENT_STATE_TABLE_MODEL

        protected final xal.app.knobs.KnobElementStateTableModel ELEMENT_STATE_TABLE_MODEL
        table of knob element states
      • _knob

        protected Knob _knob
        currently active knob
      • ELEMENT_STATE_RECORDS

        protected final List<xal.app.knobs.KnobElementStateRecord> ELEMENT_STATE_RECORDS
        list of initial and final states for the the knob elements
    • Constructor Detail

      • KnobMagician

        public KnobMagician​(JFrame owner)
        Constructor
    • Method Detail

      • setupView

        protected void setupView​(xal.extension.bricks.WindowReference windowReference)
        initialize the view
      • getDialog

        protected JDialog getDialog()
        get the dialog
      • display

        public void display​(Knob knob)
        display the dialog