|
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. |
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 |
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.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 |
EdgeRenderer.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 |
PortRenderer.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. |
boolean |
EdgeRenderer.intersects(JGraph graph,
CellView value,
java.awt.Rectangle rect)
Returns true if the edge shape intersects the given rectangle. |
boolean |
EdgeView.intersects(JGraph graph,
java.awt.geom.Rectangle2D rect)
Returns true if this view intersects the given rectangle. |
boolean |
AbstractCellView.intersects(JGraph graph,
java.awt.geom.Rectangle2D rect)
Returns true if the 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. |
|
JGraph |
|||||||||
PREV NEXT | FRAMES NO FRAMES |