Interface IPlotArea
- All Known Implementing Classes:
RegionArea
public interface IPlotArea
This interface describes any plotting area with particular area components
and/or characteristics (traces, annotations, zoom type, etc)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddImageTraceListener(ITraceListener listener) Adds a listener to the plot areaGet the region with given namevoidremoveAnnotation(IAnnotation annotation) Removes the given annotationbooleanremoveImageTraceListener(ITraceListener listener) Removes the given listener from the plot areavoidremoveTrace(ITrace trace) Removes the given trace
-
Method Details
-
getTraces
- Returns:
- the list of traces
-
removeTrace
Removes the given trace- Parameters:
trace-
-
getAnnotations
List<IAnnotation> getAnnotations()- Returns:
- the list of annotations
-
removeAnnotation
Removes the given annotation- Parameters:
annotation-
-
getZoomOption
ZoomOption getZoomOption()- Returns:
- the active zoom option/type
-
addImageTraceListener
Adds a listener to the plot area- Parameters:
listener-- Returns:
- true if this collection changed as a result of the call
-
removeImageTraceListener
Removes the given listener from the plot area- Parameters:
listener-- Returns:
- true if an element was removed as a result of this call
-
getImageTrace
IImageTrace getImageTrace()- Returns:
- the image trace if there is any, null otherwise
-
getRegionNames
Collection<String> getRegionNames()- Returns:
- a collection of all the region names
-
getRegions
- Returns:
- a list of all regions
-
getRegion
Get the region with given name- Parameters:
name-- Returns:
- region
-