Serialized Form
-
Package com.mxgraph.analysis
-
Class com.mxgraph.analysis.StructuralException extends java.lang.Exception implements Serializable
- serialVersionUID:
- -468633497832330356L
-
-
Package com.mxgraph.layout.hierarchical.model
-
Class com.mxgraph.layout.hierarchical.model.mxGraphHierarchyRank extends java.util.LinkedHashSet<mxGraphAbstractHierarchyCell> implements Serializable
- serialVersionUID:
- -2781491210687143878L
-
-
Package com.mxgraph.layout.hierarchical.stage
-
Class com.mxgraph.layout.hierarchical.stage.mxCoordinateAssignment.AreaSpatialCache extends java.awt.geom.Rectangle2D.Double implements Serializable
-
Serialized Fields
-
cells
java.util.Set<java.lang.Object> cells
-
-
-
-
Package com.mxgraph.model
-
Class com.mxgraph.model.mxCell extends java.lang.Object implements Serializable
- serialVersionUID:
- 910211337632342672L
-
Serialized Fields
-
children
java.util.List<java.lang.Object> children
Holds the child cells and connected edges. -
collapsed
boolean collapsed
Specifies whether the cell is a vertex or edge and whether it is connectable, visible and collapsed. Default values are false, false, true, true and false respectively. -
connectable
boolean connectable
Specifies whether the cell is a vertex or edge and whether it is connectable, visible and collapsed. Default values are false, false, true, true and false respectively. -
edge
boolean edge
Specifies whether the cell is a vertex or edge and whether it is connectable, visible and collapsed. Default values are false, false, true, true and false respectively. -
edges
java.util.List<java.lang.Object> edges
Holds the child cells and connected edges. -
geometry
mxGeometry geometry
Holds the geometry. Default is null. -
id
java.lang.String id
Holds the Id. Default is null. -
parent
mxICell parent
Reference to the parent cell and source and target terminals for edges. -
source
mxICell source
Reference to the parent cell and source and target terminals for edges. -
style
java.lang.String style
Holds the style as a string of the form stylename[;key=value]. Default is null. -
target
mxICell target
Reference to the parent cell and source and target terminals for edges. -
value
java.lang.Object value
Holds the user object. Default is null. -
vertex
boolean vertex
Specifies whether the cell is a vertex or edge and whether it is connectable, visible and collapsed. Default values are false, false, true, true and false respectively. -
visible
boolean visible
Specifies whether the cell is a vertex or edge and whether it is connectable, visible and collapsed. Default values are false, false, true, true and false respectively.
-
-
Class com.mxgraph.model.mxGeometry extends mxRectangle implements Serializable
- serialVersionUID:
- 2649828026610336589L
-
Serialized Fields
-
alternateBounds
mxRectangle alternateBounds
Stores alternate values for x, y, width and height in a rectangle. Default is null. -
offset
mxPoint offset
Holds the offset of the label for edges. This is the absolute vector between the center of the edge and the top, left point of the label. Default is null. -
points
java.util.List<mxPoint> points
List of mxPoints which specifies the control points along the edge. These points are the intermediate points on the edge, for the endpoints use targetPoint and sourcePoint or set the terminals of the edge to a non-null value. Default is null. -
relative
boolean relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates. Default is false. This is used to mark a geometry with an x- and y-coordinate that is used to describe an edge label position, or a relative location with respect to a parent cell's width and height. -
sourcePoint
mxPoint sourcePoint
Defines the source- and target-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null. -
targetPoint
mxPoint targetPoint
Defines the source- and target-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null.
-
-
Class com.mxgraph.model.mxGraphModel extends mxEventSource implements Serializable
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream ois) throws java.io.IOException, java.lang.ClassNotFoundException
Initializes the currentEdit field if the model is deserialized.- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-
Serialized Fields
-
cells
java.util.Map<java.lang.String,java.lang.Object> cells
Maps from Ids to cells. -
createIds
boolean createIds
Specifies if the model should automatically create Ids for new cells. Default is true. -
maintainEdgeParent
boolean maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals. Default is true. -
nextId
int nextId
Specifies the next Id to be created. Initial value is 0. -
root
mxICell root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. That is, the actual element of the diagram are supposed to live in the third generation of cells and below.
-
-
-
-
Package com.mxgraph.swing
-
Class com.mxgraph.swing.mxGraphComponent extends javax.swing.JScrollPane implements Serializable
- serialVersionUID:
- -30203858391633447L
-
Serialized Fields
-
antiAlias
boolean antiAlias
-
autoExtend
boolean autoExtend
Whether to extend the graph bounds and scroll towards the limit of those new bounds in the direction of mouse travel if a handler is active while the mouse leaves the container that the graph exists in. -
autoScroll
boolean autoScroll
Whether or not to scroll the scrollable container the graph exists in if a suitable handler is active and the graph bounds already exist extended in the direction of mouse travel. -
backgroundImage
javax.swing.ImageIcon backgroundImage
Specifies theto be returned by . Default is null. -
canvas
mxInteractiveCanvas canvas
-
cellEditor
mxICellEditor cellEditor
-
centerPage
boolean centerPage
Specifies if the background page should be centered by automatically setting the translate in the view. Default is true. This does only apply if pageVisible is true. -
centerZoom
boolean centerZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left. Default is true. -
collapsedIcon
javax.swing.ImageIcon collapsedIcon
-
components
java.util.Hashtable<java.lang.Object,java.awt.Component[]> components
Maps from cells to lists of heavyweights. -
connectionHandler
mxConnectionHandler connectionHandler
-
dragEnabled
boolean dragEnabled
-
enterStopsCellEditing
boolean enterStopsCellEditing
If true, pressing the enter key without pressing control will stop editing and accept the new value. This is used into stop cell editing. Default is false. -
escapeEnabled
boolean escapeEnabled
Specifiesshould be invoked when the escape key is pressed. Default is true. -
eventSource
mxEventSource eventSource
-
expandedIcon
javax.swing.ImageIcon expandedIcon
-
exportEnabled
boolean exportEnabled
-
foldingEnabled
boolean foldingEnabled
Specifies if folding (collapse and expand via an image icon in the graph should be enabled). Default is true. -
graph
mxGraph graph
-
graphControl
mxGraphComponent.mxGraphControl graphControl
-
graphHandler
mxGraphHandler graphHandler
-
gridColor
java.awt.Color gridColor
-
gridStyle
int gridStyle
-
gridVisible
boolean gridVisible
Specifies if the grid is visible. Default is false. -
horizontalPageCount
int horizontalPageCount
Specifies the number of pages in the horizontal direction. -
importEnabled
boolean importEnabled
-
invokesStopCellEditing
boolean invokesStopCellEditing
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved. This is implemented in a mouse listener in this class. Default is true. -
keepSelectionVisibleOnZoom
boolean keepSelectionVisibleOnZoom
Specifies if the viewport should automatically contain the selection cells after a zoom operation. Default is false. -
overlays
java.util.Hashtable<java.lang.Object,mxICellOverlay[]> overlays
Maps from cells to lists of overlays. -
pageBackgroundColor
java.awt.Color pageBackgroundColor
Color of the background area if layout view. -
pageBorderColor
java.awt.Color pageBorderColor
-
pageBreakColor
java.awt.Color pageBreakColor
Specifies the color of page breaks -
pageBreaksVisible
boolean pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages. -
pageFormat
java.awt.print.PageFormat pageFormat
Background page format. -
pageScale
double pageScale
Defines the scaling for the background page metrics. Default ismxGraphComponent.DEFAULT_PAGESCALE
. -
pageShadowColor
java.awt.Color pageShadowColor
-
pageVisible
boolean pageVisible
Specifies if the background page should be visible. Default is false. -
panningHandler
mxPanningHandler panningHandler
-
preferPageSize
boolean preferPageSize
If the pageFormat should be used to determine the minimal graph bounds even if the page is not visible (see pageVisible). Default is false. -
previewAlpha
float previewAlpha
The transparency of previewed cells from 0.0. to 0.1. 0.0 indicates transparent, 1.0 indicates opaque. Default is 1. -
repaintHandler
mxEventSource.mxIEventListener repaintHandler
-
scaleHandler
mxEventSource.mxIEventListener scaleHandler
Resets the zoom policy if the scale is changed manually. -
selectionCellsHandler
mxSelectionCellsHandler selectionCellsHandler
-
showDirtyRectangle
boolean showDirtyRectangle
Used for debugging the dirty region. -
swimlaneSelectionEnabled
boolean swimlaneSelectionEnabled
Specifies if swimlanes are selected when the mouse is released over the swimlanes content area. Default is true. -
textAntiAlias
boolean textAntiAlias
-
tolerance
int tolerance
Specifies the tolerance for mouse clicks. Default is 4. -
transparentSwimlaneContent
boolean transparentSwimlaneContent
Specifies if the content area should be transparent to events. Default is true. -
tripleBuffer
java.awt.image.BufferedImage tripleBuffer
-
tripleBuffered
boolean tripleBuffered
Specifies if an image buffer should be used for painting the component. Default is false. -
tripleBufferGraphics
java.awt.Graphics2D tripleBufferGraphics
-
updateHandler
mxEventSource.mxIEventListener updateHandler
Updates the heavyweight component structure after any changes. -
verticalPageCount
int verticalPageCount
Specifies the number of pages in the vertical direction. -
viewChangeHandler
java.beans.PropertyChangeListener viewChangeHandler
-
warningIcon
javax.swing.ImageIcon warningIcon
-
zoomFactor
double zoomFactor
Specifies the factor used for zoomIn and zoomOut. Default is 1.2 (120%). -
zoomPolicy
int zoomPolicy
Specifies the zoom policy. Default is ZOOM_POLICY_PAGE. The zoom policy does only apply if pageVisible is true.
-
-
Class com.mxgraph.swing.mxGraphComponent.mxGraphControl extends javax.swing.JComponent implements Serializable
- serialVersionUID:
- -8916603170766739124L
-
Serialized Fields
-
translate
java.awt.Point translate
Specifies a translation for painting. This should only be used during mouse drags and must be reset after any interactive repaints. Default is (0,0). This should not be null.
-
-
Class com.mxgraph.swing.mxGraphOutline extends javax.swing.JComponent implements Serializable
- serialVersionUID:
- -2521103946905154267L
-
Serialized Fields
-
adjustmentHandler
java.awt.event.AdjustmentListener adjustmentHandler
-
antiAlias
boolean antiAlias
-
componentHandler
java.awt.event.ComponentListener componentHandler
-
drawLabels
boolean drawLabels
-
finderBounds
java.awt.Rectangle finderBounds
-
finderVisible
boolean finderVisible
-
fitPage
boolean fitPage
Specifies if the outline should be zoomed to the page if the graph component is in page layout mode. Default is true. -
graphComponent
mxGraphComponent graphComponent
-
outlineBorder
int outlineBorder
Not yet implemented. Border to add around the page bounds if wholePage is true. Default is 4. -
repaintBuffer
boolean repaintBuffer
True if the triple buffer needs a full repaint. -
repaintClip
mxRectangle repaintClip
Clip of the triple buffer to be repainted. -
repaintHandler
mxEventSource.mxIEventListener repaintHandler
-
scale
double scale
-
tracker
mxGraphOutline.MouseTracker tracker
-
translate
java.awt.Point translate
-
tripleBuffer
java.awt.image.BufferedImage tripleBuffer
TODO: Not yet implemented. -
tripleBuffered
boolean tripleBuffered
-
tripleBufferGraphics
java.awt.Graphics2D tripleBufferGraphics
Holds the graphics of the triple buffer. -
useScaledInstance
boolean useScaledInstance
-
zoomHandleLocation
java.awt.Point zoomHandleLocation
-
zoomHandleVisible
boolean zoomHandleVisible
-
-
-
Package com.mxgraph.swing.handler
-
Class com.mxgraph.swing.handler.mxCellMarker extends javax.swing.JComponent implements Serializable
- serialVersionUID:
- 614473367053597572L
-
Serialized Fields
-
enabled
boolean enabled
Specifies if the marker is enabled. Default is true. -
eventSource
mxEventSource eventSource
Holds the event source. -
graphComponent
mxGraphComponent graphComponent
Holds the enclosing graph component. -
hotspot
double hotspot
Specifies the portion of the width and height that should trigger a highlight. The area around the center of the cell to be marked is used as the hotspot. Possible values are between 0 and 1. Default is mxConstants.DEFAULT_HOTSPOT. -
hotspotEnabled
boolean hotspotEnabled
Specifies if the hotspot is enabled. Default is false. -
invalidColor
java.awt.Color invalidColor
Specifies the valid- and invalidColor for the marker. -
swimlaneContentEnabled
boolean swimlaneContentEnabled
Specifies if the the content area of swimlane should be non-transparent to mouse events. Default is false. -
validColor
java.awt.Color validColor
Specifies the valid- and invalidColor for the marker.
-
-
Class com.mxgraph.swing.handler.mxCellTracker extends mxCellMarker implements Serializable
- serialVersionUID:
- 7372144804885125688L
-
Class com.mxgraph.swing.handler.mxGraphTransferHandler extends javax.swing.TransferHandler implements Serializable
- serialVersionUID:
- -6443287704811197675L
-
Serialized Fields
-
importCount
int importCount
Counter for the last imported cell array. -
initialImportCount
int initialImportCount
Sets the value for the initialImportCount. Default is 1. Updated in exportDone to contain 0 after a cut and 1 after a copy. -
lastImported
java.awt.datatransfer.Transferable lastImported
Reference to the last imported cell array. -
location
java.awt.Point location
-
offset
java.awt.Point offset
-
originalCells
java.lang.Object[] originalCells
Reference to the original cells for removal after a move. -
transferImageBackground
java.awt.Color transferImageBackground
Specifies the background color for the transfer image. Default is DEFAULT_BACKGROUNDCOLOR. -
transferImageEnabled
boolean transferImageEnabled
Specifies if a transfer image should be created for the transferable. Default is DEFAULT_TRANSFER_IMAGE.
-
-
-
Package com.mxgraph.swing.util
-
Class com.mxgraph.swing.util.mxCellOverlay extends javax.swing.JComponent implements Serializable
- serialVersionUID:
- 921991820491141221L
-
Serialized Fields
-
align
java.lang.Object align
Holds the horizontal alignment for the overlay. Default is ALIGN_RIGHT. For edges, the overlay always appears in the center of the edge. -
defaultOverlap
double defaultOverlap
Defines the overlapping for the overlay, that is, the proportional distance from the origin to the point defined by the alignment. Default is 0.5. -
imageIcon
javax.swing.ImageIcon imageIcon
-
verticalAlign
java.lang.Object verticalAlign
Holds the vertical alignment for the overlay. Default is bottom. For edges, the overlay always appears in the center of the edge.
-
-
Class com.mxgraph.swing.util.mxGraphActions.DeleteAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- -8212339796803275529L
-
Class com.mxgraph.swing.util.mxGraphActions.DrillAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- 5464382323663870291L
-
Class com.mxgraph.swing.util.mxGraphActions.EditAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- 4610112721356742702L
-
Class com.mxgraph.swing.util.mxGraphActions.FoldAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- 4078517503905239901L
-
Class com.mxgraph.swing.util.mxGraphActions.GroupAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- -4718086600089409092L
-
Class com.mxgraph.swing.util.mxGraphActions.LayerAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- 562519299806253741L
-
Class com.mxgraph.swing.util.mxGraphActions.RemoveFromParentAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- 7169443038859140811L
-
Class com.mxgraph.swing.util.mxGraphActions.SelectAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- 6501585024845668187L
-
Class com.mxgraph.swing.util.mxGraphActions.UngroupAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- 2247770767961318251L
-
Class com.mxgraph.swing.util.mxGraphActions.UpdateGroupBoundsAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- -4718086600089409092L
-
Class com.mxgraph.swing.util.mxGraphActions.ZoomAction extends javax.swing.AbstractAction implements Serializable
- serialVersionUID:
- -7500195051313272384L
-
Class com.mxgraph.swing.util.mxGraphTransferable extends java.lang.Object implements Serializable
- serialVersionUID:
- 5123819419918087664L
-
Serialized Fields
-
bounds
mxRectangle bounds
-
cells
java.lang.Object[] cells
-
image
javax.swing.ImageIcon image
-
-
-
Package com.mxgraph.util
-
Class com.mxgraph.util.mxImage extends java.lang.Object implements Serializable
- serialVersionUID:
- 8541229679513497585L
-
Serialized Fields
-
height
int height
Holds the image width and height. -
src
java.lang.String src
Holds the path or URL for the image. -
width
int width
Holds the image width and height.
-
-
Class com.mxgraph.util.mxLightweightLabel extends javax.swing.JLabel implements Serializable
- serialVersionUID:
- -6771477489533614010L
-
Class com.mxgraph.util.mxLine extends mxPoint implements Serializable
- serialVersionUID:
- -4730972599169158546L
-
Serialized Fields
-
endPoint
mxPoint endPoint
The end point of the line
-
-
Class com.mxgraph.util.mxPoint extends java.lang.Object implements Serializable
- serialVersionUID:
- 6554231393215892186L
-
Serialized Fields
-
x
double x
Holds the x- and y-coordinates of the point. Default is 0. -
y
double y
Holds the x- and y-coordinates of the point. Default is 0.
-
-
Class com.mxgraph.util.mxRectangle extends mxPoint implements Serializable
- serialVersionUID:
- -3793966043543578946L
-
Serialized Fields
-
height
double height
Holds the width and the height. Default is 0. -
width
double width
Holds the width and the height. Default is 0.
-
-
-
Package com.mxgraph.util.png
-
Class com.mxgraph.util.png.mxPngSuggestedPaletteEntry extends java.lang.Object implements Serializable
- serialVersionUID:
- -8711686482529372447L
-
Serialized Fields
-
alpha
int alpha
The alpha opacity value of the entry. -
blue
int blue
The blue color value of the entry. -
frequency
int frequency
The probable frequency of the color in the image. -
green
int green
The green color value of the entry. -
name
java.lang.String name
The name of the entry. -
red
int red
The red color value of the entry. -
sampleDepth
int sampleDepth
The depth of the color samples.
-
-
-
Package com.mxgraph.util.svg
-
Class com.mxgraph.util.svg.ParseException extends java.lang.RuntimeException implements Serializable
-
Serialized Fields
-
columnNumber
int columnNumber
The column number. -
exception
java.lang.Exception exception
The embedded exception if tunnelling, or null. -
lineNumber
int lineNumber
The line number.
-
-
-
-
Package com.mxgraph.view
-
Class com.mxgraph.view.mxCellState extends mxRectangle implements Serializable
- serialVersionUID:
- 7588335615324083354L
-
Serialized Fields
-
absoluteOffset
mxPoint absoluteOffset
Holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex. -
absolutePoints
java.util.List<mxPoint> absolutePoints
List of mxPoints that represent the absolute points of an edge. -
boundingBox
mxRectangle boundingBox
Holds the largest rectangle which contains all rendering for this cell. -
cell
java.lang.Object cell
Reference to the cell that is represented by this state. -
invalid
boolean invalid
Specifies if the state is invalid. Default is true. -
label
java.lang.String label
Holds the current label value, including newlines which result from word wrapping. -
labelBounds
mxRectangle labelBounds
Holds the rectangle which contains the label. -
length
double length
Caches the distance between the end points and the length of an edge. -
origin
mxPoint origin
Holds the origin for all child cells. -
segments
double[] segments
Array of numbers that represent the cached length of each segment of the edge. -
style
java.util.Map<java.lang.String,java.lang.Object> style
Contains an array of key, value pairs that represent the style of the cell. -
terminalDistance
double terminalDistance
Caches the distance between the end points and the length of an edge. -
view
mxGraphView view
Reference to the enclosing graph view. -
visibleSourceState
mxCellState visibleSourceState
Caches the visible source and target terminal states. -
visibleTargetState
mxCellState visibleTargetState
Caches the visible source and target terminal states.
-
-