|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.utils.BasicFactory
infovis.tree.visualization.treemap.TreemapFactory
public class TreemapFactory
Factory of Treemap layout algorithms.
| Nested Class Summary | |
|---|---|
static interface |
TreemapFactory.Creator
Creator for Treemap layout objects. |
static class |
TreemapFactory.DefaultCreator
Default implementation of the Creator interface. |
| Constructor Summary | |
|---|---|
TreemapFactory()
Constructor. |
|
| Method Summary | |
|---|---|
Treemap |
create(String name,
TreemapVisualization vis)
Creates a new Treemap layout from a specified name. |
static Treemap |
createTreemap(String name,
TreemapVisualization vis)
Creates a Treemap layout given its name. |
static TreemapFactory |
getInstance()
Returns the global instance of this factory. |
Iterator |
iterator()
Returns an iterator over the name of all the creators. |
static void |
setInstance(TreemapFactory factory)
Sets the global instance of this factory. |
| Methods inherited from class infovis.utils.BasicFactory |
|---|
loadProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreemapFactory()
| Method Detail |
|---|
public static TreemapFactory getInstance()
public static void setInstance(TreemapFactory factory)
factory - the TreemapFactory
public static Treemap createTreemap(String name,
TreemapVisualization vis)
name - the namevis - the visualization
public Treemap create(String name,
TreemapVisualization vis)
name - the namevis - the visualization
public Iterator iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||