Class BooleanScalarComboEditor

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox
fr.esrf.tangoatk.widget.attribute.BooleanScalarComboEditor
All Implemented Interfaces:
fr.esrf.tangoatk.core.IAttributeStateListener, fr.esrf.tangoatk.core.IBooleanScalarListener, fr.esrf.tangoatk.core.IErrorListener, fr.esrf.tangoatk.core.ISetErrorListener, ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener

public class BooleanScalarComboEditor extends JComboBox implements ActionListener, fr.esrf.tangoatk.core.IBooleanScalarListener, fr.esrf.tangoatk.core.ISetErrorListener
A class to set the value of a BooleanScalar attribute by selecting the value True or False in a combobox.
Author:
poncet
See Also:
  • Constructor Details

    • BooleanScalarComboEditor

      public BooleanScalarComboEditor()
  • Method Details

    • getAttModel

      public fr.esrf.tangoatk.core.IBooleanScalar getAttModel()
    • setAttModel

      public void setAttModel(fr.esrf.tangoatk.core.IBooleanScalar boolModel)
    • clearModel

      public void clearModel()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JComboBox
    • booleanScalarChange

      public void booleanScalarChange(fr.esrf.tangoatk.core.BooleanScalarEvent e)
      Specified by:
      booleanScalarChange in interface fr.esrf.tangoatk.core.IBooleanScalarListener
    • stateChange

      public void stateChange(fr.esrf.tangoatk.core.AttributeStateEvent e)
      Specified by:
      stateChange in interface fr.esrf.tangoatk.core.IAttributeStateListener
    • errorChange

      public void errorChange(fr.esrf.tangoatk.core.ErrorEvent evt)
      Specified by:
      errorChange in interface fr.esrf.tangoatk.core.IErrorListener
    • setErrorOccured

      public void setErrorOccured(fr.esrf.tangoatk.core.ErrorEvent evt)
      Specified by:
      setErrorOccured in interface fr.esrf.tangoatk.core.ISetErrorListener
    • main

      public static void main(String[] args)
    • getFalseLabel

      public String getFalseLabel()
    • setFalseLabel

      public void setFalseLabel(String falseLabel)
    • getTrueLabel

      public String getTrueLabel()
    • setTrueLabel

      public void setTrueLabel(String trueLabel)