|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jgraph.JGraphpad
com.jgraph.JGraphpadDemo
| Nested Class Summary | |
static class |
JGraphpadDemo.AllActions
Bundle of all actions in this class. |
static class |
JGraphpadDemo.JGraphpadDemoFileAction
Replaces file open / save action with different actions. |
| Field Summary |
| Constructor Summary | |
JGraphpadDemo()
|
|
| Method Summary | |
protected void |
addActions(JGraphEditor editor,
JGraphEditorKit kit)
Replaces some actions with empty implementations. |
Window |
createApplication(List files,
Map args)
Issues a warning message in the online demo. |
protected JGraphEditorModel |
createModel()
Creates a model that does not allow to add files. |
static void |
main(String[] args)
Constructs and displays a new application window. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JGraphpadDemo()
| Method Detail |
public Window createApplication(List files,
Map args)
throws ParserConfigurationException,
SAXException,
IOException
createApplication in class JGraphpadfiles - The list of filenames passed to the Java command.args - The arguments to use for constructing the editor settings.
ParserConfigurationException
SAXException
IOExceptionprotected JGraphEditorModel createModel()
createModel in class JGraphpad
protected void addActions(JGraphEditor editor,
JGraphEditorKit kit)
addActions in class JGraphpadeditor - The editor for which to create the actions.kit - The editor kit to add the actions to.JGraphpad.configureKit(JGraphEditor, JGraphEditorKit),
JGraphEditorKit.addBundle(JGraphEditorAction.Bundle),
JGraphpad.createVertex(),
JGraphpad.createEdge()public static void main(String[] args)
args - The command line arguments to pass to the application.
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||