Class AbstractScatterPlotMatrixComponent<Component,Color,Row,Column>
java.lang.Object
com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrixComponent<Component,Color,Row,Column>
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>
,ScatterPlotMatrixComponent<Component,
Color, Row, Column>
- Direct Known Subclasses:
SwingScatterPlotMatrixComponent
public abstract class AbstractScatterPlotMatrixComponent<Component,Color,Row,Column>
extends Object
implements ScatterPlotMatrixComponent<Component,Color,Row,Column>
Created by luc on 25/04/16.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractScatterPlotMatrixComponent
(ScatterPlotMatrixView<Component, Color, Row, Column> view, com.macrofocus.crossplatform.CPFactory<Component, ?, ?, Color> factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getClosestRow
(int x, int y) protected abstract int
getRows
(com.macrofocus.geom.Rectangle2D rect) protected abstract int
getWidth()
protected void
refresh()
protected abstract void
repaint()
void
setModel
(ScatterPlotMatrixModel model) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.macrofocus.crossplatform.CPComponent
setStyleClass
Methods inherited from interface com.macrofocus.high_d.parallelcoordinatesmatrix.ScatterPlotMatrixComponent
getNativeComponent, scheduleUpdate
-
Field Details
-
canvas
-
model
-
timer
-
-
Constructor Details
-
AbstractScatterPlotMatrixComponent
-
-
Method Details
-
refresh
protected void refresh() -
getWidth
protected abstract int getWidth() -
getHeight
protected abstract int getHeight() -
repaint
protected abstract void repaint() -
setModel
-
createOverplots
public void createOverplots()- Specified by:
createOverplots
in interfaceScatterPlotMatrixComponent<Component,
Color, Row, Column>
-
getClosestRow
- Specified by:
getClosestRow
in interfaceScatterPlotMatrixComponent<Component,
Color, Row, Column>
-
getRows
-