Class NumberScalarListViewer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
fr.esrf.tangoatk.widget.attribute.NumberScalarListViewer
All Implemented Interfaces:
JAutoScrolledTextListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class NumberScalarListViewer extends JPanel implements JAutoScrolledTextListener
See Also:
  • Field Details

  • Constructor Details

    • NumberScalarListViewer

      public NumberScalarListViewer()
      Creates new form NumberScalarListViewer
  • Method Details

    • setModel

      public void setModel(fr.esrf.tangoatk.core.AttributeList scalarList)
    • removeComponents

      protected void removeComponents()
    • getTheFont

      public Font getTheFont()
    • setTheFont

      public void setTheFont(Font ft)
    • getLabelVisible

      public boolean getLabelVisible()
    • setLabelVisible

      public void setLabelVisible(boolean lv)
    • getSetterVisible

      public boolean getSetterVisible()
    • setSetterVisible

      public void setSetterVisible(boolean sv)
    • getPropertyButtonVisible

      public boolean getPropertyButtonVisible()
    • setPropertyButtonVisible

      public void setPropertyButtonVisible(boolean pv)
    • getPropertyListEditable

      public boolean getPropertyListEditable()
    • setPropertyListEditable

      public void setPropertyListEditable(boolean pv)
    • getUnitVisible

      public boolean getUnitVisible()
    • setUnitVisible

      public void setUnitVisible(boolean uv)
    • getToolTipDisplay

      public String getToolTipDisplay()
      Returns:
      the current toolTipDisplay
      See Also:
    • setToolTipDisplay

      public void setToolTipDisplay(String ttType)
      Sets the current toolTipDisplay. This property should be set before the call to setModel()
      Parameters:
      ttType - Tooltip type
      See Also:
    • getSetterType

      public String getSetterType()
      Deprecated.
      As of ATKWidget-2.5.8 and higher The method getSetterType should not be used. The setterType for each NumberScalar attribute is selected automatically by the NumberScalarListViewer.
      Returns:
      Setter type
    • setSetterType

      public void setSetterType(String setType)
      Deprecated.
      As of ATKWidget-2.5.8 and higher this method has no effect. The setterType for each NumberScalar attribute is selected automatically by the NumberScalarListViewer.
      Parameters:
      setType - Setter type
    • getArrowColor

      public Color getArrowColor()
      Returns:
      the current arrowButton colour for the WheelEditor used as number setter
      See Also:
    • setArrowColor

      public void setArrowColor(Color ac)
      Sets the current arrowButton color for the WheelEditor used as number setter
      Parameters:
      ac - ArrowButton color
    • textExceedBounds

      public void textExceedBounds(JAutoScrolledText source)
      Description copied from interface: JAutoScrolledTextListener
      Trigger when the text exceed component bounds
      Specified by:
      textExceedBounds in interface JAutoScrolledTextListener
      Parameters:
      source - Component source
    • initComponents

      protected void initComponents(fr.esrf.tangoatk.core.AttributeList scalarList)
      This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
      Parameters:
      scalarList - Attribute list
    • main

      public static void main(String[] args)