Class AbstractDistributionsComponent<Component,Color,Row,Column,Value,Bin>
java.lang.Object
com.macrofocus.high_d.distributions.AbstractDistributionsComponent<Component,Color,Row,Column,Value,Bin>
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>,DistributionsComponent<Component,Color, Row, Column, Value, Bin>
- Direct Known Subclasses:
SwingDistributionsComponent
public abstract class AbstractDistributionsComponent<Component,Color,Row,Column,Value,Bin>
extends Object
implements DistributionsComponent<Component,Color,Row,Column,Value,Bin>
Created by luc on 12/06/16.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDistributionsComponent(DistributionsView<? extends Component, Color, Row, Column, Value, Bin> view, com.macrofocus.crossplatform.CPFactory<?, ?, ?, Color> factory) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetBins(com.macrofocus.geom.Rectangle2D rect) getClosestBin(int x, int y) getClosestDistribution(int x, int y) getClosestRow(int x, int y) protected abstract intprotected AbstractDistributionsComponent.Stateprotected abstract intgetWidth()protected voidrefresh()protected abstract voidrepaint()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.macrofocus.crossplatform.CPComponent
setStyleClassMethods inherited from interface com.macrofocus.high_d.distributions.DistributionsComponent
getNativeComponent, scheduleUpdate
-
Field Details
-
model
-
view
-
canvas
protected final com.macrofocus.crossplatform.CPCanvas canvas -
timer
-
-
Constructor Details
-
AbstractDistributionsComponent
-
-
Method Details
-
getWidth
protected abstract int getWidth() -
getHeight
protected abstract int getHeight() -
repaint
protected abstract void repaint() -
setModel
-
refresh
protected void refresh() -
clearCache
public void clearCache()- Specified by:
clearCachein interfaceDistributionsComponent<Component,Color, Row, Column, Value, Bin>
-
getClosestDistribution
public com.macrofocus.molap.subset.DistributionDimension<Row,Value, getClosestDistributionBin> (int x, int y) - Specified by:
getClosestDistributionin interfaceDistributionsComponent<Component,Color, Row, Column, Value, Bin>
-
getClosestBin
- Specified by:
getClosestBinin interfaceDistributionsComponent<Component,Color, Row, Column, Value, Bin>
-
getBins
-
getClosestRow
- Specified by:
getClosestRowin interfaceDistributionsComponent<Component,Color, Row, Column, Value, Bin>
-
getState
protected AbstractDistributionsComponent.State getState(com.macrofocus.molap.subset.SingleBinningDimension<Row, Bin> dimension, Bin bin) -
createOverplots
public void createOverplots()- Specified by:
createOverplotsin interfaceDistributionsComponent<Component,Color, Row, Column, Value, Bin>
-