|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.graphdocument.DocumentFactory
The abstract base Class for DocumentFactory's.
| Constructor Summary | |
DocumentFactory()
Constructs a new DocumentFactory instance. |
|
| Method Summary | |
abstract GraphDocument |
newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
DragContext dragcontext)
This method returns a new graphdocument. |
abstract GraphDocument |
newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method returns a new graphdocument. |
abstract GraphDocument |
newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
This method returns a new graphdocument. |
GraphDocument |
newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
DragContext dragcontext)
Deprecated. Use newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView, DragContext) instead! |
GraphDocument |
newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
Deprecated. Use newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView) instead! |
GraphDocument |
newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
Deprecated. Use newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView, DragContext) instead! |
abstract GraphDocument |
newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method returns a new graphdocument. |
abstract GraphDocument |
newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
This method returns a new graphdocument. |
static DocumentFactory |
newInstance()
This method creates a new instance of the actual GraphViewFactory implementation. |
static void |
setDefaultFactory(java.lang.String defaultfactory)
Sets the default factory class name. |
static void |
setServiceFile(java.lang.String servicefile)
Sets the service file to use. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentFactory()
DocumentFactory instance.
| Method Detail |
public static final void setServiceFile(java.lang.String servicefile)
servicefile - the servicefile to use.public static final void setDefaultFactory(java.lang.String defaultfactory)
defaultfactory - the default factory class name.
public abstract GraphDocument newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
name - name of the document.applicationFrame - reference to the application context.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.dragcontext - a drag context that provide additional information
about the recently dragged object.
public abstract GraphDocument newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
name - name of the document.applicationFrame - reference to the application context.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.
public abstract GraphDocument newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
DragContext dragcontext)
name - name of the document.applicationFrame - reference to the application context.dragcontext - a drag context that provide additional information
about the recently dragged object.
public GraphDocument newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView, DragContext) instead!
name - name of the document.graphapplication - reference to the application context.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.dragcontext - a drag context that provide additional information
about the recently dragged object.
public abstract GraphDocument newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
name - name of the document.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.dragcontext - a drag context that provide additional information
about the recently dragged object.
public GraphDocument newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView) instead!
name - name of the document.graphapplication - reference to the application context.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.
public abstract GraphDocument newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
name - name of the document.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.
public GraphDocument newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
DragContext dragcontext)
newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView, DragContext) instead!
name - name of the document.graphapplication - reference to the application context.dragcontext - a drag context that provide additional information
about the recently dragged object.
public static DocumentFactory newInstance()
a - FactoryConfigurationError is thrown whenever something
goes wrong. For instance, there is no factory classname found or the
factory class itself is not found or not accessable and so on
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||