Package com.treemap

# Class ExpandLabeling<N,Row,Column,Color,Font>

java.lang.Object
com.treemap.AbstractLabeling<N,Row,Column,Color,Font>
com.treemap.ExpandLabeling<N,Row,Column,Color,Font>

Type Parameters:
  `N` - the type of nodes

All Implemented Interfaces:
  `Labeling<N,Row,Column,Color,Font>`

@JsType public class ExpandLabeling<N,Row,Column,Color,Font> extends AbstractLabeling<N,Row,Column,Color,Font>
Display the label of the parent nodes in the center of its children (overlaid).

- ## Field Summary

  ### Fields inherited from class com.treemap.AbstractLabeling

  `COLOR_SIMILARITY_THRESHOLD, SHARE_OF_ZOOM_FACTOR`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExpandLabeling()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `paintParent(TGraphics<Color,Font> g, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view, int pass, int passes)`
  `String`
  `toString()`

  ### Methods inherited from class com.treemap.AbstractLabeling

  `adjustLabelColor, calcCenterOfMass, findEnclosedRectangle, getArea, getCentroid, getLeftSpace, getPoints, getTopHeaderSpacing, getTopSpace, getTreeMapFieldsByVerticalAlignment, paintFields, paintLabel, paintLeaf, subtract`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ExpandLabeling

    public ExpandLabeling()

- ## Method Details

  - ### paintParent

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

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`