Package com.macrofocus.treemap
Class RenderingFactory
- java.lang.Object
-
- com.macrofocus.treemap.RenderingFactory
-
@JsType public class RenderingFactory extends java.lang.ObjectFactory class for accessing predefined rendering schemes.
-
-
Field Summary
Fields Modifier and Type Field Description static RenderingCUSHIONPaint leaf nodes with a cushion effect.static RenderingFLATPaint leaf nodes according to their color and with a border around them.static RenderingFLAT_NO_BORDERPaint leaf nodes with their color and without border.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Rendering entry)Renderingget(java.lang.String name)RenderinggetDefault()static RenderingFactorygetInstance()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)
-
-