Uses of Class org.jgraph.JGraph

Uses in package org.jgraph.plaf

Methods with parameter type org.jgraph.JGraph

void
Cancels the current editing session.
Object
Returns the cell that is being edited.
Dimension2D
Returns the preferred size for view.
boolean
Returns true if the graph is being edited.
void
GraphUI.selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event)
Messaged to update the selection based on a MouseEvent for a group of cells.
void
GraphUI.startEditingAtCell(JGraph graph, Object cell)
Selects the cell and tries to edit it.
boolean
Stops the current editing session.

Uses in package org.jgraph.graph

Constructors with parameter type org.jgraph.JGraph

Constructs a DefaultGraphSelectionModel for the specified graph.
GraphContext.GraphContext(JGraph graph, 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.

Fields of type org.jgraph.JGraph

JGraph
JTree instance listening too.
JGraph
Reference to the parent graph.
JGraph
JGraph
Reference to the parent graph.
JGraph

Methods with parameter type org.jgraph.JGraph

GraphTransferable
GraphTransferHandler.create(JGraph graph, Object[] cells, Map viewAttributes, Rectangle2D bounds, ConnectionSet cs, ParentMap pm)
Transferable
Transferable
void
DefaultGraphCellEditor.determineOffset(JGraph graph, Object value, boolean isSelected)
Rectangle2D
EdgeRenderer.getExtraLabelBounds(JGraph paintingContext, EdgeView view, int index)
Returns the label bounds of the specified view in the given graph.
Dimension
EdgeRenderer.getExtraLabelSize(JGraph paintingContext, EdgeView view, int index)
Returns the label size of the specified view in the given graph.
Component
DefaultGraphCellEditor.getGraphCellEditorComponent(JGraph graph, Object cell, boolean isSelected)
Configures the editor.
Component
DefaultRealEditor.getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected)
Component
GraphCellEditor.getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected)
Sets an initial value for the editor.
Point2D
GraphTransferHandler.getInsertionOffset(JGraph graph, int inCount, Rectangle2D bounds)
Hook method to determine offset of cells cloned via the clipboard
Rectangle2D
EdgeRenderer.getLabelBounds(JGraph paintingContext, EdgeView view)
Returns the label bounds of the specified view in the given graph.
Component
AbstractCellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview)
Returns a renderer component, configured for the view.
Component
CellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview)
Returns a renderer component, configured for the view.
Component
CellViewRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer based on the passed in components.
Component
EdgeRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer based on the passed in components.
Component
PortRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer based on the passed in components.
Component
VertexRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
Configure and return the renderer component based on the passed in cell.
void
GraphTransferHandler.handleExternalDrop(JGraph graph, Object[] cells, Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy)
void
BasicMarqueeHandler.handleMarqueeEvent(MouseEvent e, JGraph graph, Rectangle2D bounds)
Hook for subclassers.
boolean
AbstractCellView.intersects(JGraph graph, Rectangle2D rect)
Returns true if the view intersects the given rectangle.
boolean
CellView.intersects(JGraph g, Rectangle2D rect)
Returns true if the view intersects the given rectangle.
boolean
EdgeView.intersects(JGraph graph, Rectangle2D rect)
Returns true if this view intersects the given rectangle.
boolean
EdgeRenderer.intersects(JGraph graph, CellView value, Rectangle rect)
Returns true if the edge shape intersects the given rectangle.
boolean
Hook for subclassers.
void
BasicMarqueeHandler.overlay(JGraph graph, Graphics g, boolean clear)
Draw the current state of the handler.
void
BasicMarqueeHandler.paint(JGraph graph, Graphics g)
Called after the component was repainted (after autoscroll).
void
Sets the tree currently editing for.

Methods with return type org.jgraph.JGraph

JGraph
Returns the graph that was passed to the constructor.
JGraph

Uses in package org.jgraph.plaf.basic

Fields of type org.jgraph.JGraph

JGraph
Component that we're going to be drawing into.

Methods with parameter type org.jgraph.JGraph

void
BasicGraphUI.autoscroll(JGraph graph, Point p)
Scroll the graph for an event at p.
void
Cancels all current editing sessions.
GraphContext
BasicGraphUI.createContext(JGraph graph, Object[] cells)
Object
Returns the element that is being edited.
Dimension2D
Get the preferred Size for a cell view.
boolean
Returns true if the graph is being edited.
void
BasicGraphUI.selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event)
From GraphUI interface.
void
BasicGraphUI.startEditingAtCell(JGraph graph, Object cell)
Selects the cell and tries to edit it.
boolean
Stops the current editing session.

Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.