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

Quick Search    Search Deep

com.jgraph.layout
Interface LayoutController  view LayoutController download LayoutController.java

All Known Implementing Classes:
SpringEmbeddedLayoutController, SugiyamaLayoutController

public interface LayoutController

This class administrates a LayoutAlgorithm.
Means it gives it a name, is responsible for the configuration
and creates a LayoutAlgorithm object on demand.


Since:
1.2.2
Version:
1.0 init

Method Summary
 void configure()
          Will be called when the user wants to configure the LayoutAlgorithm.
 java.util.Properties getConfiguration()
          Returns the Configuration of the LayoutAlgorithm as a Properties object.
 LayoutAlgorithm getLayoutAlgorithm()
          Must return an instance of the administrated LayoutAlgorithm.
 boolean isConfigurable()
          Should return true only if the configure method will do something usefull.
 java.lang.String toString()
          Implement this method to specify the name of your LayoutAlgorithm.
 

Method Detail

toString

public java.lang.String toString()
Implement this method to specify the name of your LayoutAlgorithm.


isConfigurable

public boolean isConfigurable()
Should return true only if the configure method will do something usefull.


configure

public void configure()
Will be called when the user wants to configure the LayoutAlgorithm. Its up to you to do the appropriate things.


getConfiguration

public java.util.Properties getConfiguration()
Returns the Configuration of the LayoutAlgorithm as a Properties object.


getLayoutAlgorithm

public LayoutAlgorithm getLayoutAlgorithm()
Must return an instance of the administrated LayoutAlgorithm.