Class SwingDistributionsComponent<Row,Column,Value,Bin>
- java.lang.Object
-
- com.macrofocus.high_d.distributions.AbstractDistributionsComponent<javax.swing.JComponent,java.awt.Color,Row,Column,Value,Bin>
-
- com.macrofocus.high_d.distributions.swing.SwingDistributionsComponent<Row,Column,Value,Bin>
-
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<javax.swing.JComponent>
,DistributionsComponent<javax.swing.JComponent,java.awt.Color,Row,Column,Value,Bin>
public class SwingDistributionsComponent<Row,Column,Value,Bin> extends AbstractDistributionsComponent<javax.swing.JComponent,java.awt.Color,Row,Column,Value,Bin>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.macrofocus.high_d.distributions.AbstractDistributionsComponent
AbstractDistributionsComponent.State
-
-
Field Summary
-
Fields inherited from class com.macrofocus.high_d.distributions.AbstractDistributionsComponent
canvas, model, timer, view
-
-
Constructor Summary
Constructors Constructor Description SwingDistributionsComponent(DistributionsView<javax.swing.JLayeredPane,java.awt.Color,Row,Column,Value,Bin> view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
javax.swing.JComponent
getNativeComponent()
java.awt.Dimension
getPreferredSize()
int
getWidth()
protected void
refresh()
void
repaint()
void
scheduleUpdate()
void
setStyleClass(java.lang.String... styleClasses)
-
Methods inherited from class com.macrofocus.high_d.distributions.AbstractDistributionsComponent
clearCache, createOverplots, getBins, getClosestBin, getClosestDistribution, getClosestRow, getState, setModel
-
-
-
-
Constructor Detail
-
SwingDistributionsComponent
public SwingDistributionsComponent(DistributionsView<javax.swing.JLayeredPane,java.awt.Color,Row,Column,Value,Bin> view)
-
-
Method Detail
-
setStyleClass
public void setStyleClass(java.lang.String... styleClasses)
-
getPreferredSize
public java.awt.Dimension getPreferredSize()
-
refresh
protected void refresh()
-
scheduleUpdate
public void scheduleUpdate()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
repaint
public void repaint()
-
getNativeComponent
public javax.swing.JComponent getNativeComponent()
-
-