com.jidesoft.treemap
Interface Rendering<N>
- Type Parameters:
N
- the type of nodes
public interface Rendering<N>
Defines how nodes should be rendered on the display.
Method Summary |
Iterable<N> |
getOrder(TreeMapView<N> view,
N root,
int pass)
|
int |
getPasses(TreeMapModel<N> model)
|
Shape |
getRenderedShape(TreeMapView<N> view,
TreeMapModel<N> model,
N node,
Shape shape)
|
void |
paintBackground(Graphics2D g2,
TreeMapView<N> view,
N node,
int pass,
int passes,
Rectangle bounds,
Shape shape)
|
void |
paintBorder(Graphics2D g2,
TreeMapView<N> view,
N node,
int pass,
Rectangle bounds,
Shape shape)
|
void |
paintLabel(Graphics2D g2,
TreeMapView<N> view,
N node,
int pass,
int passes,
Rectangle bounds,
Shape shape)
|
void |
paintNode(Graphics2D g,
TreeMapView<N> view,
N node,
int pass,
Rectangle bounds,
Shape shape)
|
void |
paintParent(Graphics2D g,
TreeMapView<N> view,
N node,
int pass,
Rectangle bounds,
Shape shape)
|
getPasses
int getPasses(TreeMapModel<N> model)
paintParent
void paintParent(Graphics2D g,
TreeMapView<N> view,
N node,
int pass,
Rectangle bounds,
Shape shape)
paintNode
void paintNode(Graphics2D g,
TreeMapView<N> view,
N node,
int pass,
Rectangle bounds,
Shape shape)
paintBackground
void paintBackground(Graphics2D g2,
TreeMapView<N> view,
N node,
int pass,
int passes,
Rectangle bounds,
Shape shape)
paintLabel
void paintLabel(Graphics2D g2,
TreeMapView<N> view,
N node,
int pass,
int passes,
Rectangle bounds,
Shape shape)
paintBorder
void paintBorder(Graphics2D g2,
TreeMapView<N> view,
N node,
int pass,
Rectangle bounds,
Shape shape)
getOrder
Iterable<N> getOrder(TreeMapView<N> view,
N root,
int pass)
getRenderedShape
Shape getRenderedShape(TreeMapView<N> view,
TreeMapModel<N> model,
N node,
Shape shape)