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 class
AbstractDistributionsComponent.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 void
clearCache()
void
createOverplots()
java.util.List<Bin>
getBins(com.macrofocus.igraphics.Rectangle2D rect)
Bin
getClosestBin(int x, int y)
com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin>
getClosestDistribution(int x, int y)
Row
getClosestRow(int x, int y)
protected abstract int
getHeight()
protected AbstractDistributionsComponent.State
getState(com.macrofocus.molap.subset.SingleBinningDimension<Row,Bin> dimension, Bin bin)
protected abstract int
getWidth()
protected void
refresh()
protected abstract void
repaint()
void
setModel(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:
clearCache
in interfaceDistributionsComponent<Component,Color,Row,Column,Value,Bin>
-
getClosestDistribution
public com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin> getClosestDistribution(int x, int y)
- Specified by:
getClosestDistribution
in interfaceDistributionsComponent<Component,Color,Row,Column,Value,Bin>
-
getClosestBin
public Bin getClosestBin(int x, int y)
- Specified by:
getClosestBin
in interfaceDistributionsComponent<Component,Color,Row,Column,Value,Bin>
-
getBins
public java.util.List<Bin> getBins(com.macrofocus.igraphics.Rectangle2D rect)
-
getClosestRow
public Row getClosestRow(int x, int y)
- Specified by:
getClosestRow
in 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:
createOverplots
in interfaceDistributionsComponent<Component,Color,Row,Column,Value,Bin>
-
-