Package org.esa.snap.rcp.statistics
Class PlotAreaSelectionTool
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- org.esa.snap.rcp.statistics.PlotAreaSelectionTool
-
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
public class PlotAreaSelectionTool extends MouseAdapter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PlotAreaSelectionTool.Action
static class
PlotAreaSelectionTool.AreaType
-
Constructor Summary
Constructors Constructor Description PlotAreaSelectionTool(org.jfree.chart.ChartPanel chartPanel, PlotAreaSelectionTool.Action action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlotAreaSelectionTool.AreaType
getAreaType()
Color
getFillPaint()
double
getTriggerDistance()
void
install()
void
mouseDragged(MouseEvent event)
void
mousePressed(MouseEvent event)
void
mouseReleased(MouseEvent event)
void
removeAnnotation()
void
setAreaType(PlotAreaSelectionTool.AreaType areaType)
void
setFillPaint(Color fillPaint)
void
setTriggerDistance(double triggerDistance)
void
uninstall()
-
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
-
-
-
-
Constructor Detail
-
PlotAreaSelectionTool
public PlotAreaSelectionTool(org.jfree.chart.ChartPanel chartPanel, PlotAreaSelectionTool.Action action)
-
-
Method Detail
-
install
public void install()
-
uninstall
public void uninstall()
-
getAreaType
public PlotAreaSelectionTool.AreaType getAreaType()
-
setAreaType
public void setAreaType(PlotAreaSelectionTool.AreaType areaType)
-
getTriggerDistance
public double getTriggerDistance()
-
setTriggerDistance
public void setTriggerDistance(double triggerDistance)
-
getFillPaint
public Color getFillPaint()
-
setFillPaint
public void setFillPaint(Color fillPaint)
-
mousePressed
public void mousePressed(MouseEvent event)
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classMouseAdapter
-
mouseReleased
public void mouseReleased(MouseEvent event)
- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classMouseAdapter
-
mouseDragged
public void mouseDragged(MouseEvent event)
- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Overrides:
mouseDragged
in classMouseAdapter
-
removeAnnotation
public void removeAnnotation()
-
-