Class RegionBean

java.lang.Object
org.dawnsci.plotting.draw2d.swtxy.RegionBean
All Implemented Interfaces:
Serializable

public class RegionBean extends Object implements Serializable
See Also:
  • Field Details

    • coordinateSystem

      protected ICoordinateSystem coordinateSystem
    • xyGraph

      protected org.eclipse.nebula.visualization.xygraph.figures.IXYGraph xyGraph
    • name

      protected String name
    • plotType

      protected PlotType plotType
    • regionColor

      protected org.eclipse.swt.graphics.Color regionColor
    • showPosition

      protected boolean showPosition
    • alpha

      protected int alpha
    • visible

      protected boolean visible
      Controls whether the mapping region is shown in the plot
      Default value must match default value of RegistryToggleState for command id uk.ac.diamond.daq.mapping.ui.command.showHideMappingRegion in plugin.xml
    • fill

      protected boolean fill
      Controls whether the mapping region fill is shown in the plot
      Default value must match default value of RegistryToggleState for command id uk.ac.diamond.daq.mapping.ui.command.toggleFillMappingRegion in plugin.xml
    • mobile

      protected boolean mobile
    • showLabel

      protected boolean showLabel
  • Constructor Details

    • RegionBean

      public RegionBean()
  • Method Details

    • sync

      public void sync(RegionBean bean)
    • getCoordinateSystem

      public ICoordinateSystem getCoordinateSystem()
    • setCoordinateSystem

      public void setCoordinateSystem(ICoordinateSystem coordinateSystem)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getPlotType

      public PlotType getPlotType()
    • setPlotType

      public void setPlotType(PlotType type)
    • 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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • isShowLabel

      public boolean isShowLabel()
    • setShowLabel

      public void setShowLabel(boolean showLabel)