Package com.macrofocus.treemap
Class RenderingFactory
- java.lang.Object
-
- com.macrofocus.treemap.RenderingFactory
-
@JsType public class RenderingFactory extends java.lang.Object
Factory class for accessing predefined rendering schemes.
-
-
Field Summary
Fields Modifier and Type Field Description static Rendering
CUSHION
Paint leaf nodes with a cushion effect.static Rendering
FLAT
Paint leaf nodes according to their color and with a border around them.static Rendering
FLAT_NO_BORDER
Paint leaf nodes with their color and without border.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Rendering entry)
Rendering
get(java.lang.String name)
Rendering
getDefault()
static RenderingFactory
getInstance()
java.util.List<Rendering>
getRenderings()
-
-
-
Field Detail
-
CUSHION
public static final Rendering CUSHION
Paint leaf nodes with a cushion effect.
-
FLAT
public static final Rendering FLAT
Paint leaf nodes according to their color and with a border around them.
-
FLAT_NO_BORDER
public static final Rendering FLAT_NO_BORDER
Paint leaf nodes with their color and without border.
-
-
Method Detail
-
getInstance
public static RenderingFactory getInstance()
-
add
public void add(Rendering entry)
-
getDefault
public Rendering getDefault()
-
getRenderings
public java.util.List<Rendering> getRenderings()
-
get
public Rendering get(java.lang.String name)
-
-