JGraph
v5.13.0.4


Uses of Class
org.jgraph.JGraph

Packages that use JGraph
com.jgraph.components.labels   
com.jgraph.layout JGraphLayout's topmost package which contains the basic layout classes and interfaces. 
com.jgraph.navigation   
com.jgraph.util   
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 com.jgraph.components.labels
 

Fields in com.jgraph.components.labels declared as JGraph
protected  JGraph MultiLineVertexRenderer.graph
          Holds a reference to fetch the correct cell value from the model in paint.
 

Methods in com.jgraph.components.labels with parameters of type JGraph
 java.awt.Component RichTextEditor.getGraphCellEditorComponent(JGraph graph, java.lang.Object cell, boolean isSelected)
          Overriding this in order to set the size of an editor to that of an edited view.
 java.awt.Component MultiLineVertexRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
          Overrides the parent implementation to return the value component stored in the user object instead of this renderer if a value component exists.
 

Uses of JGraph in com.jgraph.layout
 

Fields in com.jgraph.layout declared as JGraph
protected  JGraph JGraphFacade.graph
          The JGraph to have the layout applied to it.
 

Constructors in com.jgraph.layout with parameters of type JGraph
JGraphFacade(JGraph graph)
          Constructs a JGraphGraphFacade specifying the graph passed in as the input graph
JGraphFacade(JGraph graph, java.lang.Object[] roots)
          Constructs a JGraphGraphFacade specifying the graph passed in as the input graph
JGraphFacade(JGraph graph, java.lang.Object[] roots, boolean ignoresHiddenCells, boolean ignoresCellsInGroups, boolean ignoresUnconnectedCells, boolean directed)
          Constructs a JGraphGraphFacade
JGraphFacade(JGraph graph, java.lang.Object[] roots, boolean ignoresHiddenCells, boolean ignoresCellsInGroups, boolean ignoresUnconnectedCells, boolean directed, JGraphCostFunction distanceCostFunction, JGraphAlgebra algebra)
          Creates a JGraphGraphFacade specifying the graph passed in as the input graph.
 

Uses of JGraph in com.jgraph.navigation
 

Fields in com.jgraph.navigation declared as JGraph
protected  JGraph GraphNavigator.backingGraph
          Holds the backing graph and references the displayed (current) graph.
 

Methods in com.jgraph.navigation that return JGraph
 JGraph GraphNavigator.getBackingGraph()
          Returns the backing graph that is used to display GraphNavigator.currentGraph.
 JGraph GraphNavigator.getCurrentGraph()
          Returns the graph that is currently displayed.
static JGraph GraphNavigator.getParentGraph(java.awt.Component component)
          Helper method that returns the parent JGraph for the specified component in the component hierarchy.
 

Methods in com.jgraph.navigation with parameters of type JGraph
static GraphNavigator GraphNavigator.createInstance(JGraph graph)
           
 void GraphNavigator.setBackingGraph(JGraph backingGraph)
          Sets the backing graph that is used to display GraphNavigator.currentGraph.
 void GraphNavigator.setCurrentGraph(JGraph sourceGraph)
          Sets the graph that is currently displayed.
 

Constructors in com.jgraph.navigation with parameters of type JGraph
GraphNavigator.NavigatorPane(JGraph backingGraph)
          Constructs a new navigator pane using the specified backing graph to display the preview.
GraphNavigator(JGraph backingGraph)
          Constructs a new graph navigator using backingGraph to display the graph in GraphNavigator.currentGraph.
 

Uses of JGraph in com.jgraph.util
 

Fields in com.jgraph.util declared as JGraph
protected  JGraph JGraphPrintingScrollPane.graph
          References the inner graph.
 

Methods in com.jgraph.util that return JGraph
 JGraph JGraphPrintingScrollPane.getGraph()
          Returns the inner graph.
 

Uses of JGraph in org.jgraph.graph
 

Fields in org.jgraph.graph declared as JGraph
protected  JGraph DefaultGraphSelectionModel.graph
          Reference to the parent graph.
protected  JGraph DefaultGraphCellEditor.graph
          JTree instance listening too.
protected  JGraph VertexView.SizeHandle.graph
           
protected  JGraph GraphContext.graph
          Reference to the parent graph.
protected  JGraph EdgeView.EdgeHandle.graph
           
 

Methods in org.jgraph.graph that return JGraph
 JGraph GraphContext.getGraph()
          Returns the graph that was passed to the constructor.
static JGraph BasicMarqueeHandler.getGraphForEvent(java.awt.event.MouseEvent event)
           
 

Methods in org.jgraph.graph with parameters of type JGraph
protected  GraphTransferable GraphTransferHandler.create(JGraph graph, java.lang.Object[] cells, java.util.Map viewAttributes, java.awt.geom.Rectangle2D bounds, ConnectionSet cs, ParentMap pm)
           
protected  java.awt.datatransfer.Transferable GraphTransferHandler.createTransferable(JGraph graph, java.lang.Object[] cells)
           
 java.awt.datatransfer.Transferable GraphTransferHandler.createTransferableForGraph(JGraph graph)
           
