Package com.treemap
Interface Rendering<C,N,Row,Column,Color,Font>
-
- Type Parameters:
N- the type of nodes
- All Known Implementing Classes:
AbstractRendering,CushionRendering
@JsType public interface Rendering<C,N,Row,Column,Color,Font>Defines how nodes should be rendered on the display.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.macrofocus.igraphics.CPColor<Color>getNestingBackground(N node, TreeMapModel<N,Row,Column,Color,Font> model)java.lang.Iterable<N>getOrder(TreeMapView<C,N,Row,Column,Color,Font> view, N root, int pass)java.lang.Iterable<N>getParentOrder(TreeMapView<C,N,Row,Column,Color,Font> view, N root, int pass)intgetPasses(TreeMapModel<N,Row,Column,Color,Font> model)com.macrofocus.geom.ShapegetRenderedShape(TreeMapView<C,N,Row,Column,Color,Font> view, TreeMapModel<N,Row,Column,Color,Font> model, N node, com.macrofocus.geom.Shape shape)voidpaintBackground(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, int passes, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)voidpaintBorder(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)voidpaintLabel(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, int passes, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)booleanpaintNode(TGraphics<Color,Font> g, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)voidpaintParent(TGraphics<Color,Font> g, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)voidpaintParentBorder(TGraphics<Color,Font> g, N node, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape, TreeMapModel<N,Row,Column,Color,Font> model)voidpaintParentHighlight(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)
-
-
-
Method Detail
-
paintParent
@JsIgnore void paintParent(TGraphics<Color,Font> g, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)
-
paintParentBorder
@JsIgnore void paintParentBorder(TGraphics<Color,Font> g, N node, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape, TreeMapModel<N,Row,Column,Color,Font> model)
-
paintNode
@JsIgnore boolean paintNode(TGraphics<Color,Font> g, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)
-
paintBackground
@JsIgnore void paintBackground(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, int passes, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)
-
paintLabel
@JsIgnore void paintLabel(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, int passes, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)
-
paintParentHighlight
@JsIgnore void paintParentHighlight(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)
-
paintBorder
@JsIgnore void paintBorder(TGraphics<Color,Font> g2, TreeMapView<C,N,Row,Column,Color,Font> view, N node, int pass, com.macrofocus.geom.Rectangle bounds, com.macrofocus.geom.Shape shape)
-
getParentOrder
@JsIgnore java.lang.Iterable<N> getParentOrder(TreeMapView<C,N,Row,Column,Color,Font> view, N root, int pass)
-
getOrder
@JsIgnore java.lang.Iterable<N> getOrder(TreeMapView<C,N,Row,Column,Color,Font> view, N root, int pass)
-
getRenderedShape
@JsIgnore com.macrofocus.geom.Shape getRenderedShape(TreeMapView<C,N,Row,Column,Color,Font> view, TreeMapModel<N,Row,Column,Color,Font> model, N node, com.macrofocus.geom.Shape shape)
-
-