Class IntegerProperty

java.lang.Object
org.csstudio.opibuilder.properties.AbstractWidgetProperty<Integer>
org.csstudio.opibuilder.properties.IntegerProperty

public class IntegerProperty extends AbstractWidgetProperty<Integer>
The integer property.
  • Constructor Details

    • IntegerProperty

      public IntegerProperty(String prop_id, String description, WidgetPropertyCategory category, int defaultValue)
      Integer Property Constructor. The property value type is integer.
      Parameters:
      prop_id - the property id which should be unique in a widget model.
      description - the description of the property, which will be shown as the property name in property sheet.
      category - the category of the widget.
      defaultValue - the default value when the widget is first created.
    • IntegerProperty

      public IntegerProperty(String prop_id, String description, WidgetPropertyCategory category, int defaultValue, int minValue, int maxValue)
      Integer Property Constructor. The property value type is integer.
      Parameters:
      prop_id - the property id which should be unique in a widget model.
      description - the description of the property, which will be shown as the property name in property sheet.
      category - the category of the widget.
      defaultValue - the default value when the widget is first created.
      minValue - the minimum allowed integer value.
      maxValue - the maximum allowed integer value.
  • Method Details