JGraph
v1.0.7

A B C D E F G H I J K L M N O P Q R S T U V

S

saveComponentState(JComponent) - Method in class com.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
called to save the state of a component in case it needs to be restored because a drop is not performed.
saveComponentState(JComponent) - Method in class com.jgraph.plaf.basic.BasicGraphDropTargetListener
called to save the state of a component in case it needs to be restored because a drop is not performed.
scale - Variable in class com.jgraph.JGraph
Scale of the graph.
SCALE_PROPERTY - Static variable in class com.jgraph.JGraph
Bound property name for scale.
scale(double, double, Point) - Method in class com.jgraph.graph.AbstractCellView
Scale view (group) by sx, sy.
scale(Map, double, double, Point) - Static method in class com.jgraph.graph.GraphConstants
Scales map by the given amount.
scrollBar - Variable in class com.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
ScrollBar that is being adjusted.
SCROLLBORDER - Static variable in class com.jgraph.plaf.basic.BasicGraphUI
Border in pixels to scroll if marquee or dragging are active.
scrollCellToVisible(Object) - Method in class com.jgraph.JGraph
Scrolls to the specified cell.
scrollPointToVisible(Point) - Method in class com.jgraph.JGraph
Makes sure the specified point is visible.
SCROLLSTEP - Static variable in class com.jgraph.plaf.basic.BasicGraphUI
Multiplicator for width and height when autoscrolling (=stepsize).
select(List, Object) - Method in class com.jgraph.graph.DefaultGraphSelectionModel
Selects a single cell and updates all datastructures.
selectCellForEvent(Object, MouseEvent) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Messaged to update the selection based on a MouseEvent over a particular cell.
selectCellsForEvent(JGraph, Object[], MouseEvent) - Method in class com.jgraph.plaf.basic.BasicGraphUI
From GraphUI interface.
selectCellsForEvent(JGraph, Object[], MouseEvent) - Method in class com.jgraph.plaf.GraphUI
Messaged to update the selection based on a MouseEvent for a group of cells.
selectCellsForEvent(Object[], MouseEvent) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Messaged to update the selection based on a MouseEvent for a group of cells.
selected - Variable in class com.jgraph.graph.VertexRenderer
Cached hasFocus and selected value.
selected - Variable in class com.jgraph.graph.PortRenderer
Cached hasFocus and selected value.
selected - Variable in class com.jgraph.graph.EdgeRenderer
Boolean attributes of the current edgeview.
SELECTED - Static variable in class com.jgraph.graph.DefaultGraphSelectionModel
Value that represents selected state in cellStates.
selection - Variable in class com.jgraph.graph.DefaultGraphSelectionModel
List that contains the selected items.
SELECTION_MODE_PROPERTY - Static variable in class com.jgraph.graph.DefaultGraphSelectionModel
Property name for selectionMode.
SELECTION_MODEL_PROPERTY - Static variable in class com.jgraph.JGraph
Bound property name for selectionModel.
SELECTION_STROKE - Static variable in class com.jgraph.graph.GraphConstants
 
