JGraphpad Pro
v6.0.5.0


Serialized Form


Package com.jgraph

Class com.jgraph.JGraphpadApplet extends Applet implements Serializable

Serialized Fields

arguments

Map arguments
Contains the arguments found in the init method.

Class com.jgraph.JGraphpadDemo.JGraphpadDemoFileAction extends JGraphpadFileAction implements Serializable


Package com.jgraph.editor

Class com.jgraph.editor.JGraphEditorAction extends AbstractAction implements Serializable

Serialized Fields

isToggleAction

boolean isToggleAction
Holds the toggleable state.

Class com.jgraph.editor.JGraphEditorModel extends DefaultTreeModel implements Serializable

Serialization Methods

readObject

public Object readObject(InputStream in)
Returns a new object from the specified stream using a new XML decoder. This method does nothing special. Subclassers can override this method if they need to do anything special with opened files.
Note: You should use this method as a global hook to read all XML files.


writeObject

public void writeObject(Object object,
                        OutputStream out)
Writes the specified object to the output stream using an xml encoder which was configured using JGraphEditorModel.configureEncoder(XMLEncoder). The exceptions that are thrown during encoding are caught by a local handler and passed to the caller as a RuntimeException with description of the encoding problems.
Note: You should use this method as a global hook to write all XML files.

Throws:
RuntimeException - If there are problems during encoding.
Serialized Fields

persistenceDelegates

Map persistenceDelegates
Holds the (class, persistence delegate) pairs.


rootNode

DefaultMutableTreeNode rootNode
Reference to the mutable root node.


Package com.jgraph.editor.factory

Class com.jgraph.editor.factory.JGraphEditorComboBox extends JComboBox implements Serializable

Serialized Fields

initialAttributes

org.jgraph.graph.AttributeMap initialAttributes
Initial view attributes for restoring.

Class com.jgraph.editor.factory.JGraphEditorComboBox.CellViewRendererBridge extends JLabel implements Serializable

Serialized Fields

view

org.jgraph.graph.CellView view
Reference to the view this renderer bridge uses for rendering.

Class com.jgraph.editor.factory.JGraphEditorComboBox.JGraphComboEdgeRenderer extends org.jgraph.graph.EdgeRenderer implements Serializable

Class com.jgraph.editor.factory.JGraphEditorComboBox.JGraphComboEdgeView extends org.jgraph.graph.EdgeView implements Serializable

Class com.jgraph.editor.factory.JGraphEditorDiagramPane extends JScrollPane implements Serializable

Serialized Fields

diagram

JGraphEditorDiagram diagram
References the diagram this pane represents.


pageFormat

PageFormat pageFormat
Background page format.


pageScale

double pageScale
Defines the scaling for the background page metrics. Default is JGraphEditorDiagramPane.DEFAULT_PAGESCALE.


verticalRuler

JGraphEditorRuler verticalRuler
Holds the rulers to be used in a parent scrollpane.


horizontalRuler

JGraphEditorRuler horizontalRuler
Holds the rulers to be used in a parent scrollpane.


isRulersVisible

boolean isRulersVisible
Specifies if the rules should be visible. Default is true.


isMetric

boolean isMetric
Specifies if the rulers should use metric units. Default is true.


isPageVisible

boolean isPageVisible
Specifies if the background page is visible. Default is true.


autoScalePolicy

int autoScalePolicy
Specified the autoscaling policy. Default is JGraphEditorDiagramPane.AUTOSCALE_POLICY_NONE.


backgroundImage

ImageIcon backgroundImage
Holds the background image.


graph

org.jgraph.JGraph graph
References the inner graph.


autoScaleResetListener

PropertyChangeListener autoScaleResetListener
Holds the autoscale reset listener to be used with the graph. This listener is used to reset the autoscale policy to none if the scale of the graph is changed manually, ie. not by means of automatic scaling.

Class com.jgraph.editor.factory.JGraphEditorDiagramPane.Viewport extends JViewport implements Serializable

Class com.jgraph.editor.factory.JGraphEditorNavigator extends JPanel implements Serializable

Serialized Fields

componentListener

ComponentListener componentListener
Component listener to udpate the scale.


backingGraph

org.jgraph.JGraph backingGraph
Holds the backing graph and references the displayed (current) graph.


currentGraph

WeakReference currentGraph
Weak reference to the current graph.


navigatorPane

JGraphEditorNavigator.NavigatorPane navigatorPane
Holds the navigator pane the displays the backing graph.


maximumScale

double maximumScale
Specifies the maximum scale for the navigator view. Default is 0.5


isBackgroundImageVisible

boolean isBackgroundImageVisible
Specifies whether the background image of the enclosing diagram pane should be visible. Default is true.

Class com.jgraph.editor.factory.JGraphEditorNavigator.NavigatorPane extends JScrollPane implements Serializable

Serialized Fields

currentViewport

Rectangle currentViewport
Holds the bounds of the finder (red box).


lastPoint

Point lastPoint
Holds the location of the last mouse event.

Class com.jgraph.editor.factory.JGraphEditorRuler extends JComponent implements Serializable

Serialized Fields

inactiveBackground

Color inactiveBackground
Defines the inactive background border. Default is a not-so-dark gray.


orientation

int orientation
Specifies the orientation.


activeoffset

int activeoffset
Specified that start and length of the active region, ie the region to paint with the background border. This is used for example to indicate the printable region of a graph.


activelength

int activelength
Specified that start and length of the active region, ie the region to paint with the background border. This is used for example to indicate the printable region of a graph.


scale

double scale
Specifies the scale for the metrics. Default is JGraphEditorDiagramPane.DEFAULT_PAGESCALE.


isMetric

boolean isMetric
Specifies the unit system. Default is JGraphEditorDiagramPane.DEFAULT_ISMETRIC.


rulerSize

int rulerSize
Specifies height or width of the ruler. Default is 15 pixels.


graph

org.jgraph.JGraph graph
Reference to the attached graph.


drag

Point drag
Holds the current and first mouse point.


mouse

Point mouse
Holds the current and first mouse point.


increment

double increment
Parameters to control the display.


units

double units
Parameters to control the display.

Class com.jgraph.editor.factory.JGraphEditorToolbox extends JToolBar implements Serializable

Serialized Fields

redirector

org.jgraph.graph.BasicMarqueeHandler redirector
Holds the marquee redirector.


previousMarqueeHandler

org.jgraph.graph.BasicMarqueeHandler previousMarqueeHandler
References the previous marquee handler.


selectionTool

JGraphEditorTool selectionTool
References the tool that is currently selected, ie the tool that is used to interact with the graph.


defaultButton

AbstractButton defaultButton
References the default tool button which is activated after the use of any other tool.


graph

org.jgraph.JGraph graph
References the graph that is currently installed, ie the graph that is used to interact with the selection tool.


Class com.jgraph.editor.JGraphEditorAction extends AbstractAction implements Serializable

Serialized Fields

isToggleAction

boolean isToggleAction
Holds the toggleable state.


Class com.jgraph.editor.factory.JGraphEditorComboBox extends JComboBox implements Serializable

Serialized Fields

initialAttributes

org.jgraph.graph.AttributeMap initialAttributes
Initial view attributes for restoring.


Class com.jgraph.editor.factory.JGraphEditorComboBox.CellViewRendererBridge extends JLabel implements Serializable

Serialized Fields

view

org.jgraph.graph.CellView view
Reference to the view this renderer bridge uses for rendering.


Class com.jgraph.editor.factory.JGraphEditorComboBox.JGraphComboEdgeRenderer extends org.jgraph.graph.EdgeRenderer implements Serializable


Class com.jgraph.editor.factory.JGraphEditorComboBox.JGraphComboEdgeView extends org.jgraph.graph.EdgeView implements Serializable


Class com.jgraph.editor.factory.JGraphEditorDiagramPane extends JScrollPane implements Serializable

Serialized Fields

diagram

JGraphEditorDiagram diagram
References the diagram this pane represents.


pageFormat

PageFormat pageFormat
Background page format.


pageScale

double pageScale
Defines the scaling for the background page metrics. Default is JGraphEditorDiagramPane.DEFAULT_PAGESCALE.


verticalRuler

JGraphEditorRuler verticalRuler
Holds the rulers to be used in a parent scrollpane.


