Class RegionBean
java.lang.Object
org.dawnsci.plotting.draw2d.swtxy.RegionBean
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected ICoordinateSystemprotected booleanControls whether the mapping region fill is shown in the plot
Default value must match default value ofRegistryToggleStatefor command iduk.ac.diamond.daq.mapping.ui.command.toggleFillMappingRegioninplugin.xmlprotected booleanprotected Stringprotected PlotTypeprotected org.eclipse.swt.graphics.Colorprotected booleanprotected booleanprotected booleanControls whether the mapping region is shown in the plot
Default value must match default value ofRegistryToggleStatefor command iduk.ac.diamond.daq.mapping.ui.command.showHideMappingRegioninplugin.xmlprotected org.eclipse.nebula.visualization.xygraph.figures.IXYGraph -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetAlpha()getName()org.eclipse.swt.graphics.Colororg.eclipse.nebula.visualization.xygraph.figures.IXYGraphinthashCode()booleanisFill()booleanisMobile()booleanbooleanbooleanvoidsetAlpha(int alpha) 0-255voidsetCoordinateSystem(ICoordinateSystem coordinateSystem) voidsetFill(boolean fill) voidsetMobile(boolean mobile) voidvoidsetPlotType(PlotType type) voidsetRegionColor(org.eclipse.swt.graphics.Color regionColour) voidsetShowLabel(boolean showLabel) voidsetShowPosition(boolean showPosition) voidsetVisible(boolean visible) voidsetXyGraph(org.eclipse.nebula.visualization.xygraph.figures.IXYGraph xyGraph) voidsync(RegionBean bean)
-
Field Details
-
coordinateSystem
-
xyGraph
protected org.eclipse.nebula.visualization.xygraph.figures.IXYGraph xyGraph -
name
-
plotType
-
regionColor
protected org.eclipse.swt.graphics.Color regionColor -
showPosition
protected boolean showPosition -
alpha
protected int alpha -
visible
protected boolean visibleControls whether the mapping region is shown in the plot
Default value must match default value ofRegistryToggleStatefor command iduk.ac.diamond.daq.mapping.ui.command.showHideMappingRegioninplugin.xml -
fill
protected boolean fillControls whether the mapping region fill is shown in the plot
Default value must match default value ofRegistryToggleStatefor command iduk.ac.diamond.daq.mapping.ui.command.toggleFillMappingRegioninplugin.xml -
mobile
protected boolean mobile -
showLabel
protected boolean showLabel
-
-
Constructor Details
-
RegionBean
public RegionBean()
-
-
Method Details
-
sync
-
getCoordinateSystem
-
setCoordinateSystem
-
getName
-
setName
-
getPlotType
-
setPlotType
-
getXyGraph
public org.eclipse.nebula.visualization.xygraph.figures.IXYGraph getXyGraph() -
setXyGraph
public void setXyGraph(org.eclipse.nebula.visualization.xygraph.figures.IXYGraph xyGraph) -
getRegionColor
public org.eclipse.swt.graphics.Color getRegionColor() -
setRegionColor
public void setRegionColor(org.eclipse.swt.graphics.Color regionColour) -
isShowPosition
public boolean isShowPosition() -
setShowPosition
public void setShowPosition(boolean showPosition) -
getAlpha
public int getAlpha() -
setAlpha
public void setAlpha(int alpha) 0-255- Parameters:
alpha-
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean visible) -
isFill
public boolean isFill() -
setFill
public void setFill(boolean fill) -
isMobile
public boolean isMobile() -
setMobile
public void setMobile(boolean mobile) -
hashCode
public int hashCode() -
equals
-
isShowLabel
public boolean isShowLabel() -
setShowLabel
public void setShowLabel(boolean showLabel)
-