Class PlotServerROISelectionProvider
java.lang.Object
gda.device.detector.nxdetector.roi.PlotServerROISelectionProvider
- All Implemented Interfaces:
IndexedRectangularROIProvider<Integer>
public class PlotServerROISelectionProvider
extends Object
implements IndexedRectangularROIProvider<Integer>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.python.core.PyString__str__()Returns a list of active Rois.static StringgetGuiName(String detectorName) intgetRoi(int index) Return a RectangularROI, or null if none is available/enabled.voidsetMaximumActiveRois(int maximumActiveRois) voidsetViewName(String viewName)
-
Constructor Details
-
PlotServerROISelectionProvider
public PlotServerROISelectionProvider() -
PlotServerROISelectionProvider
-
-
Method Details
-
getGuiName
-
getActiveRoiList
Returns a list of active Rois. This will have no more than maximumActiveRois elements.- Returns:
- a list of active rois.
- Throws:
Exception
-
getScisoftRoiListFromSDAPlotter
- Throws:
Exception
-
getRoi
Description copied from interface:IndexedRectangularROIProviderReturn a RectangularROI, or null if none is available/enabled.- Specified by:
getRoiin interfaceIndexedRectangularROIProvider<Integer>- Parameters:
index- starting from 0- Returns:
- an roi or null if none available/active
- Throws:
IndexOutOfBoundsExceptionException- If the RCPPlotter.getBean throws an exception
-
__str__
public org.python.core.PyString __str__() -
getMaximumActiveRois
public int getMaximumActiveRois() -
setMaximumActiveRois
public void setMaximumActiveRois(int maximumActiveRois) -
getViewName
-
setViewName
-