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 java.lang.Object implements DistributionsComponent<Component,Color,Row,Column,Value,Bin>
Created by luc on 12/06/16.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractDistributionsComponent.State
-
Constructor Summary
Constructors Constructor Description AbstractDistributionsComponent(DistributionsView<? extends Component,Color,Row,Column,Value,Bin> view, com.macrofocus.crossplatform.CPFactory<?,?,?,Color> factory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclearCache()voidcreateOverplots()java.util.List<Bin>getBins(com.macrofocus.geom.Rectangle2D rect)BingetClosestBin(int x, int y)com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin>getClosestDistribution(int x, int y)RowgetClosestRow(int x, int y)protected abstract intgetHeight()protected AbstractDistributionsComponent.StategetState(com.macrofocus.molap.subset.SingleBinningDimension<Row,Bin> dimension, Bin bin)protected abstract intgetWidth()protected voidrefresh()protected abstract voidrepaint()voidsetModel(DistributionsModel<Color,Row,Column,Value,Bin> 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.high_d.distributions.DistributionsComponent
getNativeComponent, scheduleUpdate
-
-
-
-
Method Detail
-
getWidth
protected abstract int getWidth()
-
getHeight
protected abstract int getHeight()
-
repaint
protected abstract void repaint()
-
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,Bin> getClosestDistribution(int x, int y)
- Specified by:
getClosestDistributionin interfaceDistributionsComponent<Component,Color,Row,Column,Value,Bin>
-
getClosestBin
public Bin getClosestBin(int x, int y)
- Specified by:
getClosestBinin interfaceDistributionsComponent<Component,Color,Row,Column,Value,Bin>
-
getBins
public java.util.List<Bin> getBins(com.macrofocus.geom.Rectangle2D rect)
-
getClosestRow
public Row getClosestRow(int x, int y)
- 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>
-
-