JGraphpad Pro
v6.0.5.0


com.jgraph.editor.factory
Class JGraphEditorNavigator.FactoryMethod

java.lang.Object
  extended bycom.jgraph.editor.factory.JGraphEditorFactoryMethod
      extended bycom.jgraph.editor.factory.JGraphEditorNavigator.FactoryMethod
Enclosing class:
JGraphEditorNavigator

public static class JGraphEditorNavigator.FactoryMethod
extends JGraphEditorFactoryMethod

Factory method to construct a new navigator. This implementation requires an editor in order to create the backing graph using the editor's factory.


Field Summary
protected  JGraphEditor editor
          References an editor.
static String NAME
          Defines the default name for factory methods of this kind.
 
Fields inherited from class com.jgraph.editor.factory.JGraphEditorFactoryMethod
name
 
Constructor Summary
JGraphEditorNavigator.FactoryMethod(JGraphEditor editor)
          Constructs a new factory method for the specified editor using NAME.
 
Method Summary
 Component createInstance(Node configuration)
          Returns a new component for the specified configuration.
 
Methods inherited from class com.jgraph.editor.factory.JGraphEditorFactoryMethod
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static String NAME
Defines the default name for factory methods of this kind.


editor

protected JGraphEditor editor
References an editor.

Constructor Detail

JGraphEditorNavigator.FactoryMethod

public JGraphEditorNavigator.FactoryMethod(JGraphEditor editor)
Constructs a new factory method for the specified editor using NAME.

Parameters:
editor - The editor to create the factory method for.
Method Detail

createInstance

public Component createInstance(Node configuration)
Description copied from class: JGraphEditorFactoryMethod
Returns a new component for the specified configuration.

Specified by:
createInstance in class JGraphEditorFactoryMethod
Parameters:
configuration - The configuration to create the component with.
Returns:
Returns a new component.

JGraphpad Pro
v6.0.5.0


Copyright (C) 2005 JGraph.com. All rights reserved.