public class PlotZoomerAdapter
extends java.lang.Object
Constructor and Description |
---|
PlotZoomerAdapter(TDGraph tdGraph) |
Modifier and Type | Method and Description |
---|---|
void |
addZoomables()
Clear any existing zoomables and add new zoomables to each plot panel.
|
AbstractTDZoomable |
createNewZoomable(int iPanel)
Create a new zoomable.
|
boolean |
dataUnitInMarkArea(TDDataInfo dataInfo,
PamDataUnit dataUnit,
int iPanel)
Test whether or not a pamdetection is within a marked area on the screen
|
AbstractTDZoomable |
getZoomable(int iPanel)
Get the zoomable for a panel
|
Zoomer |
getZoomer(int iPanel)
Get the zoomer for a specific panel
|
void |
newZoomShapeStarted(int iPanel)
Called whenever a new zoom shape is started.
|
void |
zoomShapeCleared(int iPanel)
Called whenever there is an attempt to clear a zoom shape.
|
void |
zoomShapeComplete(int iPanel)
Called whenever a panels zoom shape is completed.
|
public PlotZoomerAdapter(TDGraph tdGraph)
public boolean dataUnitInMarkArea(TDDataInfo dataInfo, PamDataUnit dataUnit, int iPanel)
dataUnit-
- data unit to test whetherpublic AbstractTDZoomable createNewZoomable(int iPanel)
public Zoomer getZoomer(int iPanel)
iPanel
- the panel numberpublic AbstractTDZoomable getZoomable(int iPanel)
iPanel
- the panel numberpublic void addZoomables()
public void zoomShapeComplete(int iPanel)
iPanel-
- the panel within the tdGraph.public void zoomShapeCleared(int iPanel)
public void newZoomShapeStarted(int iPanel)