Serialized Form
-
Package com.mxgraph.analysis
-
Exception Class com.mxgraph.analysis.StructuralException
class StructuralException extends Exception implements Serializable- serialVersionUID:
- -468633497832330356L
-
-
Package com.mxgraph.layout.hierarchical.model
-
Class com.mxgraph.layout.hierarchical.model.mxGraphHierarchyRank
class mxGraphHierarchyRank extends LinkedHashSet<mxGraphAbstractHierarchyCell> implements Serializable- serialVersionUID:
- -2781491210687143878L
-
-
Package com.mxgraph.layout.hierarchical.stage
-
Class com.mxgraph.layout.hierarchical.stage.mxCoordinateAssignment.AreaSpatialCache
class AreaSpatialCache extends Rectangle2D.Double implements Serializable
-
-
Package com.mxgraph.model
-
Class com.mxgraph.model.mxCell
class mxCell extends Object implements Serializable- serialVersionUID:
- 910211337632342672L
-
Serialized Fields
-
children
List<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
List<Object> edges
Holds the child cells and connected edges. -
geometry
mxGeometry geometry
Holds the geometry. Default is null. -
id
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
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
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
class 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
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
class mxGraphModel extends mxEventSource implements Serializable-
Serialization Methods
-
readObject
Initializes the currentEdit field if the model is deserialized.- Throws:
IOException
ClassNotFoundException
-
-
Serialized Fields
-
cells
Map<String,
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
class mxGraphComponent extends 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
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
ImageIcon collapsedIcon
-
components
Hashtable<Object,
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
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
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
Hashtable<Object,
mxICellOverlay[]> overlays Maps from cells to lists of overlays. -
pageBackgroundColor
Color pageBackgroundColor
Color of the background area if layout view. -
pageBorderColor
Color pageBorderColor
-
pageBreakColor
Color pageBreakColor
Specifies the color of page breaks -
pageBreaksVisible
boolean pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages. -
pageFormat
PageFormat pageFormat
Background page format. -
pageScale
double pageScale
Defines the scaling for the background page metrics. Default ismxGraphComponent.DEFAULT_PAGESCALE
. -
pageShadowColor
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
BufferedImage tripleBuffer
-
tripleBuffered
boolean tripleBuffered
Specifies if an image buffer should be used for painting the component. Default is false. -
tripleBufferGraphics
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
PropertyChangeListener viewChangeHandler
-
warningIcon
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
class mxGraphControl extends JComponent implements Serializable- serialVersionUID:
- -8916603170766739124L
-
Serialized Fields
-
translate
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
class mxGraphOutline extends JComponent implements Serializable- serialVersionUID:
- -2521103946905154267L
-
Serialized Fields
-
adjustmentHandler
AdjustmentListener adjustmentHandler
-
antiAlias
boolean antiAlias
-
componentHandler
ComponentListener componentHandler
-
drawLabels
boolean drawLabels
-
finderBounds
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
Point translate
-
tripleBuffer
BufferedImage tripleBuffer
TODO: Not yet implemented. -
tripleBuffered
boolean tripleBuffered
-
tripleBufferGraphics
Graphics2D tripleBufferGraphics
Holds the graphics of the triple buffer. -
useScaledInstance
boolean useScaledInstance
-
zoomHandleLocation
Point zoomHandleLocation
-
zoomHandleVisible
boolean zoomHandleVisible
-
-
-
Package com.mxgraph.swing.handler
-
Class com.mxgraph.swing.handler.mxCellMarker
class mxCellMarker extends 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
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
Color validColor
Specifies the valid- and invalidColor for the marker.
-
-
Class com.mxgraph.swing.handler.mxCellTracker
class mxCellTracker extends mxCellMarker implements Serializable- serialVersionUID:
- 7372144804885125688L
-
Class com.mxgraph.swing.handler.mxGraphTransferHandler
class mxGraphTransferHandler extends 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
Transferable lastImported
Reference to the last imported cell array. -
location
Point location
-
offset
Point offset
-
originalCells
Object[] originalCells
Reference to the original cells for removal after a move. -
transferImageBackground
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
class mxCellOverlay extends JComponent implements Serializable- serialVersionUID:
- 921991820491141221L
-
Serialized Fields
-
align
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
ImageIcon imageIcon
-
verticalAlign
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
class DeleteAction extends AbstractAction implements Serializable- serialVersionUID:
- -8212339796803275529L
-
Class com.mxgraph.swing.util.mxGraphActions.DrillAction
class DrillAction extends AbstractAction implements Serializable- serialVersionUID:
- 5464382323663870291L
-
Class com.mxgraph.swing.util.mxGraphActions.EditAction
class EditAction extends AbstractAction implements Serializable- serialVersionUID:
- 4610112721356742702L
-
Class com.mxgraph.swing.util.mxGraphActions.FoldAction
class FoldAction extends AbstractAction implements Serializable- serialVersionUID:
- 4078517503905239901L
-
Class com.mxgraph.swing.util.mxGraphActions.GroupAction
class GroupAction extends AbstractAction implements Serializable- serialVersionUID:
- -4718086600089409092L
-
Class com.mxgraph.swing.util.mxGraphActions.LayerAction
class LayerAction extends AbstractAction implements Serializable- serialVersionUID:
- 562519299806253741L
-
Class com.mxgraph.swing.util.mxGraphActions.RemoveFromParentAction
class RemoveFromParentAction extends AbstractAction implements Serializable- serialVersionUID:
- 7169443038859140811L
-
Class com.mxgraph.swing.util.mxGraphActions.SelectAction
class SelectAction extends AbstractAction implements Serializable- serialVersionUID:
- 6501585024845668187L
-
Class com.mxgraph.swing.util.mxGraphActions.UngroupAction
class UngroupAction extends AbstractAction implements Serializable- serialVersionUID:
- 2247770767961318251L
-
Class com.mxgraph.swing.util.mxGraphActions.UpdateGroupBoundsAction
class UpdateGroupBoundsAction extends AbstractAction implements Serializable- serialVersionUID:
- -4718086600089409092L
-
Class com.mxgraph.swing.util.mxGraphActions.ZoomAction
class ZoomAction extends AbstractAction implements Serializable- serialVersionUID:
- -7500195051313272384L
-
Class com.mxgraph.swing.util.mxGraphTransferable
class mxGraphTransferable extends Object implements Serializable- serialVersionUID:
- 5123819419918087664L
-
Serialized Fields
-
bounds
mxRectangle bounds
-
cells
Object[] cells
-
image
ImageIcon image
-
-
-
Package com.mxgraph.util
-
Class com.mxgraph.util.mxImage
class mxImage extends Object implements Serializable- serialVersionUID:
- 8541229679513497585L
-
Serialized Fields
-
height
int height
Holds the image width and height. -
src
String src
Holds the path or URL for the image. -
width
int width
Holds the image width and height.
-
-
Class com.mxgraph.util.mxLightweightLabel
class mxLightweightLabel extends JLabel implements Serializable- serialVersionUID:
- -6771477489533614010L
-
Class com.mxgraph.util.mxLine
class mxLine extends mxPoint implements Serializable- serialVersionUID:
- -4730972599169158546L
-
Serialized Fields
-
endPoint
mxPoint endPoint
The end point of the line
-
-
Class com.mxgraph.util.mxPoint
class mxPoint extends 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
class 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
class mxPngSuggestedPaletteEntry extends 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
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
-
Exception Class com.mxgraph.util.svg.ParseException
class ParseException extends RuntimeException implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
The column number. -
exception
Exception exception
The embedded exception if tunnelling, or null. -
lineNumber
int lineNumber
The line number.
-
-
-
-
Package com.mxgraph.view
-
Class com.mxgraph.view.mxCellState
class 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
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
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
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
Map<String,
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.
-
-