|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprefuse.data.tuple.AbstractTupleSet
prefuse.data.tuple.CompositeTupleSet
prefuse.data.Graph
nl.cwi.sen1.gui.plugin.GraphAdapter
public class GraphAdapter
Nested Class Summary |
---|
Nested classes/interfaces inherited from class prefuse.data.Graph |
---|
prefuse.data.Graph.Listener |
Field Summary |
---|
Fields inherited from class prefuse.data.Graph |
---|
DEFAULT_NODE_KEY, DEFAULT_SOURCE_KEY, DEFAULT_TARGET_KEY, EDGES, INDEGREE, INEDGES, INLINKS, LINKS_SCHEMA, m_directed, m_edgeTuples, m_links, m_longKey, m_nidx, m_nkey, m_nodeTuples, m_skey, m_spanning, m_tkey, NODES, OUTDEGREE, OUTEDGES, OUTLINKS, UNDIRECTED |
Fields inherited from interface prefuse.data.tuple.TupleSet |
---|
EMPTY_ARRAY |
Constructor Summary | |
---|---|
GraphAdapter(nl.cwi.sen1.graph.types.Graph graph)
|
Method Summary | |
---|---|
private static nl.cwi.sen1.graph.types.Color |
getColorAttribute(nl.cwi.sen1.graph.types.Node node)
|
private java.awt.geom.Point2D[] |
getControlPoints(nl.cwi.sen1.graph.types.Edge edge)
|
private static nl.cwi.sen1.graph.types.Color |
getFillColorAttribute(nl.cwi.sen1.graph.types.Node node)
|
static int |
getHeight(nl.cwi.sen1.graph.types.Node node)
|
private static java.lang.String |
getLabel(nl.cwi.sen1.graph.types.Node node)
|
private static nl.cwi.sen1.graph.types.attribute.Location |
getLocationAttribute(nl.cwi.sen1.graph.types.Node node)
|
private nl.cwi.sen1.graph.types.Polygon |
getPolygon(nl.cwi.sen1.graph.types.Edge edge)
|
private nl.cwi.sen1.graph.types.Shape |
getShape(nl.cwi.sen1.graph.types.Node node)
|
private static nl.cwi.sen1.graph.types.attribute.Size |
getSizeAttribute(nl.cwi.sen1.graph.types.Node node)
|
private static java.lang.String |
getTooltip(nl.cwi.sen1.graph.types.Node node)
|
static int |
getWidth(nl.cwi.sen1.graph.types.Node node)
|
static int |
getX(nl.cwi.sen1.graph.types.Node node)
|
static int |
getY(nl.cwi.sen1.graph.types.Node node)
|
private static nl.cwi.sen1.graph.types.Node |
setNodeSize(java.awt.FontMetrics metrics,
nl.cwi.sen1.util.Preferences prefs,
nl.cwi.sen1.graph.types.Node node)
|
private static nl.cwi.sen1.graph.types.Node |
setSizeAttribute(nl.cwi.sen1.graph.types.Node node,
nl.cwi.sen1.graph.types.attribute.Size sizeAttr)
|
static nl.cwi.sen1.graph.types.Graph |
sizeGraph(java.awt.FontMetrics metrics,
nl.cwi.sen1.util.Preferences prefs,
nl.cwi.sen1.graph.types.Graph graph)
|
static void |
updateNode(prefuse.visual.VisualItem node,
nl.cwi.sen1.graph.types.Attribute attr)
|
Methods inherited from class prefuse.data.Graph |
---|
addEdge, addEdge, addGraphModelListener, addLink, addNode, addNodeRow, clear, clearEdges, clearSpanningTree, createLinkTable, dispose, edgeCheck, edgeRows, edgeRows, edgeRows, edges, edges, fireGraphEvent, getAdjacentNode, getAdjacentNode, getDegree, getDegree, getEdge, getEdge, getEdge, getEdgeCount, getEdges, getEdgeSourceField, getEdgeTable, getEdgeTargetField, getInDegree, getInDegree, getKey, getNode, getNodeCount, getNodeFromKey, getNodeIndex, getNodeKeyField, getNodes, getNodeTable, getOutDegree, getOutDegree, getSourceNode, getSourceNode, getSpanningTree, getSpanningTree, getTargetNode, getTargetNode, inEdgeRows, inEdges, init, initLinkTable, inNeighbors, isDirected, neighbors, nodeCheck, nodeRows, nodes, outEdgeRows, outEdges, outNeighbors, remLink, removeEdge, removeEdge, removeGraphModelListener, removeNode, removeNode, removeTuple, setEdgeTable, setTupleManagers, tuples, tuples, updateDegrees, updateDegrees, updateNodeData |
Methods inherited from class prefuse.data.tuple.CompositeTupleSet |
---|
addColumn, addColumn, addColumn, addColumn, addSet, addTuple, containsSet, containsTuple, getSet, getTupleCount, hasSet, isAddColumnSupported, removeAllSets, removeSet, setNames, sets, setTuple |
Methods inherited from class prefuse.data.tuple.AbstractTupleSet |
---|
addColumns, addPropertyChangeListener, addPropertyChangeListener, addTupleSetListener, fireTupleEvent, fireTupleEvent, fireTupleEvent, getClientProperty, putClientProperty, removePropertyChangeListener, removePropertyChangeListener, removeTupleSetListener, tuples |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphAdapter(nl.cwi.sen1.graph.types.Graph graph)
Method Detail |
---|
private java.awt.geom.Point2D[] getControlPoints(nl.cwi.sen1.graph.types.Edge edge)
private nl.cwi.sen1.graph.types.Polygon getPolygon(nl.cwi.sen1.graph.types.Edge edge)
private nl.cwi.sen1.graph.types.Shape getShape(nl.cwi.sen1.graph.types.Node node)
private static nl.cwi.sen1.graph.types.attribute.Location getLocationAttribute(nl.cwi.sen1.graph.types.Node node)
private static nl.cwi.sen1.graph.types.Color getFillColorAttribute(nl.cwi.sen1.graph.types.Node node)
private static nl.cwi.sen1.graph.types.Color getColorAttribute(nl.cwi.sen1.graph.types.Node node)
public static int getX(nl.cwi.sen1.graph.types.Node node)
public static int getY(nl.cwi.sen1.graph.types.Node node)
public static int getWidth(nl.cwi.sen1.graph.types.Node node)
public static int getHeight(nl.cwi.sen1.graph.types.Node node)
private static java.lang.String getLabel(nl.cwi.sen1.graph.types.Node node)
private static java.lang.String getTooltip(nl.cwi.sen1.graph.types.Node node)
private static nl.cwi.sen1.graph.types.attribute.Size getSizeAttribute(nl.cwi.sen1.graph.types.Node node)
private static nl.cwi.sen1.graph.types.Node setSizeAttribute(nl.cwi.sen1.graph.types.Node node, nl.cwi.sen1.graph.types.attribute.Size sizeAttr)
private static nl.cwi.sen1.graph.types.Node setNodeSize(java.awt.FontMetrics metrics, nl.cwi.sen1.util.Preferences prefs, nl.cwi.sen1.graph.types.Node node)
public static nl.cwi.sen1.graph.types.Graph sizeGraph(java.awt.FontMetrics metrics, nl.cwi.sen1.util.Preferences prefs, nl.cwi.sen1.graph.types.Graph graph)
public static void updateNode(prefuse.visual.VisualItem node, nl.cwi.sen1.graph.types.Attribute attr)
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |