Package xal.app.knobs

Class KnobEditor

    • Field Detail

      • _knob

        protected final Knob _knob
        the knob to edit
      • EDIT_DISPLAYER

        protected final KnobEditDisplayer EDIT_DISPLAYER
        displays and hides the knob editor
      • _elementTable

        protected final JTable _elementTable
        table of knob elements
      • TITLED_BORDER

        protected final TitledBorder TITLED_BORDER
        titled border
    • Method Detail

      • getKnob

        public Knob getKnob()
        get the knob being edited
      • buildView

        protected void buildView()
        build view
      • buildKnobElementTableView

        protected Component buildKnobElementTableView()
        build knob element table view
      • buildBottomEditingRow

        protected Component buildBottomEditingRow()
        build the add/remove button row
      • refresh

        public void refresh()
        refresh this view
      • nameChanged

        public void nameChanged​(Knob knob,
                                String newName)
        event indicating that the specified knob's name has changed
        Specified by:
        nameChanged in interface KnobListener
      • limitsChanged

        public void limitsChanged​(Knob knob,
                                  double lowerLimit,
                                  double upperLimit)
        event indicating that the knob's limits have changed
        Specified by:
        limitsChanged in interface KnobListener
      • currentSettingChanged

        public void currentSettingChanged​(Knob knob,
                                          double value)
        event indicating that the knob's current value setting has changed
        Specified by:
        currentSettingChanged in interface KnobListener
      • valueSettingPublished

        public void valueSettingPublished​(Knob knob)
        event indicating that the knob's most previously pending set operation has completed
        Specified by:
        valueSettingPublished in interface KnobListener