|
JGraph |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JGraph | |
---|---|
org.jgraph | JGraph's topmost package which contains the JGraph class. |
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. |
Uses of JGraph in org.jgraph |
---|
Methods in org.jgraph with parameters of type JGraph | |
---|---|
protected static GraphLayoutCache |
JGraph.createDefaultGraphView(JGraph graph)
Creates and returns a default GraphLayoutCache . |
protected EdgeView |
JGraph.createEdgeView(JGraph graph,
CellMapper mapper,
Edge cell)
Deprecated. replaced by #createEdgeView(Object,CellMapper) since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge) |
protected EdgeView |
JGraph.createEdgeView(JGraph graph,
CellMapper mapper,
Object cell)
Constructs an EdgeView view for the specified object. |
protected PortView |
JGraph.createPortView(JGraph graph,
CellMapper mapper,
Object cell)
Constructs a PortView view for the specified object. |
protected PortView |
JGraph.createPortView(JGraph graph,
CellMapper mapper,
Port cell)
Deprecated. replaced by #createPortView(Object,CellMapper) since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge) |
protected VertexView |
JGraph.createVertexView(JGraph graph,
CellMapper mapper,
Object cell)
Constructs a VertexView view for the specified object. |
CellView |
JGraph.createView(JGraph graph,
CellMapper mapper,
Object cell)
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper. |
void |
JGraph.updateAutoSize(JGraph graph,
CellView view)
Computes and updates the size for view . |
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 |
DefaultGraphSelectionModel.graph
Reference to the parent graph. |
protected JGraph |
VertexRenderer.graph
Cache the current graph for drawing. |
protected JGraph |
EdgeRenderer.graph
Cache the current graph for drawing |
protected JGraph |
PortRenderer.graph
Cache the current graph for drawing |
protected JGraph |
GraphContext.graph
Reference to the parent graph. |
protected JGraph |
VertexView.SizeHandle.graph
|
protected JGraph |
EdgeView.EdgeHandle.graph
|
protected JGraph |
AbstractCellView.graph
Reference to the graph |
protected JGraph |
GraphLayoutCache.graph
Factory to create the views. |
Methods in org.jgraph.graph that return JGraph | |
---|---|
JGraph |
GraphContext.getGraph()
Returns the graph that was passed to the constructor. |
JGraph |
AbstractCellView.getGraph()
Returns the graph associated with the view. |
JGraph |
GraphLayoutCache.getGraph()
Returns the factory that was passed to the constructor. |
Methods in org.jgraph.graph with parameters of type JGraph | |
---|---|
CellView |
CellViewFactory.createView(JGraph graph,
CellMapper mapper,
Object cell)
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper. |
protected void |
DefaultGraphCellEditor.determineOffset(JGraph graph,
Object value,
boolean isSelected)
|
Component |
DefaultRealEditor.getGraphCellEditorComponent(JGraph graph,
Object value,
boolean isSelected)
|
Component |
DefaultGraphCellEditor.getGraphCellEditorComponent(JGraph graph,
Object cell,
boolean isSelected)
Configures the editor. |
Component |
GraphCellEditor.getGraphCellEditorComponent(JGraph graph,
Object value,
boolean isSelected)
Sets an initial value for the editor. |
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 |
VertexRenderer.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 |
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. |
void |
BasicMarqueeHandler.handleMarqueeEvent(MouseEvent e,
JGraph graph,
Rectangle2D bounds)
Hook for subclassers. |
boolean |
BasicMarqueeHandler.isMarqueeTriggerEvent(MouseEvent e,
JGraph graph)
Hook for subclassers. |
protected void |
DefaultGraphCellEditor.setGraph(JGraph newGraph)
Sets the tree currently editing for. |
void |
CellViewFactory.updateAutoSize(JGraph graph,
CellView view)
Sets the preferred size for view . |
Constructors in org.jgraph.graph with parameters of type JGraph | |
---|---|
AbstractCellView(Object cell,
JGraph graph,
CellMapper mapper)
Constructs a view for the specified model object, and invokes update on the new instance. |
|
DefaultGraphSelectionModel(JGraph graph)
Constructs a DefaultGraphSelectionModel for the specified graph. |
|
EdgeView(Object cell,
JGraph graph,
CellMapper mapper)
Constructs an edge view for the specified model object. |
|
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 . |
|
GraphLayoutCache(JGraph graph)
Constructs a view for the specified model that uses factory
to create its views. |
|
GraphLayoutCache(JGraph graph,
GraphModel model,
CellViewFactory factory,
boolean partial)
Constructs a view for the specified model that uses factory
to create its views. |
|
GraphLayoutCache(JGraph graph,
GraphModel model,
CellViewFactory factory,
boolean partial,
boolean rememberCellViews,
boolean showAllEdgesForVisibleVertices,
boolean showEdgesOnShow,
boolean hideEdgesOnHide,
boolean hideEdgesOnBecomeInvisible)
Constructs a view for the specified model that uses factory
to create its views. |
|
GraphLayoutCache(JGraph graph,
Set localAttributes)
Constructs a view for the specified model that uses factory
to create its views. |
|
PortView(Object cell,
JGraph graph,
CellMapper mapper)
Constructs a view that holds a reference to the specified cell, anchor and parent vertex. |
|
VertexView(Object cell,
JGraph graph,
CellMapper mapper)
Constructs a vertex view for the specified model object and the specified child views. |
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 Object |
GraphUI.getEditingCell(JGraph graph)
Returns the cell that is being edited. |
abstract CellHandle |
GraphUI.getHandle(JGraph graph)
Returns the CellHandle that is currently active,
or null if no handle is active. |
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 void |
GraphUI.selectCellsForEvent(JGraph graph,
Object[] cells,
MouseEvent event)
Messaged to update the selection based on a MouseEvent for a group of cells. |
abstract void |
GraphUI.startEditingAtCell(JGraph graph,
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,
Point p)
Scroll the graph for an event at p . |
void |
BasicGraphUI.cancelEditing(JGraph graph)
Cancels all current editing sessions. |
protected GraphTransferable |
BasicGraphUI.GraphTransferHandler.create(JGraph graph,
Object[] cells,
Map viewAttributes,
Rectangle2D bounds,
ConnectionSet cs,
ParentMap pm)
|
protected GraphContext |
BasicGraphUI.createContext(JGraph graph,
Object[] cells)
|
Object |
BasicGraphUI.getEditingCell(JGraph graph)
Returns the element that is being edited. |
CellHandle |
BasicGraphUI.getHandle(JGraph graph)
Returns the handle that is currently active, or null, if no handle is currently active. |
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,
Object[] cells,
MouseEvent event)
From GraphUI interface. |
void |
BasicGraphUI.startEditingAtCell(JGraph graph,
Object cell)
Selects the cell and tries to edit it. |
boolean |
BasicGraphUI.stopEditing(JGraph graph)
Stops the current editing session. |
|
JGraph |
|||||||||
PREV NEXT | FRAMES NO FRAMES |