horizontalRuler

JGraphEditorRuler horizontalRuler
Holds the rulers to be used in a parent scrollpane.


isRulersVisible

boolean isRulersVisible
Specifies if the rules should be visible. Default is true.


isMetric

boolean isMetric
Specifies if the rulers should use metric units. Default is true.


isPageVisible

boolean isPageVisible
Specifies if the background page is visible. Default is true.


autoScalePolicy

int autoScalePolicy
Specified the autoscaling policy. Default is JGraphEditorDiagramPane.AUTOSCALE_POLICY_NONE.


backgroundImage

ImageIcon backgroundImage
Holds the background image.


graph

org.jgraph.JGraph graph
References the inner graph.


autoScaleResetListener

PropertyChangeListener autoScaleResetListener
Holds the autoscale reset listener to be used with the graph. This listener is used to reset the autoscale policy to none if the scale of the graph is changed manually, ie. not by means of automatic scaling.


Class com.jgraph.editor.factory.JGraphEditorDiagramPane.Viewport extends JViewport implements Serializable


Class com.jgraph.editor.JGraphEditorModel extends DefaultTreeModel implements Serializable

Serialization Methods

readObject

public Object readObject(InputStream in)
Returns a new object from the specified stream using a new XML decoder. This method does nothing special. Subclassers can override this method if they need to do anything special with opened files.
Note: You should use this method as a global hook to read all XML files.


writeObject

public void writeObject(Object object,
                        OutputStream out)
Writes the specified object to the output stream using an xml encoder which was configured using JGraphEditorModel.configureEncoder(XMLEncoder). The exceptions that are thrown during encoding are caught by a local handler and passed to the caller as a RuntimeException with description of the encoding problems.
Note: You should use this method as a global hook to write all XML files.

Throws:
RuntimeException - If there are problems during encoding.
Serialized Fields

persistenceDelegates

Map persistenceDelegates
Holds the (class, persistence delegate) pairs.


rootNode

DefaultMutableTreeNode rootNode
Reference to the mutable root node.


Class com.jgraph.editor.factory.JGraphEditorNavigator extends JPanel implements Serializable

Serialized Fields

componentListener

ComponentListener componentListener
Component listener to udpate the scale.


backingGraph

org.jgraph.JGraph backingGraph
Holds the backing graph and references the displayed (current) graph.


currentGraph

WeakReference currentGraph
Weak reference to the current graph.


navigatorPane

JGraphEditorNavigator.NavigatorPane navigatorPane
Holds the navigator pane the displays the backing graph.


maximumScale

double maximumScale
Specifies the maximum scale for the navigator view. Default is 0.5


isBackgroundImageVisible

boolean isBackgroundImageVisible
Specifies whether the background image of the enclosing diagram pane should be visible. Default is true.


Class com.jgraph.editor.factory.JGraphEditorNavigator.NavigatorPane extends JScrollPane implements Serializable

Serialized Fields

currentViewport

Rectangle currentViewport
Holds the bounds of the finder (red box).


lastPoint

Point lastPoint
Holds the location of the last mouse event.


Class com.jgraph.editor.factory.JGraphEditorRuler extends JComponent implements Serializable

Serialized Fields

inactiveBackground

Color inactiveBackground
Defines the inactive background border. Default is a not-so-dark gray.


orientation

int orientation
Specifies the orientation.


activeoffset

int activeoffset
Specified that start and length of the active region, ie the region to paint with the background border. This is used for example to indicate the printable region of a graph.


activelength

int activelength
Specified that start and length of the active region, ie the region to paint with the background border. This is used for example to indicate the printable region of a graph.


scale

double scale
Specifies the scale for the metrics. Default is JGraphEditorDiagramPane.DEFAULT_PAGESCALE.


isMetric

boolean isMetric
Specifies the unit system. Default is JGraphEditorDiagramPane.DEFAULT_ISMETRIC.


rulerSize

int rulerSize
Specifies height or width of the ruler. Default is 15 pixels.


graph

org.jgraph.JGraph graph
Reference to the attached graph.


drag

Point drag
Holds the current and first mouse point.


mouse

Point mouse
Holds the current and first mouse point.


