Class DoubleProperty

java.lang.Object
org.csstudio.opibuilder.properties.AbstractWidgetProperty<Double>
org.csstudio.opibuilder.properties.DoubleProperty

public final class DoubleProperty extends AbstractWidgetProperty<Double>
A property, which is able to handle Double values.
  • Constructor Details

    • DoubleProperty

      public DoubleProperty(String propId, String description, WidgetPropertyCategory category, double defaultValue)
      Double Property Constructor. The property value type is double.
      Parameters:
      propId - 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.
    • DoubleProperty

      public DoubleProperty(String propId, String description, WidgetPropertyCategory category, double defaultValue, double min, double max)
      Color Property Constructor. The property value type is OPIColor.
      Parameters:
      propId - 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.
      min - the minimum allowed double value.
      max - the maximum allowed double value.
  • Method Details