| javax.swing.JPanel biz.hammurapi.web.diagrameditor.DiagramEditorAppletPane
DiagramEditorAppletPane | public class DiagramEditorAppletPane extends JPanel (Code) | | Main application panel consisting of a menubar and toolbar, two tabbed panes,
one on the left and one on the bottom, a desktop pane in the center, and a
status bar.
|
Constructor Summary | |
public | DiagramEditorAppletPane(JGraphEditor editor, JGraphEditorDiagram newDiagram) Constructs a new editor pane for the specified enclosing editor. |
Method Summary | |
protected void | configureDiagramPane(JGraphEditorDiagramPane diagramPane, JGraphEditorDiagram diagram) Configures the newly created diagram pane to reflect the properties of
the specified diagram. | JGraph | getGraph() | public static void | setProperty(Map objects, String property, Object value) Utility method to set the property of an object using reflection. |
KEY_DESKTOPPANE | public static String KEY_DESKTOPPANE(Code) | | Defines the key used to identify the navigator split divider location.
|
NODENAME_DESKTOPPOPUPMENU | public static String NODENAME_DESKTOPPOPUPMENU(Code) | | Nodename to be used for the desktop popup menu configuration.
|
NODENAME_INTERNALFRAMEPOPUPMENU | public static String NODENAME_INTERNALFRAMEPOPUPMENU(Code) | | Nodename to be used for the desktop popup menu configuration.
|
editor | protected JGraphEditor editor(Code) | | References the enclosing editor.
|
DiagramEditorAppletPane | public DiagramEditorAppletPane(JGraphEditor editor, JGraphEditorDiagram newDiagram)(Code) | | Constructs a new editor pane for the specified enclosing editor.
Parameters: editor - The editor that contains the pane. Parameters: newDiagram - |
configureDiagramPane | protected void configureDiagramPane(JGraphEditorDiagramPane diagramPane, JGraphEditorDiagram diagram)(Code) | | Configures the newly created diagram pane to reflect the properties of
the specified diagram. This also installs a listener to keep the
properties of the diagram up-to-date with the graph for the next creation
after persistence.
Parameters: diagramPane - The diagram pane to be configured. Parameters: diagram - The diagram to be configured. |
getGraph | JGraph getGraph()(Code) | | |
setProperty | public static void setProperty(Map objects, String property, Object value)(Code) | | Utility method to set the property of an object using reflection.
Parameters: objects - Maps from prefixes to objects. Parameters: property - The name of the property to be changed. Parameters: value - The value of the property to be set. |
|
|