Class SwingScatterPlotController<Row,Column>
- java.lang.Object
-
- com.macrofocus.high_d.scatterplot.swing.SwingScatterPlotController<Row,Column>
-
- All Implemented Interfaces:
ScatterPlotController<javax.swing.JComponent,Row,Column>
public class SwingScatterPlotController<Row,Column> extends java.lang.Object implements ScatterPlotController<javax.swing.JComponent,Row,Column>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SwingScatterPlotController.Mode
Interaction mode.
-
Constructor Summary
Constructors Constructor Description SwingScatterPlotController(ScatterPlotView view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Rectangle2D
getViewport()
java.awt.geom.Rectangle2D
getWorld()
void
setView(ScatterPlotView<javax.swing.JComponent,?,java.awt.Font,Row,Column> view)
Replace the view currently under control.
-
-
-
Constructor Detail
-
SwingScatterPlotController
public SwingScatterPlotController(ScatterPlotView view)
-
-
Method Detail
-
setView
public void setView(ScatterPlotView<javax.swing.JComponent,?,java.awt.Font,Row,Column> view)
Replace the view currently under control.- Specified by:
setView
in interfaceScatterPlotController<javax.swing.JComponent,Row,Column>
- Parameters:
view
- the ScatterPlotView to use
-
getViewport
public java.awt.geom.Rectangle2D getViewport()
-
getWorld
public java.awt.geom.Rectangle2D getWorld()
-
-