increment

double increment
Parameters to control the display.


units

double units
Parameters to control the display.


Class com.jgraph.editor.factory.JGraphEditorToolbox extends JToolBar implements Serializable

Serialized Fields

redirector

org.jgraph.graph.BasicMarqueeHandler redirector
Holds the marquee redirector.


previousMarqueeHandler

org.jgraph.graph.BasicMarqueeHandler previousMarqueeHandler
References the previous marquee handler.


selectionTool

JGraphEditorTool selectionTool
References the tool that is currently selected, ie the tool that is used to interact with the graph.


defaultButton

AbstractButton defaultButton
References the default tool button which is activated after the use of any other tool.


graph

org.jgraph.JGraph graph
References the graph that is currently installed, ie the graph that is used to interact with the selection tool.


Class com.jgraph.pad.dialog.JGraphpadAboutDialog extends JGraphpadDialog implements Serializable


Class com.jgraph.JGraphpadApplet extends Applet implements Serializable

Serialized Fields

arguments

Map arguments
Contains the arguments found in the init method.


Class com.jgraph.pad.dialog.JGraphpadAuthenticator.AuthDialog extends JGraphpadDialog implements Serializable

Serialized Fields

username

JTextField username
Holds the username field. Note: createContent is called before the instance initialization so the instance must be constructed there.


password

JPasswordField password
Holds the password field. Note: createContent is called before the instance initialization so the instance must be constructed there.


Class com.jgraph.pad.graph.JGraphpadBusinessObject extends Object implements Serializable

Serialized Fields

properties

Map properties
Holds the properties as (key, value) pairs.


Class com.jgraph.pad.action.JGraphpadCellAction extends JGraphpadFormatAction implements Serializable


Class com.jgraph.pad.graph.JGraphpadCellViewFactory extends org.jgraph.graph.DefaultCellViewFactory implements Serializable


Class com.jgraph.pad.factory.JGraphpadConsole extends JTextArea implements Serializable

Serialized Fields

stream

PrintStream stream
Holds the print stream that acts as a data source.


Class com.jgraph.JGraphpadDemo.JGraphpadDemoFileAction extends JGraphpadFileAction implements Serializable


Class com.jgraph.pad.JGraphpadDiagram extends DefaultMutableTreeNode implements Serializable

Serialized Fields

graphLayoutCache

org.jgraph.graph.GraphLayoutCache graphLayoutCache
Holds the graph layout cache that defines the diagram.


properties

Map properties
Holds the diagram properties.


Class com.jgraph.pad.dialog.JGraphpadDialog extends JDialog implements Serializable

Serialized Fields

buttonPanel

JPanel buttonPanel
Holds the button panel.


Class com.jgraph.pad.dialog.JGraphpadDialogs.CancelException extends RuntimeException implements Serializable


Class com.jgraph.pad.dialog.JGraphpadDialogs.FontDialog extends JGraphpadDialog implements Serializable

Serialized Fields

font

Font font
Holds the selection font.


Class com.jgraph.pad.graph.JGraphpadEdgeRenderer extends org.jgraph.graph.EdgeRenderer implements Serializable

Serialized Fields

isRichText

boolean isRichText

text

String text

x_buff

double x_buff

y_buff

double y_buff

verticalAlignment

int verticalAlignment

userObject

Object userObject
Holds the user object of the current cell.


Class com.jgraph.pad.graph.JGraphpadEdgeView extends org.jgraph.graph.EdgeView implements Serializable


Class com.jgraph.pad.graph.JGraphpadEdgeView.JGraphpadEdgeHandle extends org.jgraph.graph.EdgeView.EdgeHandle implements Serializable

Serialized Fields

resetOffset

boolean resetOffset
Specifies if the offset should be reset if the mouse is released.


Class com.jgraph.pad.action.JGraphpadEditAction extends JGraphEditorAction implements Serializable

Serialized Fields

fallbackAction

Action fallbackAction
Fallback action if the focus-owner is not a graph. This is assigned internally for special action names, namely cut, copy, paste and delete for text components.


Class com.jgraph.pad.JGraphpadFile extends DefaultMutableTreeNode implements Serializable


