Class NumberScalarSetPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class NumberScalarSetPanel extends JPanel
A NumberScalarSetPanel is a Swing JPanel which displays the "read value" of the numberScalar below a NumberScalarWheelEditor. At the left side the label of the attribute is displayed and at the right the unit is displayed. The label and unit are optional.
See Also:
  • Constructor Details

    • NumberScalarSetPanel

      public NumberScalarSetPanel()
  • Method Details

    • setFont

      public void setFont(Font font)
      Overrides:
      setFont in class JComponent
    • setBackground

      public void setBackground(Color bg)
      Overrides:
      setBackground in class JComponent
    • setNumberScalarViewerBackground

      public void setNumberScalarViewerBackground(Color bg)
    • setAttModel

      public void setAttModel(fr.esrf.tangoatk.core.INumberScalar ins)
    • getAttModel

      public fr.esrf.tangoatk.core.INumberScalar getAttModel()
    • setLabelVisible

      public void setLabelVisible(boolean lv)
    • getLabelVisible

      public boolean getLabelVisible()
    • setUnitVisible

      public void setUnitVisible(boolean uv)
    • getUnitVisible

      public boolean getUnitVisible()
    • clearModel

      public void clearModel()
    • getViewer

      public NumberScalarViewer getViewer()
    • getEditor

      public NumberScalarWheelEditor getEditor()
    • main

      public static void main(String[] args)