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 Details

    • getTraces

      List<ITrace> getTraces()
      Returns:
      the list of traces
    • removeTrace

      void removeTrace(ITrace trace)
      Removes the given trace
      Parameters:
      trace -
    • getAnnotations

      List<IAnnotation> getAnnotations()
      Returns:
      the list of annotations
    • removeAnnotation

      void removeAnnotation(IAnnotation annotation)
      Removes the given annotation
      Parameters:
      annotation -
    • getZoomOption

      ZoomOption getZoomOption()
      Returns:
      the active zoom option/type
    • addImageTraceListener

      boolean addImageTraceListener(ITraceListener listener)
      Adds a listener to the plot area
      Parameters:
      listener -
      Returns:
      true if this collection changed as a result of the call
    • removeImageTraceListener

      boolean removeImageTraceListener(ITraceListener listener)
      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

      List<IRegion> getRegions()
      Returns:
      a list of all regions
    • getRegion

      IRegion getRegion(String name)
      Get the region with given name
      Parameters:
      name -
      Returns:
      region