Class com.jgraph.pad.action.JGraphpadFileAction extends JGraphEditorAction implements Serializable

Serialized Fields

editor

JGraphEditor editor
References the enclosing editor.


lastDirectory

File lastDirectory
Holds the last directory for file operations.


Class com.jgraph.pad.action.JGraphpadFormatAction extends JGraphEditorAction implements Serializable

Serialized Fields

lastDirectory

File lastDirectory
Holds the last directory for file operations.


Class com.jgraph.pad.dialog.JGraphpadGradientPanel extends JPanel implements Serializable

Serialized Fields

startColor

Color startColor
Start- and endcolor of the gradient fill.


endColor

Color endColor
Start- and endcolor of the gradient fill.


Class com.jgraph.pad.graph.JGraphpadGraph extends org.jgraph.JGraph implements Serializable


Class com.jgraph.pad.graph.JGraphpadGraphLayoutCache extends org.jgraph.graph.GraphLayoutCache implements Serializable


Class com.jgraph.pad.graph.JGraphpadGraphModel extends org.jgraph.graph.DefaultGraphModel implements Serializable


Class com.jgraph.pad.dialog.JGraphpadHeaderPanel extends JGraphpadGradientPanel implements Serializable


Class com.jgraph.pad.graph.JGraphpadHeavyweightRenderer extends JPanel implements Serializable

Serialized Fields

text

JTextField text

checkbox

JCheckBox checkbox

spinner

JSpinner spinner

combo

JComboBox combo

toggle

JToggleButton toggle


Class com.jgraph.pad.graph.JGraphpadHeavyweightRenderer.ScaledLineBorder extends LineBorder implements Serializable


Class com.jgraph.pad.action.JGraphpadHelpAction extends JGraphEditorAction implements Serializable

Serialized Fields

aboutDialog

JGraphpadAboutDialog aboutDialog
Holds the about dialog. Lazy creation.


Class com.jgraph.pad.util.JGraphpadImageIcon extends ImageIcon implements Serializable

Serialized Fields

filename

String filename


Class com.jgraph.pad.JGraphpadLibrary extends JGraphpadFile implements Serializable

Serialized Fields

isReadOnly

boolean isReadOnly
Specifies if the library can be changed. Default is false. Note: There is no way to change this setting via the UI. Please use a file edit to change the setting within the XML file that represents this library.


graphLayoutCache

org.jgraph.graph.GraphLayoutCache graphLayoutCache
Holds the graph layout cache that contains the cells.


Class com.jgraph.pad.factory.JGraphpadLibraryPane extends JComponent implements Serializable

Serialized Fields

library

JGraphpadLibrary library
References the library.


editor

JGraphEditor editor
References the enclosing editor.


entrywidth

int entrywidth
Defines geometry and spacing.


entryheight

int entryheight
Defines geometry and spacing.


hgap

int hgap
Defines geometry and spacing.


vgap

int vgap
Defines geometry and spacing.


rendererPane

CellRendererPane rendererPane

backingGraph

org.jgraph.JGraph backingGraph
Holds the backing graph for rendering. Makes sure the cell renderer pane is actually inserted into a valid component.


autoBoxing

boolean autoBoxing
Automatically groups cells on drop and ungroups cells on drag. Default is true.


antiAliased

boolean antiAliased
Specifies whether to use antialiasing to render the entries.


isReadOnly

boolean isReadOnly
Specifies whether the library can be changed.


Class com.jgraph.pad.factory.JGraphpadLibraryPane.AutoBoxCell extends org.jgraph.graph.DefaultGraphCell implements Serializable


Class com.jgraph.pad.factory.JGraphpadLibraryPane.LibraryGraphTransferHandler extends org.jgraph.graph.GraphTransferHandler implements Serializable


Class com.jgraph.pad.factory.JGraphpadLibraryPane.LibraryTransferHandler extends TransferHandler implements Serializable


Class com.jgraph.pad.factory.JGraphpadPane extends JPanel implements Serializable

Serialized Fields

desktopPane

JDesktopPane desktopPane
Holds the desktop pane.


internalFrames

Map internalFrames
Maps from diagrams to internal frames.


editor

JGraphEditor editor
References the enclosing editor.


