JIDE 3.5.15

com.jidesoft.treemap
Interface Labeling<N>

Type Parameters:
N - the type of nodes
All Known Implementing Classes:
ExpandLabeling, OverlayLabeling, SurroundLabeling

public interface Labeling<N>

Defines how parent and leaf nodes should be labeled.


Method Summary
 int getLeftSpace(TreeMapModel<N> model)
           
 int getTopSpace(TreeMapModel<N> model)
           
 void paintLeaf(Graphics2D g2, Rectangle bounds, N node, TreeMapView view)
           
 void paintParent(Graphics2D g2, Rectangle bounds, N node, TreeMapView view, int pass, int passes)
           
 Rectangle2D subtract(TreeMapModel<N> model, Rectangle2D rectangle, N node)
           
 

Method Detail

getTopSpace

int getTopSpace(TreeMapModel<N> model)

getLeftSpace

int getLeftSpace(TreeMapModel<N> model)

subtract

Rectangle2D subtract(TreeMapModel<N> model,
                     Rectangle2D rectangle,
                     N node)

paintParent

void paintParent(Graphics2D g2,
                 Rectangle bounds,
                 N node,
                 TreeMapView view,
                 int pass,
                 int passes)

paintLeaf

void paintLeaf(Graphics2D g2,
               Rectangle bounds,
               N node,
               TreeMapView view)

JIDE 3.5.15