Serialized Form
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Serialization support.
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Serialization support.
scale
double scale
- Scale of the graph. Default is 1. Bound property.
antiAliased
boolean antiAliased
- True if the graph is anti-aliased. Default is false. Bound property.
editable
boolean editable
- True if the graph allows editing the value of a cell. Bound property.
gridVisible
boolean gridVisible
- True if the grid is visible. Bound property.
gridSize
int gridSize
- The size of the grid in points. Default is 10. Bound property.
portsVisible
boolean portsVisible
- True if the ports are visible. Bound property.
highlightColor
java.awt.Color highlightColor
- Highlight Color. Changes when the Look-and-Feel changes.
handleColor
java.awt.Color handleColor
- Color of the handles and locked handles. Changes when the Look-and-Feel changes.
lockedHandleColor
java.awt.Color lockedHandleColor
- Color of the handles and locked handles. Changes when the Look-and-Feel changes.
marqueeColor
java.awt.Color marqueeColor
- Color of the marquee. Changes when the Look-and-Feel changes.
gridColor
java.awt.Color gridColor
- The color of the grid. Changes when the Look-and-Feel changes.
dragEnabled
boolean dragEnabled
- True if Drag-and-Drop should be used for move operations. Default is
false due to a JDK bug.
dropEnabled
boolean dropEnabled
- True if the graph accepts transfers from other components (graphs).
This also affects the clipboard. Default is true.
editClickCount
int editClickCount
- Number of clicks for editing to start. Default is 2 clicks.
enabled
boolean enabled
- True if the graph allows interactions. Default is true.
gridEnabled
boolean gridEnabled
- True if the snap method should be active (snap to grid).
handleSize
int handleSize
- Size of a handle. Default is 3 pixels.
snapSize
int snapSize
- Maximum distance between a cell and the mousepointer. Default is 4.
minimumMove
int minimumMove
- Minimum amount of pixels to start a move transaction. Default is 5.
selectNewCells
boolean selectNewCells
- True if inserted cells should be selected. Default is false.
disconnectOnMove
boolean disconnectOnMove
- True if selected edges are disconnected from unselected vertices on move.
Default is true.
moveable
boolean moveable
- True if the graph allows move operations. Default is true.
cloneable
boolean cloneable
- True if the graph allows "ctrl-drag" operations. Default is true.
sizeable
boolean sizeable
- True if the graph allows cells to be resized. Default is true.
bendable
boolean bendable
- True if the graph allows points to be midified/added/removed. Default is true.
connectable
boolean connectable
- True if the graph allows new connections to be established. Default is true.
disconnectable
boolean disconnectable
- True if the graph allows existing connections to be removed. Default is true.
invokesStopCellEditing
boolean invokesStopCellEditing
- If true, when editing is to be stopped by way of selection changing,
data in graph changing or other means
stopCellEditing
is invoked, and changes are saved. If false,
cancelCellEditing is invoked, and changes
are discarded. Default is false.
settingUI
boolean settingUI
- This is set to true for the life of the setUI call.
change
GraphModelEvent.GraphModelChange change
- The object that consistutes the change.
cells
java.lang.Object[] cells
- Cells this event represents.
areNew
boolean[] areNew
- For each cell identifies if that cell is in fact new.
graph
JGraph graph
- Reference to the graph
mapper
CellMapper mapper
- Reference to the cell mapper for the view
cell
java.lang.Object cell
- Reference to the cell for this view
parent
CellView parent
- Cached parent view
childViews
java.util.List childViews
- Cached child views.
attributes
java.util.Map attributes
- Hashtable for attributes. Initially empty
connections
java.util.Set connections
- Contents of the connection set.
edges
java.util.Set edges
- Set of changed edges for the connection set.
edge
java.lang.Object edge
- The edge that will be connected to the port.
port
java.lang.Object port
- The port that will be connected to the edge.
isSource
boolean isSource
- Indicates if
port is the source of edge.
source
java.lang.Object source
- Source and target of the edge.
target
java.lang.Object target
- Source and target of the edge.
attributes
java.util.Map attributes
- Hashtable for properties. Initially empty
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
realEditor
GraphCellEditor realEditor
- Editor handling the editing.
editingContainer
java.awt.Container editingContainer
- Editing container, will contain the editorComponent.
canEdit
boolean canEdit
- Should isCellEditable return true? This is set in configure...
based on the path being edited and the selected selected path.
borderSelectionColor
java.awt.Color borderSelectionColor
- True if the border selection color should be drawn.
font
java.awt.Font font
- Font to paint with, null indicates font of renderer is to be used.
border
javax.swing.border.Border border
- Border to use.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
roots
java.util.List roots
- Set that contains all root cells of this model.
asksAllowsChildren
boolean asksAllowsChildren
- Indicates whether isLeaf is based on a node's allowsChildren value.
attributeStore
boolean attributeStore
- Indicates whether this models consumes the UI's attribute changes.
Default is false.
insert
java.lang.Object[] insert
changed
java.lang.Object[] changed
remove
java.lang.Object[] remove
context
java.lang.Object[] context
inserted
java.lang.Object[] inserted
removed
java.lang.Object[] removed
propertyMap
java.util.Map propertyMap
attributeMap
java.util.Map attributeMap
lastPropertyMap
java.util.Map lastPropertyMap
parentMap
ParentMap parentMap
connectionSet
ConnectionSet connectionSet
cellViews
java.util.Map cellViews
parents
java.lang.Object[] parents
graph
JGraph graph
- Reference to the parent graph. Used to find parents and childs.
changeSupport
javax.swing.event.SwingPropertyChangeSupport changeSupport
- Used to message registered listeners.
listenerList
javax.swing.event.EventListenerList listenerList
- Event listener list.
selectionMode
int selectionMode
- Mode for the selection, will be either SINGLE_TREE_SELECTION,
CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.
childrenSelectable
boolean childrenSelectable
- Boolean that indicates if the model allows stepping-into groups.
cellStates
java.util.Map cellStates
- Maps the cells to their selection state.
selection
java.util.List selection
- List that contains the selected items.
edges
java.util.HashSet edges
- Edges that are connected to the port
anchor
Port anchor
- Reference to the anchor of this port
points
java.util.List points
- List of points of the edge. May contain ports.
source
PortView source
- Cached source and target portview of the edge.
target
PortView target
- Cached source and target portview of the edge.
labelPosition
java.awt.Point labelPosition
- Cached label position of the edge.
graph
JGraph graph
edge
EdgeView edge
firstOverlayCall
boolean firstOverlayCall
isEdgeConnectable
boolean isEdgeConnectable
relevantEdge
EdgeView relevantEdge
cells
java.lang.Object[] cells
- Selected cells.
cs
ConnectionSet cs
- Object that describes the connection between cells.
attributeMap
java.util.Map attributeMap
- (Cell, Map) entries that hold the view attributes for the cells.
bounds
java.awt.Rectangle bounds
- Rectangle that defines the former bounds of the views.
graphModel
GraphModel graphModel
mapping
java.util.Map mapping
mapper
CellMapper mapper
factory
CellViewFactory factory
roots
java.util.List roots
ports
PortView[] ports
cells
java.lang.Object[] cells
context
CellView[] context
attributeMap
java.util.Map attributeMap
changeSource
java.lang.Object changeSource
layer
int layer
entries
java.util.ArrayList entries
- Contents of the parent map.
nodes
java.util.Set nodes
- Set of changed nodes for the parent map. Includes childs and parents.
childCount
java.util.Map childCount
- Maps parents to integers with the future number of childs.
child
java.lang.Object child
- Child and parent of the relation this entry describes.
parent
java.lang.Object parent
- Child and parent of the relation this entry describes.
bounds
java.awt.Rectangle bounds
- Reference to the bounds attribute
firstOverlayInvocation
boolean firstOverlayInvocation
|
Package com.jgraph.plaf.basic |
preferredMinSize
java.awt.Dimension preferredMinSize
- Minimum preferred size.
graph
JGraph graph
- Component that we're going to be drawing into.
graphView
GraphView graphView
- Reference to the graph's view (geometric pattern).
cellEditor
GraphCellEditor cellEditor
- Current editor for the graph.
stopEditingInCompleteEditing
boolean stopEditingInCompleteEditing
- Set to false when editing and shouldSelectCell() returns true meaning
the node should be selected before editing, used in completeEditing.
rendererPane
javax.swing.CellRendererPane rendererPane
- Used to paint the CellRenderer.
preferredSize
java.awt.Dimension preferredSize
- Size needed to completely display all the cells.
validCachedPreferredSize
boolean validCachedPreferredSize
- Is the preferredSize valid?
graphModel
GraphModel graphModel
- Used to determine what to display.
graphSelectionModel
GraphSelectionModel graphSelectionModel
- Model maintaining the selection.
handle
CellHandle handle
- Handle that we are going to use.
marquee
BasicMarqueeHandler marquee
- Marquee that we are going to use.
editingComponent
java.awt.Component editingComponent
- When editing, this will be the Component that is doing the actual
editing.
focus
CellView focus
editingCell
java.lang.Object editingCell
- Path that is being edited.
editorHasDifferentSize
boolean editorHasDifferentSize
- Set to true if the editor has a different size than the renderer.
insertionLocation
java.awt.Point insertionLocation
propertyChangeListener
java.beans.PropertyChangeListener propertyChangeListener
- Listens for JGraph property changes and updates display.
mouseListener
java.awt.event.MouseListener mouseListener
- Listens for Mouse events.
keyListener
java.awt.event.KeyListener keyListener
- Listens for KeyListener events.
componentListener
java.awt.event.ComponentListener componentListener
- Listens for Component events.
cellEditorListener
javax.swing.event.CellEditorListener cellEditorListener
- Listens for CellEditor events.
graphSelectionListener
GraphSelectionListener graphSelectionListener
- Updates the display when the selection changes.
graphModelListener
GraphModelListener graphModelListener
- Is responsible for updating the view based on model events.
graphViewObserver
java.util.Observer graphViewObserver
- Updates the display when the view has changed.
defaultTransferHandler
javax.swing.TransferHandler defaultTransferHandler
- The default TransferHandler.
defaultDropTargetListener
BasicGraphUI.GraphDropTargetListener defaultDropTargetListener
- The default DropTargetListener.
direction
int direction
- Specifies the direction to adjust the selection by.
in
java.lang.Object in
out
java.lang.Object out
isCut
boolean isCut
inCount
int inCount
repeatKeyAction
javax.swing.Action repeatKeyAction
- Key code that is being generated for.
isKeyDown
boolean isKeyDown
- Set to true while keyPressed is active.
cell
CellView cell
handler
java.lang.Object handler
isMoving
boolean isMoving
- Indicates whether this handle is currently moving cells. Start
may be non-null and isMoving false while the minimum movement
has not been reached.
isDragging
boolean isDragging
- Indicates whether this handle has started drag and drop.
Note: isDragging => isMoving.
isContextVisible
boolean isContextVisible
blockPaint
boolean blockPaint