# Class NestingFactory

java.lang.Object
com.treemap.NestingFactory

public class NestingFactory extends Object
Factory class for accessing predefined nesting schemes.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final Nesting`
  `FIXED`
  Add fixed spacing between parent nodes.
  `static final Nesting`
  `NONE`
  No spacing between parent nodes.
  `static final Nesting`
  `PROPORTIONAL`
  Add proportional spacing between parent nodes.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(Nesting entry)`
  `Nesting`
  `get(String name)`
  `Nesting`
  `getDefault()`
  `static NestingFactory`
  `getInstance()`
  `List<Nesting>`
  `getNestings()`

  ### Methods inherited from class Object

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

- ## Field Details

  - ### NONE

    public static final Nesting NONE
    No spacing between parent nodes.

  - ### FIXED

    public static final Nesting FIXED
    Add fixed spacing between parent nodes.

  - ### PROPORTIONAL

    public static final Nesting PROPORTIONAL
    Add proportional spacing between parent nodes.

- ## Method Details

  - ### getInstance

    public static NestingFactory getInstance()

  - ### add

    public void add(Nesting entry)

  - ### getDefault

    public Nesting getDefault()

  - ### getNestings

    public List<Nesting> getNestings()

  - ### get

    public Nesting get(String name)