protected  void DefaultGraphCellEditor.determineOffset(JGraph graph, java.lang.Object value, boolean isSelected)
           
 java.awt.geom.Rectangle2D EdgeRenderer.getExtraLabelBounds(JGraph paintingContext, EdgeView view, int index)
          Returns the label bounds of the specified view in the given graph.
 java.awt.Dimension EdgeRenderer.getExtraLabelSize(JGraph paintingContext, EdgeView view, int index)
          Returns the label size of the specified view in the given graph.
 java.awt.Component DefaultRealEditor.getGraphCellEditorComponent(JGraph graph, java.lang.Object value, boolean isSelected)
           
 java.awt.Component DefaultGraphCellEditor.getGraphCellEditorComponent(JGraph graph, java.lang.Object cell, boolean isSelected)
          Configures the editor.
 java.awt.Component GraphCellEditor.getGraphCellEditorComponent(JGraph graph, java.lang.Object value, boolean isSelected)
          Sets an initial value for the editor.
protected  java.awt.Rectangle EdgeView.EdgeHandle.getHighlightBounds(JGraph graph, CellView cellView)
          Returns the bounds to be used to highlight the given cell view.
protected  java.awt.geom.Point2D GraphTransferHandler.getInsertionOffset(JGraph graph, int inCount, java.awt.geom.Rectangle2D bounds)
          Hook method to determine offset of cells cloned via the clipboard
 java.awt.geom.Rectangle2D EdgeRenderer.getLabelBounds(JGraph paintingContext, EdgeView view)
          Returns the label bounds of the specified view in the given graph.
 java.awt.Component AbstractCellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview)
          Returns a renderer component, configured for the view.
 java.awt.Component CellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview)
          Returns a renderer component, configured for the view.
 java.awt.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.
 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 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 EdgeRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
          Configure and return the renderer based on the passed in components.
protected  void GraphTransferHandler.handleExternalDrop(JGraph graph, java.lang.Object[] cells, java.util.Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy)
           
 void BasicMarqueeHandler.handleMarqueeEvent(java.awt.event.MouseEvent e, JGraph graph, java.awt.geom.Rectangle2D bounds)
          Hook for subclassers.
protected  void EdgeView.EdgeHandle.highlight(JGraph graph, CellView cellView)
          Highlights the given cell view or removes the highlight if no cell view is specified.
 boolean EdgeRenderer.intersects(JGraph graph, CellView value, java.awt.Rectangle rect)
          Returns true if the edge shape intersects the given rectangle.
 boolean AbstractCellView.intersects(JGraph graph, java.awt.geom.Rectangle2D rect)
          Returns true if the view intersects the given rectangle.
 boolean EdgeView.intersects(JGraph graph, java.awt.geom.Rectangle2D rect)
          Returns true if this view intersects the given rectangle.
 boolean CellView.intersects(JGraph g, java.awt.geom.Rectangle2D rect)
          Returns true if the view intersects the given rectangle.
 boolean BasicMarqueeHandler.isMarqueeTriggerEvent(java.awt.event.MouseEvent e, JGraph graph)
          Hook for subclassers.
 void BasicMarqueeHandler.overlay(JGraph graph, java.awt.Graphics g, boolean clear)
          Draw the current state of the handler.
 void BasicMarqueeHandler.paint(JGraph graph, java.awt.Graphics g)
          Called after the component was repainted (after autoscroll).
protected  void DefaultGraphCellEditor.setGraph(JGraph newGraph)
          Sets the tree currently editing for.
 

Constructors in org.jgraph.graph with parameters of type JGraph
DefaultGraphSelectionModel(JGraph graph)
          Constructs a DefaultGraphSelectionModel for the specified graph.
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.
 

Uses of JGraph in org.jgraph.plaf
 

Methods in org.jgraph.plaf with parameters of type JGraph
abstract  void GraphUI.cancelEditing(JGraph graph)
          Cancels the current editing session.
abstract  java.lang.Object GraphUI.getEditingCell(JGraph graph)
          Returns the cell that is being edited.
abstract  java.awt.geom.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  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  void GraphUI.startEditingAtCell(JGraph graph, java.lang.Object cell)
          Selects the cell and tries to edit it.
abstract  boolean GraphUI.stopEditing(JGraph graph)
          Stops the current editing session.
 

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
static void BasicGraphUI.autoscroll(JGraph graph, java.awt.Point p)
          Scroll the graph for an event at p.
 void BasicGraphUI.cancelEditing(JGraph graph)
          Cancels all current editing sessions.
protected  GraphContext BasicGraphUI.createContext(JGraph graph, java.lang.Object[] cells)
           
 java.lang.Object BasicGraphUI.getEditingCell(JGraph graph)
          Returns the element that is being edited.
 java.awt.geom.Dimension2D BasicGraphUI.getPreferredSize(JGraph graph, CellView view)
          Get the preferred Size for a cell view.
 boolean BasicGraphUI.isEditing(JGraph graph)
          Returns true if the graph is being edited.
 void BasicGraphUI.selectCellsForEvent(JGraph graph, java.lang.Object[] cells, java.awt.event.MouseEvent event)
          From GraphUI interface.
 void BasicGraphUI.startEditingAtCell(JGraph graph, java.lang.Object cell)
          Selects the cell and tries to edit it.
 boolean BasicGraphUI.stopEditing(JGraph graph)
          Stops the current editing session.
 

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
v5.13.0.4


Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.