| |
|
| java.lang.Object com.jgraph.editor.factory.JGraphEditorFactoryMethod
All known Subclasses: com.jgraph.pad.factory.JGraphpadOpenRecentMenu,
JGraphEditorFactoryMethod | abstract public class JGraphEditorFactoryMethod (Code) | | Defines the basic implementation of a factory method.
|
Field Summary | |
protected String | name Holds the name. |
Method Summary | |
abstract public Component | createInstance(Node configuration) Returns a new component for the specified configuration.
Parameters: configuration - The configuration to create the component with. | public String | getName() Returns the name of the factory method. | public void | setName(String name) Sets the name of the factory method. |
JGraphEditorFactoryMethod | public JGraphEditorFactoryMethod(String name)(Code) | | Constructs a new factory method using the specified name.
Parameters: name - The name of the factory method to construct. |
createInstance | abstract public Component createInstance(Node configuration)(Code) | | Returns a new component for the specified configuration.
Parameters: configuration - The configuration to create the component with. Returns a new component. |
getName | public String getName()(Code) | | Returns the name of the factory method.
Returns the name. |
setName | public void setName(String name)(Code) | | Sets the name of the factory method.
Parameters: name - The name to set. |
|
|
|