Package com.treemap

# Interface Labeling<N,Row,Column,Color,Font>

Type Parameters:
  `N` - the type of nodes

All Known Implementing Classes:
  `AbstractLabeling`, `ColoredSurroundLabeling`, `ExpandLabeling`, `OverlayLabeling`, `SurroundLabeling`

public interface Labeling<N,Row,Column,Color,Font>
Defines how parent and leaf nodes should be labeled.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `double`
  `getLeftSpace(TreeMapModel<N,Row,Column,Color,Font> model)`
  `double`
  `getTopHeaderSpacing(N parent, N node, TreeMapView view, TreeMapModel model)`
  `double`
  `getTopSpace(TreeMapModel<N,Row,Column,Color,Font> model)`
  `void`
  `paintLeaf(TGraphics<Color,Font> g2, com.macrofocus.geom.Shape shape, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view)`
  `void`
  `paintParent(TGraphics<Color,Font> g2, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view, int pass, int passes)`
  `com.macrofocus.geom.Shape`
  `subtract(TreeMapModel<N,Row,Column,Color,Font> model, com.macrofocus.geom.Shape rectangle, N node)`

- ## Method Details

  - ### getTopSpace

    double getTopSpace(TreeMapModel<N,Row,Column,Color,Font> model)

  - ### getLeftSpace

    double getLeftSpace(TreeMapModel<N,Row,Column,Color,Font> model)

  - ### subtract

    com.macrofocus.geom.Shape subtract(TreeMapModel<N,Row,Column,Color,Font> model, com.macrofocus.geom.Shape rectangle, N node)

  - ### paintParent

    void paintParent(TGraphics<Color,Font> g2, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view, int pass, int passes)

  - ### paintLeaf

    void paintLeaf(TGraphics<Color,Font> g2, com.macrofocus.geom.Shape shape, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view)

  - ### getTopHeaderSpacing

    double getTopHeaderSpacing(N parent, N node, TreeMapView view, TreeMapModel model)