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
Modifier and TypeMethodDescriptioncom.macrofocus.igraphics.CPColor<Color> getNestingBackground(N node, TreeMapModel<N, Row, Column, Color, Font> model) getParentOrder(TreeMapView<C, N, Row, Column, Color, Font> view, N root, int pass) intcom.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 Details
-
getPasses
-
paintParent
-
paintParentBorder
-
paintNode
-
paintBackground
-
paintLabel
-
paintParentHighlight
-
paintBorder
-
getParentOrder
-
getOrder
-
getRenderedShape
-
getNestingBackground
-