Search in sources :

Example 16 with DoubleProperty

use of org.csstudio.opibuilder.properties.DoubleProperty in project yamcs-studio by yamcs.

the class AbstractShapeModel method configureProperties.

@Override
protected void configureProperties() {
    addProperty(new IntegerProperty(PROP_LINE_WIDTH, "Line Width", WidgetPropertyCategory.Display, 0, 0, 100));
    addProperty(new IntegerProperty(PROP_ALPHA, "Alpha", WidgetPropertyCategory.Display, 255, 0, 255));
    addProperty(new ComboProperty(PROP_LINE_STYLE, "Line Style", WidgetPropertyCategory.Display, LineStyle.stringValues(), 0));
    addProperty(new ColorProperty(PROP_LINE_COLOR, "Line Color", WidgetPropertyCategory.Display, DEFAULT_LINE_COLOR));
    addProperty(new DoubleProperty(PROP_FILL_LEVEL, "Fill Level", WidgetPropertyCategory.Display, 0.0, 0.0, 100.0));
    addProperty(new BooleanProperty(PROP_HORIZONTAL_FILL, "Horizontal Fill", WidgetPropertyCategory.Display, true));
    addProperty(new BooleanProperty(PROP_ANTIALIAS, "Anti Alias", WidgetPropertyCategory.Display, true));
    addProperty(new BooleanProperty(PROP_TRANSPARENT, "Transparent", WidgetPropertyCategory.Display, false));
}
Also used : ComboProperty(org.csstudio.opibuilder.properties.ComboProperty) IntegerProperty(org.csstudio.opibuilder.properties.IntegerProperty) BooleanProperty(org.csstudio.opibuilder.properties.BooleanProperty) DoubleProperty(org.csstudio.opibuilder.properties.DoubleProperty) ColorProperty(org.csstudio.opibuilder.properties.ColorProperty)

Aggregations

DoubleProperty (org.csstudio.opibuilder.properties.DoubleProperty)16 BooleanProperty (org.csstudio.opibuilder.properties.BooleanProperty)15 IntegerProperty (org.csstudio.opibuilder.properties.IntegerProperty)9 ColorProperty (org.csstudio.opibuilder.properties.ColorProperty)8 ComboProperty (org.csstudio.opibuilder.properties.ComboProperty)6 StringProperty (org.csstudio.opibuilder.properties.StringProperty)3 WidgetPropertyCategory (org.csstudio.opibuilder.properties.WidgetPropertyCategory)3 OPIColor (org.csstudio.opibuilder.util.OPIColor)2 DisplayScaleData (org.csstudio.opibuilder.datadefinition.DisplayScaleData)1 ActionsProperty (org.csstudio.opibuilder.properties.ActionsProperty)1 ComplexDataProperty (org.csstudio.opibuilder.properties.ComplexDataProperty)1 FontProperty (org.csstudio.opibuilder.properties.FontProperty)1 NameDefinedCategory (org.csstudio.opibuilder.properties.NameDefinedCategory)1 PVNameProperty (org.csstudio.opibuilder.properties.PVNameProperty)1 PVValueProperty (org.csstudio.opibuilder.properties.PVValueProperty)1 PointListProperty (org.csstudio.opibuilder.properties.PointListProperty)1 VersionProperty (org.csstudio.opibuilder.properties.VersionProperty)1 ColorMapProperty (org.csstudio.opibuilder.widgets.properties.ColorMapProperty)1 ColorMap (org.csstudio.swt.widgets.datadefinition.ColorMap)1 PredefinedColorMap (org.csstudio.swt.widgets.datadefinition.ColorMap.PredefinedColorMap)1