Uses of Class
org.jgraph.JGraph
Packages that use JGraph
Package
Description
JGraphLayout's topmost package which contains the basic layout classes and interfaces.
Graphs are made up of a number of classes and interfaces defined in their own
package - the
jgraph.graph package.Contains the GraphUI class which extends the Swing ComponentUI class.
Contains the BasicGraphUI, which is GraphUI's default implementation.
-
Uses of JGraph in com.jgraph.components.labels
Fields in com.jgraph.components.labels declared as JGraphModifier and TypeFieldDescriptionprotected JGraphMultiLineVertexRenderer.graphHolds a reference to fetch the correct cell value from the model in paint.Methods in com.jgraph.components.labels with parameters of type JGraphModifier and TypeMethodDescriptionRichTextEditor.getGraphCellEditorComponent(JGraph graph, Object cell, boolean isSelected) Overriding this in order to set the size of an editor to that of an edited view.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 JGraphModifier and TypeFieldDescriptionprotected JGraphJGraphFacade.graphThe JGraph to have the layout applied to it.Constructors in com.jgraph.layout with parameters of type JGraphModifierConstructorDescriptionJGraphFacade(JGraph graph) Constructs a JGraphGraphFacade specifying the graph passed in as the input graphJGraphFacade(JGraph graph, Object[] roots) Constructs a JGraphGraphFacade specifying the graph passed in as the input graphJGraphFacade(JGraph graph, Object[] roots, boolean ignoresHiddenCells, boolean ignoresCellsInGroups, boolean ignoresUnconnectedCells, boolean directed) Constructs a JGraphGraphFacadeJGraphFacade(JGraph graph, 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.util
Fields in com.jgraph.util declared as JGraphModifier and TypeFieldDescriptionprotected JGraphJGraphPrintingScrollPane.graphReferences the inner graph.Methods in com.jgraph.util that return JGraph -
Uses of JGraph in org.jgraph.graph
Fields in org.jgraph.graph declared as JGraphModifier and TypeFieldDescriptionprotected JGraphDefaultGraphCellEditor.graphJTree instance listening too.protected JGraphDefaultGraphSelectionModel.graphReference to the parent graph.protected JGraphEdgeView.EdgeHandle.graphprotected JGraphGraphContext.graphReference to the parent graph.protected JGraphVertexView.SizeHandle.graphMethods in org.jgraph.graph that return JGraphModifier and TypeMethodDescriptionGraphContext.getGraph()Returns the graph that was passed to the constructor.static JGraphBasicMarqueeHandler.getGraphForEvent(MouseEvent event) Methods in org.jgraph.graph with parameters of type JGraphModifier and TypeMethodDescriptionprotected GraphTransferableGraphTransferHandler.create(JGraph graph, Object[] cells, Map viewAttributes, Rectangle2D bounds, ConnectionSet cs, ParentMap pm) protected TransferableGraphTransferHandler.createTransferable(JGraph graph, Object[] cells) GraphTransferHandler.createTransferableForGraph(JGraph graph) protected voidDefaultGraphCellEditor.determineOffset(JGraph graph, Object value, boolean isSelected) EdgeRenderer.getExtraLabelBounds(JGraph paintingContext, EdgeView view, int index) Returns the label bounds of the specified view in the given graph.EdgeRenderer.getExtraLabelSize(JGraph paintingContext, EdgeView view, int index) Returns the label size of the specified view in the given graph.DefaultGraphCellEditor.getGraphCellEditorComponent(JGraph graph, Object cell, boolean isSelected) Configures the editor.DefaultRealEditor.getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected) GraphCellEditor.getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected) Sets an initial value for the editor.protected RectangleEdgeView.EdgeHandle.getHighlightBounds(JGraph graph, CellView cellView) Returns the bounds to be used to highlight the given cell view.protected Point2DGraphTransferHandler.getInsertionOffset(JGraph graph, int inCount, Rectangle2D bounds) Hook method to determine offset of cells cloned via the clipboardEdgeRenderer.getLabelBounds(JGraph paintingContext, EdgeView view) Returns the label bounds of the specified view in the given graph.AbstractCellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview) Returns a renderer component, configured for the view.CellView.getRendererComponent(JGraph graph, boolean selected, boolean focus, boolean preview) Returns a renderer component, configured for the view.CellViewRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview) Configure and return the renderer based on the passed in components.EdgeRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview) Configure and return the renderer based on the passed in components.PortRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview) Configure and return the renderer based on the passed in components.VertexRenderer.getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview) Configure and return the renderer component based on the passed in cell.protected voidGraphTransferHandler.handleExternalDrop(JGraph graph, Object[] cells, Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy) voidBasicMarqueeHandler.handleMarqueeEvent(MouseEvent e, JGraph graph, Rectangle2D bounds) Hook for subclassers.protected voidHighlights the given cell view or removes the highlight if no cell view is specified.booleanAbstractCellView.intersects(JGraph graph, Rectangle2D rect) Returns true if the view intersects the given rectangle.booleanCellView.intersects(JGraph g, Rectangle2D rect) Returns true if the view intersects the given rectangle.booleanEdgeRenderer.intersects(JGraph graph, CellView value, Rectangle rect) Returns true if the edge shape intersects the given rectangle.booleanEdgeView.intersects(JGraph graph, Rectangle2D rect) Returns true if this view intersects the given rectangle.booleanBasicMarqueeHandler.isMarqueeTriggerEvent(MouseEvent e, JGraph graph) Hook for subclassers.voidDraw the current state of the handler.voidCalled after the component was repainted (after autoscroll).protected voidSets the tree currently editing for.Constructors in org.jgraph.graph with parameters of type JGraphModifierConstructorDescriptionDefaultGraphSelectionModel(JGraph graph) Constructs a DefaultGraphSelectionModel for the specified graph.GraphContext(JGraph graph, Object[] cells) Constructs a graph context forcellswith respect to the connections defined in the model, and the views in the view ofgraph. -
Uses of JGraph in org.jgraph.plaf
Methods in org.jgraph.plaf with parameters of type JGraphModifier and TypeMethodDescriptionabstract voidGraphUI.cancelEditing(JGraph graph) Cancels the current editing session.abstract ObjectGraphUI.getEditingCell(JGraph graph) Returns the cell that is being edited.abstract Dimension2DGraphUI.getPreferredSize(JGraph graph, CellView view) Returns the preferred size forview.abstract booleanReturns true if the graph is being edited.abstract voidGraphUI.selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event) Messaged to update the selection based on a MouseEvent for a group of cells.abstract voidGraphUI.startEditingAtCell(JGraph graph, Object cell) Selects the cell and tries to edit it.abstract booleanGraphUI.stopEditing(JGraph graph) Stops the current editing session. -
Uses of JGraph in org.jgraph.plaf.basic
Fields in org.jgraph.plaf.basic declared as JGraphModifier and TypeFieldDescriptionprotected JGraphBasicGraphUI.graphComponent that we're going to be drawing into.Methods in org.jgraph.plaf.basic with parameters of type JGraphModifier and TypeMethodDescriptionstatic voidBasicGraphUI.autoscroll(JGraph graph, Point p) Scroll the graph for an event atp.voidBasicGraphUI.cancelEditing(JGraph graph) Cancels all current editing sessions.protected GraphContextBasicGraphUI.createContext(JGraph graph, Object[] cells) BasicGraphUI.getEditingCell(JGraph graph) Returns the element that is being edited.BasicGraphUI.getPreferredSize(JGraph graph, CellView view) Get the preferred Size for a cell view.booleanReturns true if the graph is being edited.voidBasicGraphUI.selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event) From GraphUI interface.voidBasicGraphUI.startEditingAtCell(JGraph graph, Object cell) Selects the cell and tries to edit it.booleanBasicGraphUI.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