Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jgraph.layout
Class LayoutRegistry  view LayoutRegistry download LayoutRegistry.java

java.lang.Object
  extended bycom.jgraph.layout.LayoutRegistry

public class LayoutRegistry
extends java.lang.Object

A registry for the available Layout Algorithms. The default controllers will add at the static constructor. Please register additional layout controllers assigned with a layout algorithm at this registry. After that the Layout is available in the selection window.

Since:
1.2.2
Version:
1.0 init

Field Summary
protected static java.util.ArrayList layoutControllers
          A list with registered Controllers
 
Constructor Summary
LayoutRegistry()
           
 
Method Summary
static void addLayoutController(LayoutController controller)
          Adds a LayoutConroller to this registry
static java.util.Iterator registeredLayoutControllers()
          Returns all registered LayoutConrollers.
static void removeLayoutController(LayoutController controller)
          Removes a LayoutConroller from this registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layoutControllers

protected static java.util.ArrayList layoutControllers
A list with registered Controllers

See Also:
LayoutController
Constructor Detail

LayoutRegistry

public LayoutRegistry()
Method Detail

addLayoutController

public static void addLayoutController(LayoutController controller)
Adds a LayoutConroller to this registry


removeLayoutController

public static void removeLayoutController(LayoutController controller)
Removes a LayoutConroller from this registry.


registeredLayoutControllers

public static java.util.Iterator registeredLayoutControllers()
Returns all registered LayoutConrollers.