|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JGraph | |
com.jgraph | JGraph's topmost package which contains the JGraph class. |
com.jgraph.graph | Graphs are made up of a number of classes and interfaces defined in their own
package - the jgraph.graph package. |
com.jgraph.plaf | Contains the GraphUI class which extends the Swing ComponentUI class. |
com.jgraph.plaf.basic | Contains the BasicGraphUI, which is GraphUI's default implementation. |
Uses of JGraph in com.jgraph |
Methods in com.jgraph with parameters of type JGraph | |
protected static GraphView |
JGraph.createDefaultGraphView(JGraph graph)
Creates and returns a default GraphView . |
Uses of JGraph in com.jgraph.graph |
Fields in com.jgraph.graph declared as JGraph | |
protected JGraph |
DefaultGraphSelectionModel.graph
Reference to the parent graph. |
protected JGraph |
EdgeRenderer.graph
Cache the current graph for drawing |
protected JGraph |
DefaultGraphCellEditor.graph
JTree instance listening too. |
protected JGraph |
VertexRenderer.graph
Cache the current graph for drawing. |
protected JGraph |
PortRenderer.graph
Cache the current graph for drawing |
protected JGraph |
AbstractCellView.graph
Reference to the graph |
protected JGraph |
EdgeView.EdgeHandle.graph
|
protected JGraph |
VertexView.SizeHandle.graph
|
protected JGraph |
GraphContext.graph
Reference to the parent graph. |
Methods in com.jgraph.graph that return JGraph | |
JGraph |
AbstractCellView.getGraph()
Returns the graph associated with the view. |
JGraph |
GraphContext.getGraph()
Returns the graph that was passed to the constructor. |
Methods in com.jgraph.graph with parameters of type JGraph | |
java.awt.Component |
DefaultRealEditor.getGraphCellEditorComponent(JGraph graph,
java.lang.Object value,
boolean isSelected)
|
java.awt.Component |
CellView.getRendererComponent(JGraph graph,
boolean selected,
boolean focus,
boolean preview)
Returns a renderer component, configured for the view. |
java.awt.Component |
EdgeRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
java.awt.Component |
DefaultGraphCellEditor.getGraphCellEditorComponent(JGraph graph,
java.lang.Object cell,
boolean isSelected)
Configures the editor. |
protected void |
DefaultGraphCellEditor.setGraph(JGraph newGraph)
Sets the tree currently editing for. |
protected void |
DefaultGraphCellEditor.determineOffset(JGraph graph,
java.lang.Object value,
boolean isSelected)
|
java.awt.Component |
CellViewRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
java.awt.Component |
VertexRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
java.awt.Component |
PortRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
java.awt.Component |
AbstractCellView.getRendererComponent(JGraph graph,
boolean selected,
boolean focus,
boolean preview)
Returns a renderer component, configured for the view. |
java.awt.Component |
GraphCellEditor.getGraphCellEditorComponent(JGraph graph,
java.lang.Object value,
boolean isSelected)
Sets an initial value for the editor. |
Constructors in com.jgraph.graph with parameters of type JGraph | |
DefaultGraphSelectionModel(JGraph graph)
Constructs a DefaultGraphSelectionModel for the specified graph. |
|
AbstractCellView(java.lang.Object cell,
JGraph graph,
CellMapper mapper)
Constructs a view for the specified model object, and invokes update on the new instance. |
|
EdgeView(java.lang.Object cell,
JGraph graph,
CellMapper mapper)
Constructs an edge view for the specified model object. |
|
VertexView(java.lang.Object cell,
JGraph graph,
CellMapper mapper)
Constructs a vertex view for the specified model object and the specified child views. |
|
GraphContext(JGraph graph,
java.lang.Object[] cells)
Constructs a graph context for cells with respect to
the connections defined in the model, and the views in the view
of graph . |
|
PortView(java.lang.Object cell,
JGraph graph,
CellMapper mapper)
Constructs a view that holds a reference to the specified cell, anchor and parent vertex. |
Uses of JGraph in com.jgraph.plaf |
Methods in com.jgraph.plaf with parameters of type JGraph | |
abstract void |
GraphUI.selectCellsForEvent(JGraph graph,
java.lang.Object[] cells,
java.awt.event.MouseEvent event)
Messaged to update the selection based on a MouseEvent for a group of cells. |
abstract java.awt.Dimension |
GraphUI.getPreferredSize(JGraph graph,
CellView view)
Returns the preferred size for view . |
abstract CellHandle |
GraphUI.getHandle(JGraph graph)
Returns the CellHandle that is currently active,
or null if no handle is active. |
abstract boolean |
GraphUI.isEditing(JGraph graph)
Returns true if the graph is being edited. |
abstract boolean |
GraphUI.stopEditing(JGraph graph)
Stops the current editing session. |
abstract void |
GraphUI.cancelEditing(JGraph graph)
Cancels the current editing session. |
abstract void |
GraphUI.startEditingAtCell(JGraph graph,
java.lang.Object cell)
Selects the cell and tries to edit it. |
abstract java.lang.Object |
GraphUI.getEditingCell(JGraph graph)
Returns the cell that is being edited. |
Uses of JGraph in com.jgraph.plaf.basic |
Fields in com.jgraph.plaf.basic declared as JGraph | |
protected JGraph |
BasicGraphUI.graph
Component that we're going to be drawing into. |
Methods in com.jgraph.plaf.basic with parameters of type JGraph | |
CellHandle |
BasicGraphUI.getHandle(JGraph graph)
Returns the handle that is currently active, or null, if no handle is currently active. |
java.awt.Dimension |
BasicGraphUI.getPreferredSize(JGraph graph,
CellView view)
Get the preferred Size for a cell view. |
void |
BasicGraphUI.selectCellsForEvent(JGraph graph,
java.lang.Object[] cells,
java.awt.event.MouseEvent event)
From GraphUI interface. |
boolean |
BasicGraphUI.isEditing(JGraph graph)
Returns true if the graph is being edited. |
boolean |
BasicGraphUI.stopEditing(JGraph graph)
Stops the current editing session. |
void |
BasicGraphUI.cancelEditing(JGraph graph)
Cancels all current editing sessions. |
void |
BasicGraphUI.startEditingAtCell(JGraph graph,
java.lang.Object cell)
Selects the cell and tries to edit it. |
java.lang.Object |
BasicGraphUI.getEditingCell(JGraph graph)
Returns the element that is being edited. |
static void |
BasicGraphUI.autoscroll(JGraph graph,
java.awt.Point p)
Scroll the graph for an event at p . |
protected GraphTransferable |
BasicGraphUI.GraphTransferHandler.create(JGraph graph,
java.lang.Object[] cells,
ConnectionSet cs,
java.util.Map viewAttributes,
java.awt.Rectangle bounds)
|
protected boolean |
BasicGraphUI.GraphTransferHandler.handleInsert(JGraph graph,
GraphTransferable t)
|
protected void |
BasicGraphUI.GraphTransferHandler.removeCells(JGraph graph,
java.lang.Object[] cells)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |