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
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The ID of this widget model.static final int
static final String
static final String
Color map of the graph.static final String
Bottom cropped part of the source data.static final String
Left cropped part of the source data.static final String
Right cropped part of the source data.static final String
Top cropped part of the source data.static final String
Number of rows of the input data.static final String
Number of columns of the input data.static final String
Height of the intensity graph area.static final String
Width of the intensity graph area.static final String
The output PV to which the horizontal profile data on X axis will be written.static final String
static final String
The output PV to which the horizontal profile data on Y axis will be written.static final String
static final String
The upper limit of the value in the input data array.static final String
The lower limit of the value in the input data array.static final String
PV to which information about the pixel at the cursor location is writtenstatic final String
static final String
static final String
static final String
static final String
Show Ramp.static final String
static final String
The output PV to which the vertical profile data on X axis will be written.static final String
static final String
The output PV to which the vertical profile data on Y axis will be written.static final String
static final String
static final String
Fields 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, VERSION
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Configure the properties of the widget.int
int
int
int
int
int
boolean
boolean
static String
makeAxisPropID
(String axisID, String propIDPre) static String
makeROIPropID
(String propIDPre, int index) void
processVersionDifference
(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, isForeColorAlarmSensitve
Methods 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:AbstractWidgetModel
Configure the properties of the widget. Subclass should add new properties in this method.- Specified by:
configureProperties
in classAbstractWidgetModel
-
processVersionDifference
public void processVersionDifference(org.osgi.framework.Version boyVersionOnFile) Description copied from class:AbstractWidgetModel
Make necessary adjustment for widget compatibility between different versions.- Overrides:
processVersionDifference
in classAbstractPVWidgetModel
-
makeROIPropID
-
makeAxisPropID
-
getTypeID
- Specified by:
getTypeID
in 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()
-