Serialized Form
Package com.mxgraph.layout.hierarchical.model |
Package com.mxgraph.model |
id
String id
- Holds the Id. Default is null.
value
Object value
- Holds the user object. Default is null.
geometry
mxGeometry geometry
- Holds the geometry. Default is null.
style
String style
- Holds the style as a string of the form
stylename[;key=value]. 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.
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.
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.
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.
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.
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.
target
mxICell target
- Reference to the parent cell and source and target terminals for edges.
children
List<E> children
- Holds the child cells and connected edges.
edges
List<E> edges
- Holds the child cells and connected edges.
alternateBounds
mxRectangle alternateBounds
- Stores alternate values for x, y, width and height in a rectangle.
Default is null.
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.
points
List<E> 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.
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.
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.
Package com.mxgraph.swing |
graph
mxGraph graph
graphControl
mxGraphComponent.mxGraphControl graphControl
eventSource
mxEventSource eventSource
cellEditor
mxICellEditor cellEditor
connectionHandler
mxConnectionHandler connectionHandler
panningHandler
mxPanningHandler panningHandler
subHandler
mxSubHandler subHandler
graphHandler
mxGraphHandler graphHandler
backgroundImage
ImageIcon backgroundImage
- Specifies the to be returned by . Default
is null.
pageFormat
PageFormat pageFormat
- Background page format.
canvas
mxInteractiveCanvas canvas
tripleBuffer
BufferedImage tripleBuffer
tripleBufferGraphics
Graphics2D tripleBufferGraphics
pageScale
double pageScale
- Defines the scaling for the background page metrics. Default is
mxGraphComponent.DEFAULT_PAGESCALE
.
pageVisible
boolean pageVisible
- Specifies if the background page should be visible. Default is false.
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.
pageBreakVisible
boolean pageBreakVisible
- Specifies if a dashed line should be drawn between multiple pages.
horizontalPageCount
int horizontalPageCount
- Specifies the number of pages in the horizontal direction.
verticalPageCount
int verticalPageCount
- Specifies the number of pages in the vertical direction.
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.
pageBackgroundColor
Color pageBackgroundColor
- Color of the background area if layout view.
pageShadowColor
Color pageShadowColor
pageBorderColor
Color pageBorderColor
gridVisible
boolean gridVisible
- Specifies if the grid is visible. Default is false.
gridColor
Color gridColor
dragEnabled
boolean dragEnabled
importEnabled
boolean importEnabled
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.
tolerance
int tolerance
- Specifies the tolerance for mouse clicks. Default is 4.
swimlaneSelectionEnabled
boolean swimlaneSelectionEnabled
- Specifies if swimlanes are selected when the mouse is released over the
swimlanes content area. Default is true.
transparentSwimlaneContent
boolean transparentSwimlaneContent
- Specifies if the content area should be transparent to events. Default is true.
gridStyle
int gridStyle
expandedIcon
ImageIcon expandedIcon
collapsedIcon
ImageIcon collapsedIcon
warningIcon
ImageIcon warningIcon
antiAlias
boolean antiAlias
textAntiAlias
boolean textAntiAlias
escapeEnabled
boolean escapeEnabled
- Specifies should be invoked when the escape key
is pressed. Default is true.
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.
enterStopsCellEditing
boolean enterStopsCellEditing
- If true, pressing the enter key without pressing control will stop
editing and accept the new value. This is used in to stop
cell editing. Default is false.
zoomPolicy
int zoomPolicy
- Specifies the zoom policy. Default is ZOOM_POLICY_PAGE. The zoom policy
does only apply if pageVisible is true.
zoomFactor
double zoomFactor
- Specifies the factor used for zoomIn and zoomOut. Default is 1.2
(120%).
keepSelectionVisibleOnZoom
boolean keepSelectionVisibleOnZoom
- Specifies if the viewport should automatically contain
the selection cells after a zoom operation. Default
is false.
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.
tripleBuffered
boolean tripleBuffered
- Specifies if an image buffer should be used for painting the
component. Default is false.
showDirtyRectangle
boolean showDirtyRectangle
- Used for debugging the dirty region.
components
Hashtable<K,V> components
- Maps from cells to lists of heavyweights.
overlays
Hashtable<K,V> overlays
- Maps from cells to lists of overlays.
updateHandler
mxEventSource.mxIEventListener updateHandler
- Updates the heavyweight component structure after any changes.
repaintHandler
mxEventSource.mxIEventListener repaintHandler
viewChangeHandler
PropertyChangeListener viewChangeHandler
scaleHandler
mxEventSource.mxIEventListener scaleHandler
- Resets the zoom policy if the scale is changed manually.
graphComponent
mxGraphComponent graphComponent
tripleBuffer
BufferedImage tripleBuffer
- TODO: Not yet implemented.
tripleBufferGraphics
Graphics2D tripleBufferGraphics
- Holds the graphics of the triple buffer.
repaintBuffer
boolean repaintBuffer
- True if the triple buffer needs a full repaint.
repaintClip
mxRectangle repaintClip
- Clip of the triple buffer to be repainted.
tripleBuffered
boolean tripleBuffered
finderBounds
Rectangle finderBounds
zoomHandleLocation
Point zoomHandleLocation
finderVisible
boolean finderVisible
zoomHandleVisible
boolean zoomHandleVisible
useScaledInstance
boolean useScaledInstance
antiAlias
boolean antiAlias
drawLabels
boolean drawLabels
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.
outlineBorder
int outlineBorder
- Not yet implemented.
Border to add around the page bounds if wholePage is true.
Default is 4.
tracker
mxGraphOutline.MouseTracker tracker
scale
double scale
translate
Point translate
repaintHandler
mxEventSource.mxIEventListener repaintHandler
componentHandler
ComponentListener componentHandler
adjustmentHandler
AdjustmentListener adjustmentHandler
Package com.mxgraph.swing.handler |
eventSource
mxEventSource eventSource
- Holds the event source.
graphComponent
mxGraphComponent graphComponent
- Holds the enclosing graph component.
enabled
boolean enabled
- Specifies if the marker is enabled. Default is true.
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.
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.
invalidColor
Color invalidColor
- Specifies the valid- and invalidColor for the marker.
graphComponent
mxGraphComponent graphComponent
connectIcon
ImageIcon connectIcon
- Specifies the icon to be used for creating new connections. If this is
specified then it is used instead of the handle. Default is null.
handleSize
int handleSize
- Specifies the size of the handle to be used for creating new
connections. Default is mxConstants.CONNECT_HANDLE_SIZE.
handleEnabled
boolean handleEnabled
- Specifies if a handle should be used for creating new connections. This
is only used if no connectIcon is specified. If this is false, then the
source cell will be highlighted when the mouse is over the hotspot given
in the marker. Default is mxConstants.CONNECT_HANDLE_ENABLED.
select
boolean select
createTarget
boolean createTarget
keepOnTop
boolean keepOnTop
- Appearance and event handling order wrt subhandles.
graphComponent
mxGraphComponent graphComponent
- Reference to the enclosing graph component.
cloneEnabled
boolean cloneEnabled
- Specifies if cloning by control-drag is enabled. Default is true.
moveEnabled
boolean moveEnabled
- Specifies if moving is enabled. Default is true.
selectEnabled
boolean selectEnabled
- Specifies if moving is enabled. Default is true.
removeCellsFromParent
boolean removeCellsFromParent
- Specifies if cells may be moved out of their parents.
imagePreview
boolean imagePreview
- Specifies if an image should be used for preview. Default is true.
centerPreview
boolean centerPreview
- Specifies if the preview should be centered around the mouse cursor if there
was no mouse click to define the offset within the shape (eg. drag from
external source). Default is true.
keepOnTop
boolean keepOnTop
- Specifies if this handler should be painted on top of all other components.
Default is true.
originalCells
Object[] originalCells
- Reference to the original cells for removal after a move.
lastImported
Object[] lastImported
- Reference to the last imported cell array.
importCount
int importCount
- Counter for the last imported cell array.
transferImageEnabled
boolean transferImageEnabled
- Specifies if a transfer image should be created for the transferable.
Default is DEFAULT_TRANSFER_IMAGE.
transferImageBackground
Color transferImageBackground
- Specifies the background color for the transfer image. Default is
DEFAULT_BACKGROUNDCOLOR.
location
Point location
offset
Point offset
graphComponent
mxGraphComponent graphComponent
graphComponent
mxGraphComponent graphComponent
- Reference to the enclosing graph component.
maxHandlers
int maxHandlers
- Defines the maximum number of handlers to paint individually.
Default is DEFAULT_MAX_HANDLES.
Package com.mxgraph.swing.util |
imageIcon
ImageIcon imageIcon
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.
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.
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.
serialVersionUID: 5123819419918087664L
cells
Object[] cells
bounds
mxRectangle bounds
image
ImageIcon image
src
String src
- Holds the path or URL for the image.
width
int width
- Holds the image width and height.
height
int height
- Holds the image width and height.
serialVersionUID: -6771477489533614010L
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.
width
double width
- Holds the width and the height. Default is 0.
height
double height
- Holds the width and the height. Default is 0.
view
mxGraphView view
- Reference to the enclosing graph view.
cell
Object cell
- Reference to the cell that is represented by this state.
style
Hashtable<K,V> style
- Contains an array of key, value pairs that represent the style of the
cell.
origin
mxPoint origin
- Holds the origin for all child cells.
absolutePoints
List<E> absolutePoints
- List of mxPoints that represent the absolute points of an edge.
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.
terminalDistance
double terminalDistance
- Caches the distance between the end points and the length of an edge.
length
double length
- Caches the distance between the end points and the length of an edge.
segments
double[] segments
- Array of numbers that represent the cached length of each segment of the
edge.
labelBounds
mxRectangle labelBounds
- Holds the rectangle which contains the label.
boundingBox
mxRectangle boundingBox
- Holds the largest rectangle which contains all rendering for this cell.
invalid
boolean invalid
- Specifies if the state is invalid. Default is true.
Copyright (c) 2008 Gaudenz Alder. All rights reserved.