Class com.jgraph.pad.util.JGraphpadParallelEdgeRouter extends org.jgraph.util.ParallelEdgeRouter implements Serializable


Class com.jgraph.pad.util.JGraphpadParallelSplineRouter extends org.jgraph.graph.DefaultEdge.LoopRouting implements Serializable

Serialized Fields

edgeSeparation

double edgeSeparation
The distance between the control point and the middle line. A larger number will lead to a more "bubbly" appearance of the bezier edges.


Class com.jgraph.pad.graph.JGraphpadPortView extends org.jgraph.graph.PortView implements Serializable


Class com.jgraph.pad.graph.JGraphpadRedirectingEditor extends org.jgraph.graph.DefaultGraphCellEditor implements Serializable


Class com.jgraph.pad.graph.JGraphpadRichTextEditor extends org.jgraph.graph.DefaultGraphCellEditor implements Serializable


Class com.jgraph.pad.graph.JGraphpadRichTextValue extends Object implements Serializable

Serialized Fields

richText

String richText
Holds the rich text as an RTF encoded text.


plainText

String plainText
A plain-text representation of the rich text is always keps along with the rich text value to speedup the JGraphpadRichTextValue.toString() method.


Class com.jgraph.pad.util.JGraphpadShadowBorder extends Object implements Serializable

Serialized Fields

insets

Insets insets


Class com.jgraph.pad.factory.JGraphpadStatusBar extends JPanel implements Serializable

Serialized Fields

infoLabel

JLabel infoLabel
Holds the labels contained in the status bar.


modifiedLabel

JLabel modifiedLabel
Holds the labels contained in the status bar.


editableLabel

JLabel editableLabel
Holds the labels contained in the status bar.


zoomLabel

JLabel zoomLabel
Holds the labels contained in the status bar.


mouseLabel

JLabel mouseLabel
Holds the labels contained in the status bar.


spareLabel

JLabel spareLabel
Holds the labels contained in the status bar.


Class com.jgraph.pad.graph.JGraphpadTransferHandler extends org.jgraph.graph.GraphTransferHandler implements Serializable


Class com.jgraph.pad.graph.JGraphpadVertexRenderer extends org.jgraph.graph.VertexRenderer implements Serializable

Serialized Fields

graph

org.jgraph.JGraph graph
Holds a reference to fetch the correct cell value from the model in paint. This should go into getComponentRenderer.


userObject

Object userObject
Holds the user object of the current cell.


shape

int shape
Holds the shape of the current view.


isRichText

boolean isRichText
Specifies whether the current view is a rich text value, and if the image should be stretched.


stretchImage

boolean stretchImage
Specifies whether the current view is a rich text value, and if the image should be stretched.


isEditing

boolean isEditing
Specifies whether the current view is a rich text value, and if the image should be stretched.


showFoldingIcons

boolean showFoldingIcons
Specifies whether the current view is a rich text value, and if the image should be stretched.


isGroup

boolean isGroup
Specifies whether the current view is a rich text value, and if the image should be stretched.


graphBackground

Color graphBackground
Holds the background and foreground of the graph.


graphForeground

Color graphForeground
Holds the background and foreground of the graph.


valueComponent

Component valueComponent
References the value component of the user object if one exists.


cylinderArea

Area cylinderArea
Holds the area to be painted for the cylinder shape.


diamond

Polygon diamond
Holds the shape to be painted for diamond cells.


roundRectArc

int roundRectArc
Holds the round rect arc size for rounded rectangles.


Class com.jgraph.pad.graph.JGraphpadVertexView extends org.jgraph.graph.VertexView implements Serializable


Class com.jgraph.pad.action.JGraphpadViewAction extends JGraphEditorAction implements Serializable

Serialized Fields

lastDirectory

File lastDirectory
Holds the last directory for file operations.


Class com.jgraph.pad.factory.JGraphpadWindowMenu extends JMenu implements Serializable

Serialized Fields

desktopPane

JDesktopPane desktopPane
References the desktop pane that this menu represents. This is assigned only after the desktop pane has been created by the respective factory method.


items

List items
Holds all dynamically created items.


JGraphpad Pro
v6.0.5.0


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