Package com.macrofocus.treemap
Class CushionRendering<C,N,Row,Column,Color,Font>
- java.lang.Object
-
- com.macrofocus.treemap.AbstractRendering<C,N,Row,Column,Color,Font>
-
- com.macrofocus.treemap.CushionRendering<C,N,Row,Column,Color,Font>
-
- Type Parameters:
N
- the type of nodes
- All Implemented Interfaces:
Rendering<C,N,Row,Column,Color,Font>
public class CushionRendering<C,N,Row,Column,Color,Font> extends AbstractRendering<C,N,Row,Column,Color,Font>
Paint leaf nodes with a cushion effect.
-
-
Field Summary
-
Fields inherited from class com.macrofocus.treemap.AbstractRendering
COLOR_SIMILARITY_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description CushionRendering()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paintBorder(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, java.awt.Rectangle bounds, java.awt.Shape shape)
boolean
paintNode(TGraphics<Color,Font> g, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, java.awt.Rectangle bounds, java.awt.Shape shape)
java.lang.String
toString()
-
Methods inherited from class com.macrofocus.treemap.AbstractRendering
getNestingBackground, getOrder, getParentOrder, getPasses, getRenderedShape, paintBackground, paintLabel, paintParent, paintParentBorder, paintParentHighlight, scaleFontToFit
-
-
-
-
Method Detail
-
paintNode
public boolean paintNode(TGraphics<Color,Font> g, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, java.awt.Rectangle bounds, java.awt.Shape shape)
-
paintBorder
public void paintBorder(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, java.awt.Rectangle bounds, java.awt.Shape shape)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-