Class IntensityGraphModel
java.lang.Object
org.csstudio.opibuilder.model.AbstractWidgetModel
org.csstudio.opibuilder.model.AbstractPVWidgetModel
org.csstudio.opibuilder.widgets.model.IntensityGraphModel
- All Implemented Interfaces:
IPVWidgetModel,IAdaptable,IPropertySource
The model for intensity graph.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe ID of this widget model.static final intstatic final Stringstatic final StringColor map of the graph.static final StringBottom cropped part of the source data.static final StringLeft cropped part of the source data.static final StringRight cropped part of the source data.static final StringTop cropped part of the source data.static final StringNumber of rows of the input data.static final StringNumber of columns of the input data.static final StringHeight of the intensity graph area.static final StringWidth of the intensity graph area.static final StringThe output PV to which the horizontal profile data on X axis will be written.static final Stringstatic final StringThe output PV to which the horizontal profile data on Y axis will be written.static final Stringstatic final StringThe upper limit of the value in the input data array.static final StringThe lower limit of the value in the input data array.static final StringPV to which information about the pixel at the cursor location is writtenstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringShow Ramp.static final Stringstatic final StringThe output PV to which the vertical profile data on X axis will be written.static final Stringstatic final StringThe output PV to which the vertical profile data on Y axis will be written.static final Stringstatic final Stringstatic final StringFields inherited from class org.csstudio.opibuilder.model.AbstractWidgetModel
PROP_ACTIONS, PROP_BORDER_COLOR, PROP_BORDER_STYLE, PROP_BORDER_WIDTH, PROP_COLOR_BACKGROUND, PROP_COLOR_FOREGROUND, PROP_ENABLED, PROP_FONT, PROP_HEIGHT, PROP_NAME, PROP_RULES, PROP_SCALE_OPTIONS, PROP_SCRIPTS, PROP_SRC_CONNECTIONS, PROP_TGT_CONNECTIONS, PROP_TOOLTIP, PROP_VISIBLE, PROP_WIDGET_TYPE, PROP_WIDGET_UID, PROP_WIDTH, PROP_XPOS, PROP_YPOS, VERSIONFields inherited from interface org.csstudio.opibuilder.model.IPVWidgetModel
PROP_ALARM_PULSING, PROP_BACKCOLOR_ALARMSENSITIVE, PROP_BORDER_ALARMSENSITIVE, PROP_FORECOLOR_ALARMSENSITIVE, PROP_PVNAME, PROP_PVVALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidConfigure the properties of the widget.intintintintintintbooleanbooleanstatic StringmakeAxisPropID(String axisID, String propIDPre) static StringmakeROIPropID(String propIDPre, int index) voidprocessVersionDifference(org.osgi.framework.Version boyVersionOnFile) Make necessary adjustment for widget compatibility between different versions.Methods inherited from class org.csstudio.opibuilder.model.AbstractPVWidgetModel
configureBaseProperties, getDelegate, getPVName, getTooltip, isAlarmPulsing, isBackColorAlarmSensitve, isBorderAlarmSensitve, isForeColorAlarmSensitveMethods inherited from class org.csstudio.opibuilder.model.AbstractWidgetModel
addConnection, addProperty, addProperty, addPVProperty, doScale, flipHorizontally, flipHorizontally, flipVertically, flipVertically, generateNewWUID, getActionsInput, getAdapter, getAllPropertyIDs, getBackgroundColor, getBorderColor, getBorderStyle, getBorderWidth, getBounds, getCastedPropertyValue, getEditableValue, getExecutionMode, getFont, getForegroundColor, getHeight, getIndex, getLocation, getName, getNestedDepth, getOriginLocation, getOriginSize, getParent, getProperty, getPropertyDescriptors, getPropertyValue, getPVMap, getRawPropertyValue, getRawTooltip, getRGBFromColorProperty, getRootDisplayModel, getRootDisplayModel, getRulesInput, getRuntimePropertyList, getScaledSize, getScaleOptions, getScriptsInput, getSize, getSourceConnections, getSWTColorFromColorProperty, getTargetConnections, getType, getVersion, getVersionOnFile, getWidgetType, getWidth, getWUID, getX, getY, isEnabled, isPropertySet, isVisible, removeProperty, removePVProperty, resetPropertyValue, rotate90, rotate90, scale, scaleConnections, setBackgroundColor, setBorderColor, setBorderStyle, setBorderWidth, setBounds, setBounds, setEnabled, setExecutionMode, setForegroundColor, setHeight, setLocation, setLocation, setName, setParent, setPropertyDescription, setPropertyValue, setPropertyValue, setPropertyVisible, setPropertyVisibleAndSavable, setScaleOptions, setSize, setSize, setTooltip, setVersionOnFile, setWidth, setX, setY
-
Field Details
-
Y_AXIS_ID
- See Also:
-
X_AXIS_ID
- See Also:
-
MAX_ROIS_AMOUNT
public static final int MAX_ROIS_AMOUNT- See Also:
-
PROP_MIN
The lower limit of the value in the input data array.- See Also:
-
PROP_MAX
The upper limit of the value in the input data array.- See Also:
-
PROP_DATA_WIDTH
Number of columns of the input data.- See Also:
-
PROP_DATA_HEIGHT
Number of rows of the input data.- See Also:
-
PROP_GRAPH_AREA_WIDTH
Width of the intensity graph area.- See Also:
-
PROP_GRAPH_AREA_HEIGHT
Height of the intensity graph area.- See Also:
-
PROP_COLOR_MAP
Color map of the graph.- See Also:
-
PROP_SHOW_RAMP
Show Ramp.- See Also:
-
PROP_CROP_LEFT
Left cropped part of the source data.- See Also:
-
PROP_CROP_RIGHT
Right cropped part of the source data.- See Also:
-
PROP_CROP_TOP
Top cropped part of the source data.- See Also:
-
PROP_CROP_BOTTOM
Bottom cropped part of the source data.- See Also:
-
PROP_HORIZON_PROFILE_X_PV_NAME
The output PV to which the horizontal profile data on X axis will be written.- See Also:
-
PROP_HORIZON_PROFILE_X_PV_VALUE
- See Also:
-
PROP_VERTICAL_PROFILE_X_PV_NAME
The output PV to which the vertical profile data on X axis will be written.- See Also:
-
PROP_VERTICAL_PROFILE_X_PV_VALUE
- See Also:
-
PROP_HORIZON_PROFILE_Y_PV_NAME
The output PV to which the horizontal profile data on Y axis will be written.- See Also:
-
PROP_HORIZON_PROFILE_Y_PV_VALUE
- See Also:
-
PROP_VERTICAL_PROFILE_Y_PV_NAME
The output PV to which the vertical profile data on Y axis will be written.- See Also:
-
PROP_VERTICAL_PROFILE_Y_PV_VALUE
- See Also:
-
PROP_PIXEL_INFO_PV_NAME
PV to which information about the pixel at the cursor location is written- See Also:
-
PROP_PIXEL_INFO_PV_VALUE
- See Also:
-
PROP_RGB_MODE
- See Also:
-
PROP_COLOR_DEPTH
- See Also:
-
PROP_SINGLE_LINE_PROFILING
- See Also:
-
PROP_ROI_COLOR
- See Also:
-
PROP_ROI_COUNT
- See Also:
-
ID
The ID of this widget model.- See Also:
-
-
Constructor Details
-
IntensityGraphModel
public IntensityGraphModel()
-
-
Method Details
-
configureProperties
protected void configureProperties()Description copied from class:AbstractWidgetModelConfigure the properties of the widget. Subclass should add new properties in this method.- Specified by:
configurePropertiesin classAbstractWidgetModel
-
processVersionDifference
public void processVersionDifference(org.osgi.framework.Version boyVersionOnFile) Description copied from class:AbstractWidgetModelMake necessary adjustment for widget compatibility between different versions.- Overrides:
processVersionDifferencein classAbstractPVWidgetModel
-
makeROIPropID
-
makeAxisPropID
-
getTypeID
- Specified by:
getTypeIDin classAbstractWidgetModel- Returns:
- the unique typeID of the model.
-
getMaximum
- Returns:
- the maximum value
-
getMinimum
- Returns:
- the minimum value
-
getDataWidth
- Returns:
- the data width
-
getDataHeight
- Returns:
- the data height
-
getGraphAreaWidth
public int getGraphAreaWidth()- Returns:
- the graph area width
-
getGraphAreaHeight
public int getGraphAreaHeight()- Returns:
- the graph area height
-
getColorMap
- Returns:
- the color map
-
isShowRamp
- Returns:
- the color map
-
getCropLeft
public int getCropLeft()- Returns:
- the left crop part
-
getCropRight
public int getCropRight()- Returns:
- the right crop part
-
getCropTOP
public int getCropTOP()- Returns:
- the top crop part
-
getCropBottom
public int getCropBottom()- Returns:
- the bottom crop part
-
getHorizonProfileXPV
-
getVerticalProfileXPV
-
getHorizonProfileYPV
-
getVerticalProfileYPV
-
getPixelInfoPV
-
isRGBMode
public boolean isRGBMode() -
getColorDepth
-
getROIColor
-
isSingleLineProfiling
public boolean isSingleLineProfiling()
-