Class ScalarListSetter

All Implemented Interfaces:
JAutoScrolledTextListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

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

  • Constructor Details

    • ScalarListSetter

      public ScalarListSetter()
      Creates new form ScalarListSetter
  • Method Details

    • setModel

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

      public void clearModel()
    • removeComponents

      protected void removeComponents()
    • getTheFont

      public Font getTheFont()
    • setTheFont

      public void setTheFont(Font ft)
    • getLabelVisible

      public boolean getLabelVisible()
    • setLabelVisible

      public void setLabelVisible(boolean lv)
    • getViewerVisible

      public boolean getViewerVisible()
    • setViewerVisible

      public void setViewerVisible(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)
    • getBooleanSetterType

      public String getBooleanSetterType()
      Returns:
      the current BooleanSetterType used for all BooleanScalar attributes
      See Also:
    • setBooleanSetterType

      public void setBooleanSetterType(String setType)
      Sets the current BooleanSetterType used for all BooleanScalar attributes
      Parameters:
      setType - Set type
      See Also:
    • 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:
    • getNumberSetterType

      public String getNumberSetterType()
      Deprecated.
      As of ATKWidget-2.5.8 and higher The method getNumberSetterType should not be used. The setterType for each NumberScalar attribute is selected automatically by the ScalarListSetter.
      Returns:
      numberSetterType
    • setNumberSetterType

      public void setNumberSetterType(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 ScalarListSetter.
      Parameters:
      setType - Not used
    • getStringSetterType

      public String getStringSetterType()
      Deprecated.
      As of ATKWidget-2.5.8 and higher The method getStringSetterType should not be used. The setterType for each StringScalar attribute is selected automatically by the ScalarListSetter.
      Returns:
      stringSetterType
    • setStringSetterType

      public void setStringSetterType(String setType)
      Deprecated.
      As of ATKWidget-2.5.8 and higher this method has no effect. The setterType for each StringScalar attribute is selected automatically by the ScalarListSetter.
      Parameters:
      setType - Not used
    • 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)