selectionMode - Variable in class com.jgraph.graph.DefaultGraphSelectionModel
Mode for the selection, will be either SINGLE_TREE_SELECTION, CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.
selectionModel - Variable in class com.jgraph.JGraph
Models the set of selected objects in this graph.
selectionRedirector - Variable in class com.jgraph.JGraph
Creates a new event and passes it off the selectionListeners.
selectNewCells - Variable in class com.jgraph.JGraph
True if inserted cells should be selected.
setAbsolute(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the offset attribute in the specified map to the specified value.
setAnchor(Port) - Method in interface com.jgraph.graph.Port
Sets the anchor of the port.
setAnchor(Port) - Method in class com.jgraph.graph.DefaultPort
Sets the anchor of this port.
setAntiAliased(boolean) - Method in class com.jgraph.JGraph
Sets antialiasing on or off based on the boolean value.
setAttributes(Map) - Method in interface com.jgraph.graph.GraphCell
Sets properties of the cell.
setAttributes(Map) - Method in class com.jgraph.graph.DefaultGraphCell
Apply change to the cell and sync userObject.
setAttributes(Map) - Method in interface com.jgraph.graph.CellView
Apply the specified map of attributes on the view.
setAttributes(Map) - Method in class com.jgraph.graph.AbstractCellView
Applies change to the attributes of the view and calls update.
setAttributesWithModelKeys(Map) - Method in class com.jgraph.graph.GraphView
Handles an attributeMap that uses cells as keys.
setAutoSize(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setBackground(Map, Color) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setBeginFill(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the offset attribute in the specified map to the specified value.
setBeginSize(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setBendable(boolean) - Method in class com.jgraph.JGraph
Sets if the graph allows adding/removing/modifying points.
setBendable(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setBorder(Map, Border) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setBorderColor(Map, Color) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setBorderSelectionColor(Color) - Method in class com.jgraph.graph.DefaultGraphCellEditor
Sets the color to use for the border.
setBounds(Map, Rectangle) - Static method in class com.jgraph.graph.GraphConstants
Sets the bounds attribute in the specified map to the specified value.
setBounds(Rectangle) - Method in class com.jgraph.graph.AbstractCellView
Sets the bounds of view.
setCell(Object) - Method in class com.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
Sets the cell.
setChildrenSelectable(boolean) - Method in interface com.jgraph.graph.GraphSelectionModel
Sets if the selection model allows the selection of children.
setChildrenSelectable(boolean) - Method in class com.jgraph.graph.DefaultGraphSelectionModel
Sets if the selection model allows the selection of children.
setCloneable(boolean) - Method in class com.jgraph.JGraph
Sets if cells are cloned on CTRL-Drag operations.
setConnectable(boolean) - Method in class com.jgraph.JGraph
Setse if the graph allows new connections to be established.
setConnectable(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setDashPattern(Map, float[]) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setDisconnectable(boolean) - Method in class com.jgraph.JGraph
Sets if the graph allows existing connections to be removed.
setDisconnectable(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setDisconnectOnMove(boolean) - Method in class com.jgraph.JGraph
Sets if selected edges should be disconnected from unselected vertices when they are moved.
setDragEnabled(boolean) - Method in class com.jgraph.JGraph
Sets if the graph uses Drag-and-Drop to move cells.
setDropEnabled(boolean) - Method in class com.jgraph.JGraph
Sets if the graph accepts drops/pastes from external sources.
setEdges(Set) - Method in class com.jgraph.graph.DefaultPort
Sets the anchor of this port.
setEditable(boolean) - Method in class com.jgraph.JGraph
Determines whether the graph is editable.
setEditable(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setEditClickCount(int) - Method in class com.jgraph.JGraph
Sets the number of clicks for editing to start.
setEndFill(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the offset attribute in the specified map to the specified value.
setEndSize(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setFactory(CellViewFactory) - Method in class com.jgraph.graph.GraphView
Sets the factory that creates the cell views.
setFont(Font) - Method in class com.jgraph.graph.DefaultGraphCellEditor
Sets the font to edit with. null indicates the renderers font should be used.
setFontName(Map, String) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setFontSize(Map, float) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setFontStyle(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setForeground(Map, Color) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setGraph(JGraph) - Method in class com.jgraph.graph.DefaultGraphCellEditor
Sets the tree currently editing for.
setGridColor(Color) - Method in class com.jgraph.JGraph
Sets the current grid color.
setGridEnabled(boolean) - Method in class com.jgraph.JGraph
If set to true, the grid will be active.
setGridSize(int) - Method in class com.jgraph.JGraph
Sets the size of the grid.
setGridVisible(boolean) - Method in class com.jgraph.JGraph
If set to true, the grid will be visible.
setHandleColor(Color) - Method in class com.jgraph.JGraph
Sets the current handle color.
setHandleSize(int) - Method in class com.jgraph.JGraph
Sets the size of the handles.
setHighlightColor(Color) - Method in class com.jgraph.JGraph
Sets the current selection highlight color.
setHorizontalAlignment(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setHorizontalTextPosition(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setIcon(Map, ImageIcon) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setInsertionLocation(Point) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Sets the current location for Drag-and-Drop activity.
setInvokesStopCellEditing(boolean) - Method in class com.jgraph.JGraph
Determines what happens when editing is interrupted by selecting another cell in the graph, a change in the graph's data, or by some other means.
setLabelPosition(Map, Point) - Static method in class com.jgraph.graph.GraphConstants
Sets the label position attribute in the specified map to the specified value.
setLabelPosition(Point) - Method in class com.jgraph.graph.EdgeView
Sets the description of the label position.
setLineBegin(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setLineColor(Map, Color) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setLineEnd(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setLineStyle(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setLineWidth(Map, float) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setLockedHandleColor(Color) - Method in class com.jgraph.JGraph
Sets the current second handle color.
setMarquee(BasicMarqueeHandler) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Sets the marquee handler.
setMarqueeColor(Color) - Method in class com.jgraph.JGraph
Sets the current marquee color.
setMarqueeHandler(BasicMarqueeHandler) - Method in class com.jgraph.JGraph
Sets the MarqueeHandler that will handle marquee selection.
setMinimumMove(int) - Method in class com.jgraph.JGraph
Sets the miminum amount of pixels for a move operation.
setModel(GraphModel) - Method in class com.jgraph.JGraph
Sets the GraphModel that will provide the data.
setModel(GraphModel) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Sets the GraphModel.
setModel(GraphModel) - Method in class com.jgraph.graph.GraphView
Sets the current model.
setMoveable(boolean) - Method in class com.jgraph.JGraph
Sets if the graph allows movement of cells.
setMoveable(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setNew(boolean) - Method in class com.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
Sets the isNew.
setOffset(Map, Point) - Static method in class com.jgraph.graph.GraphConstants
Sets the offset attribute in the specified map to the specified value.
setOpaque(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setPoint(int, Point) - Method in class com.jgraph.graph.EdgeView
Sets the point at index to p.
setPoints(Map, List) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setPortsVisible(boolean) - Method in class com.jgraph.JGraph
If set to true, the ports will be visible.
setPreferredMinSize(Dimension) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Sets the preferred minimum size.
setRemoveAll(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the offset attribute in the specified map to the specified value.
setRemoveAttributes(Map, Object[]) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setScale(double) - Method in class com.jgraph.JGraph
Sets the current scale.
setSelectedChildCount(Object, int) - Method in class com.jgraph.graph.DefaultGraphSelectionModel
Sets the number of selected childs for cell to count.
setSelectionCell(Object) - Method in class com.jgraph.JGraph
Selects the specified cell.
setSelectionCell(Object) - Method in interface com.jgraph.graph.GraphSelectionModel
Sets the selection to cell.
setSelectionCell(Object) - Method in class com.jgraph.graph.DefaultGraphSelectionModel
Sets the selection to path.
setSelectionCells(Object[]) - Method in class com.jgraph.JGraph
Selects the specified cells.
setSelectionCells(Object[]) - Method in class com.jgraph.JGraph.EmptySelectionModel
A null implementation that selects nothing.
setSelectionCells(Object[]) - Method in interface com.jgraph.graph.GraphSelectionModel
Sets the selection to cells.
setSelectionCells(Object[]) - Method in class com.jgraph.graph.DefaultGraphSelectionModel
Sets the selection to cells.
setSelectionMode(int) - Method in interface com.jgraph.graph.GraphSelectionModel
Sets the selection model, which must be either SINGLE_GRAPH_SELECTION or MULTIPLE_GRAPH_SELECTION.
setSelectionMode(int) - Method in class com.jgraph.graph.DefaultGraphSelectionModel
Sets the selection mode, which must be one of SINGLE_TREE_SELECTION,
setSelectionModel(GraphSelectionModel) - Method in class com.jgraph.JGraph
Sets the graph's selection model.
setSelectionModel(GraphSelectionModel) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Resets the selection model.
setSelectNewCells(boolean) - Method in class com.jgraph.JGraph
Sets if selected edges should be disconnected from unselected vertices when they are moved.
setSize(Map, Dimension) - Static method in class com.jgraph.graph.GraphConstants
Sets the size attribute in the specified map to the specified value.
setSizeable(boolean) - Method in class com.jgraph.JGraph
Sets if the graph allows cells to be resized.
setSizeable(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
setSnapSize(int) - Method in class com.jgraph.JGraph
Sets the maximum distance between the mousepointer and a cell to be selected.
setSource(Object) - Method in interface com.jgraph.graph.Edge
Sets the source of the edge.
setSource(Object) - Method in class com.jgraph.graph.DefaultEdge
Sets the source of the edge.
setSource(PortView) - Method in class com.jgraph.graph.EdgeView
Sets the sourceView of the edge.
setTarget(Object) - Method in interface com.jgraph.graph.Edge
Returns the target of edge.
setTarget(Object) - Method in class com.jgraph.graph.DefaultEdge
Returns the target of edge.
setTarget(PortView) - Method in class com.jgraph.graph.EdgeView
Sets the targetView of the edge.
setUI(GraphUI) - Method in class com.jgraph.JGraph
Sets the L&F object that renders this component.
setUserObject(Object) - Method in class com.jgraph.graph.DefaultGraphCell
Override parent method to synchronize value property and userObject.
setValue(Map, Object) - Static method in class com.jgraph.graph.GraphConstants
Sets the value attribute in the specified map to the specified value.
setVerticalAlignment(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setVerticalTextPosition(Map, int) - Static method in class com.jgraph.graph.GraphConstants
Sets the opaque attribute in the specified map to the specified value.
setView(GraphView) - Method in class com.jgraph.JGraph
Sets the GraphView that will provide the view-data.
setView(GraphView) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Sets the GraphView (geometric pattern).
setVisible(Map, boolean) - Static method in class com.jgraph.graph.GraphConstants
Sets the points attribute in the specified map to the specified value.
sharedInstance - Static variable in class com.jgraph.JGraph.EmptySelectionModel
Unique shared instance.
sharedInstance() - Static method in class com.jgraph.JGraph.EmptySelectionModel
Returns a shared instance of an empty selection model.
sharedPath - Variable in class com.jgraph.graph.EdgeRenderer
Shared-path tune-up.
shouldSelectCell(EventObject) - Method in class com.jgraph.graph.DefaultGraphCellEditor
Messages the realEditor for the return value.
shouldStartEditingTimer(EventObject) - Method in class com.jgraph.graph.DefaultGraphCellEditor
Returns true if event is a MouseEvent and the click count is 1.
SIMPLE - Static variable in class com.jgraph.graph.GraphConstants
Represents a simple arrow decoration
SINGLE_GRAPH_SELECTION - Static variable in interface com.jgraph.graph.GraphSelectionModel
Selection can only contain one cell at a time.
size - Static variable in class com.jgraph.graph.PortView
Default size for all ports is 6.
SIZE - Static variable in class com.jgraph.graph.GraphConstants
Key for the resize attribute.
size() - Method in class com.jgraph.graph.ParentMap
Returns the number of entries.
size() - Method in class com.jgraph.graph.ConnectionSet
Returns the number of (edge, port)-pairs.
sizeable - Variable in class com.jgraph.JGraph
True if the graph allows cells to be resized.
SIZEABLE - Static variable in class com.jgraph.graph.GraphConstants
Key for the sizeable attribute.
snap(boolean, Point) - Method in class com.jgraph.graph.EdgeView.EdgeHandle
 
snap(Dimension) - Method in class com.jgraph.JGraph
Returns the given point applied to the grid.
snap(Point) - Method in class com.jgraph.JGraph
Returns the given point applied to the grid.
snapLast - Variable in class com.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
snapSize - Variable in class com.jgraph.JGraph
Maximum distance between a cell and the mousepointer.
snapStart - Variable in class com.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
source - Variable in class com.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
Source that events are coming from.
source - Variable in class com.jgraph.graph.EdgeView
Cached source and target portview of the edge.
source - Variable in class com.jgraph.graph.DefaultEdge
Source and target of the edge.
start - Variable in class com.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
startDragging(MouseEvent) - Method in class com.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
startEditing(Object, MouseEvent) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Will start editing for cell if there is a cellEditor and shouldSelectCell returns true.
startEditingAtCell(JGraph, Object) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Selects the cell and tries to edit it.
startEditingAtCell(JGraph, Object) - Method in class com.jgraph.plaf.GraphUI
Selects the cell and tries to edit it.
startEditingAtCell(Object) - Method in class com.jgraph.JGraph
Selects the specified cell and initiates editing.
startPoint - Variable in class com.jgraph.graph.BasicMarqueeHandler
 
startTimer() - Method in class com.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
Creates, if necessary, and starts a Timer to check if need to resize the bounds.
stopCellEditing() - Method in class com.jgraph.graph.DefaultGraphCellEditor
If the realEditor will allow editing to stop, the realEditor is removed and true is returned, otherwise false is returned.
stopEditing() - Method in class com.jgraph.JGraph
Ends the current editing session.
stopEditing(JGraph) - Method in class com.jgraph.plaf.basic.BasicGraphUI
Stops the current editing session.
stopEditing(JGraph) - Method in class com.jgraph.plaf.GraphUI
Stops the current editing session.
stopEditingInCompleteEditing - Variable in class com.jgraph.plaf.basic.BasicGraphUI
Set to false when editing and shouldSelectCell() returns true meaning the node should be selected before editing, used in completeEditing.
supportsAttribute(Object) - Method in class com.jgraph.graph.VertexRenderer
Returns true if key is a supported attribute in the renderer.
supportsAttribute(Object) - Method in class com.jgraph.graph.PortRenderer
Returns true if key is a supported attribute in the renderer.
supportsAttribute(Object) - Method in class com.jgraph.graph.EdgeRenderer
Returns true if key is a supported attribute in the renderer.
supportsAttribute(Object) - Method in interface com.jgraph.graph.CellViewRenderer
Returns true if key is a supported attributes in the renderer.

JGraph
v1.0.7

A B C D E F G H I J K L M N O P Q R S T U V
Copyright (C) 2002 Gaudenz Alder. All rights reserved.