Package xal.app.knobs
Class KnobMagician
- java.lang.Object
-
- xal.app.knobs.KnobMagician
-
public class KnobMagician extends Object
Controller that magically creates knob coefficients for two specified machine states
-
-
Field Summary
Fields Modifier and Type Field Description protected Knob_knobcurrently active knobprotected List<xal.app.knobs.KnobElementStateRecord>ELEMENT_STATE_RECORDSlist of initial and final states for the the knob elementsprotected xal.app.knobs.KnobElementStateTableModelELEMENT_STATE_TABLE_MODELtable of knob element statesprotected xal.extension.bricks.WindowReferenceWINDOW_REFERENCEreference to the dialog window
-
Constructor Summary
Constructors Constructor Description KnobMagician(JFrame owner)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplay(Knob knob)display the dialogprotected JDialoggetDialog()get the dialogprotected voidsetupView(xal.extension.bricks.WindowReference windowReference)initialize the view
-
-
-
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
-
-