|
JGraph |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JGraph | |
org.jgraph.graph | Graphs are made up of a number of classes and interfaces defined in their own
package - the jgraph.graph package. |
org.jgraph.plaf | Contains the GraphUI class which extends the Swing ComponentUI class. |
org.jgraph.plaf.basic | Contains the BasicGraphUI, which is GraphUI's default implementation. |
org.jgraph.util |
Uses of JGraph in org.jgraph.graph |
Fields in org.jgraph.graph declared as JGraph | |
protected JGraph |
DefaultGraphCellEditor.graph
JTree instance listening too. |
protected JGraph |
VertexView.SizeHandle.graph
|
protected JGraph |
DefaultGraphSelectionModel.graph
Reference to the parent graph. |
protected JGraph |
EdgeView.EdgeHandle.graph
|
protected JGraph |
GraphContext.graph
Reference to the parent graph. |
Methods in org.jgraph.graph that return JGraph | |
static JGraph |
BasicMarqueeHandler.getGraphForEvent(MouseEvent event)
|
JGraph |
GraphContext.getGraph()
Returns the graph that was passed to the constructor. |
Methods in org.jgraph.graph with parameters of type JGraph | |
Transferable |
GraphTransferHandler.createTransferableForGraph(JGraph graph)
|
protected Transferable |
GraphTransferHandler.createTransferable(JGraph graph,
Object[] cells)
|
protected GraphTransferable |
GraphTransferHandler.create(JGraph graph,
Object[] cells,
Map viewAttributes,
Rectangle2D bounds,
ConnectionSet cs,
ParentMap pm)
|
protected Point2D |
GraphTransferHandler.getInsertionOffset(JGraph graph,
int inCount,
Rectangle2D bounds)
Hook method to determine offset of cells cloned via the clipboard |
protected void |
GraphTransferHandler.handleExternalDrop(JGraph graph,
Object[] cells,
Map nested,
ConnectionSet cs,
ParentMap pm,
double dx,
double dy)
|
Component |
DefaultRealEditor.getGraphCellEditorComponent(JGraph graph,
Object value,
boolean isSelected)
|
Component |
DefaultGraphCellEditor.getGraphCellEditorComponent(JGraph graph,
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,
Object value,
boolean isSelected)
|
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 |
BasicMarqueeHandler.handleMarqueeEvent(MouseEvent e,
JGraph graph,
Rectangle2D bounds)
Hook for subclassers. |
void |
BasicMarqueeHandler.paint(JGraph graph,
Graphics g)
Called after the component was repainted (after autoscroll). |
void |
BasicMarqueeHandler.overlay(JGraph graph,
Graphics g,
boolean clear)
Draw the current state of the handler. |
boolean |
BasicMarqueeHandler.isMarqueeTriggerEvent(MouseEvent e,
JGraph graph)
Hook for subclassers. |
Component |
EdgeRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
boolean |
EdgeRenderer.intersects(JGraph graph,
CellView value,
Rectangle rect)
Returns true if the edge shape intersects the given rectangle. |
Rectangle2D |
EdgeRenderer.getLabelBounds(JGraph paintingContext,
EdgeView view)
Returns the label bounds of the specified view in the given graph. |
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 |
GraphCellEditor.getGraphCellEditorComponent(JGraph graph,
Object value,
boolean isSelected)
Sets an initial value for the editor. |
boolean |
EdgeView.intersects(JGraph graph,
Rectangle2D rect)
Returns true if this view intersects the given rectangle. |
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 |
PortRenderer.getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
boolean |
AbstractCellView.intersects(JGraph graph,
Rectangle2D rect)
Returns true if the view intersects the given rectangle. |
Component |
AbstractCellView.getRendererComponent(JGraph graph,
boolean selected,
boolean focus,
boolean preview)
Returns a renderer component, configured for the view. |
boolean |
CellView.intersects(JGraph g,
Rectangle2D rect)
Returns true if the view intersects the given rectangle. |
Component |
CellView.getRendererComponent(JGraph graph,
boolean selected,
boolean focus,
boolean preview)
Returns a renderer component, configured for the view. |
Constructors in org.jgraph.graph with parameters of type JGraph | |
DefaultGraphSelectionModel(JGraph graph)
Constructs a DefaultGraphSelectionModel for the specified graph. |
|
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 . |
Uses of JGraph in org.jgraph.plaf |
Methods in org.jgraph.plaf with parameters of type JGraph | |
abstract void |
GraphUI.selectCellsForEvent(JGraph graph,
Object[] cells,
MouseEvent event)
Messaged to update the selection based on a MouseEvent for a group of cells. |
abstract Dimension2D |
GraphUI.getPreferredSize(JGraph graph,
CellView view)
Returns the preferred size for view . |
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,
Object cell)
Selects the cell and tries to edit it. |
abstract Object |
GraphUI.getEditingCell(JGraph graph)
Returns the cell that is being edited. |
Uses of JGraph in org.jgraph.plaf.basic |
Fields in org.jgraph.plaf.basic declared as JGraph | |
protected JGraph |
BasicGraphUI.graph
Component that we're going to be drawing into. |
Methods in org.jgraph.plaf.basic with parameters of type JGraph | |
Dimension2D |
BasicGraphUI.getPreferredSize(JGraph graph,
CellView view)
Get the preferred Size for a cell view. |
void |
BasicGraphUI.selectCellsForEvent(JGraph graph,
Object[] cells,
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,
Object cell)
Selects the cell and tries to edit it. |
Object |
BasicGraphUI.getEditingCell(JGraph graph)
Returns the element that is being edited. |
protected GraphContext |
BasicGraphUI.createContext(JGraph graph,
Object[] cells)
|
static void |
BasicGraphUI.autoscroll(JGraph graph,
Point p)
Scroll the graph for an event at p . |
Uses of JGraph in org.jgraph.util |
Methods in org.jgraph.util with parameters of type JGraph | |
static void |
ParallelEdgeRouter.setGraph(JGraph graph)
Deprecated. graph instance retained internally |
|
JGraph |
||||||||||
PREV NEXT | FRAMES NO FRAMES |