Java Doc for VisualGraph.java in  » Database-Client » prefuse » prefuse » visual » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » prefuse » prefuse.visual 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


prefuse.data.Graph
   prefuse.visual.VisualGraph

VisualGraph
public class VisualGraph extends Graph implements VisualTupleSet(Code)
A visual abstraction of a graph data structure. NodeItem and EdgeItem tuples provide the visual representations for the nodes and edges of the graph. VisualGraphs should not be created directly, they are created automatically by adding data to a Visualization, for example by using the Visualization.addGraph(StringGraph) method.
author:
   jeffrey heer



Constructor Summary
public  VisualGraph(VisualTable nodes, VisualTable edges, boolean directed, String nodeKey, String sourceKey, String targetKey)
    

Method Summary
protected  voidfireGraphEvent(Table t, int first, int last, int col, int type)
     Fire a graph event.
public  StringgetGroup()
    
public  intgetNodeIndex(int key)
     Get the node row index value for the given key.
public  VisualizationgetVisualization()
    
public  voidsetGroup(String group)
    
public  voidsetVisualization(Visualization vis)
    


Constructor Detail
VisualGraph
public VisualGraph(VisualTable nodes, VisualTable edges, boolean directed, String nodeKey, String sourceKey, String targetKey)(Code)
Create a new VisualGraph
Parameters:
  nodes - the visual node table
Parameters:
  edges - the visual edge table
Parameters:
  directed - indicates if graph edges are directed or undirected
Parameters:
  nodeKey - the node table field by which to index the nodes.This value can be null, indicating that just the row indices should beused.
Parameters:
  sourceKey - the edge table field storing source node keys
Parameters:
  targetKey - the edge table field storing target node keys




Method Detail
fireGraphEvent
protected void fireGraphEvent(Table t, int first, int last, int col, int type)(Code)
Fire a graph event. Makes sure to invalidate all edges connected to a node that has been updated.
See Also:   prefuse.data.Graph.fireGraphEvent(prefuse.data.Tableintintintint)



getGroup
public String getGroup()(Code)
Get the visualization data group name for this graph the data group name



getNodeIndex
public int getNodeIndex(int key)(Code)
Get the node row index value for the given key. TODO: test this more thoroughly?



getVisualization
public Visualization getVisualization()(Code)

See Also:   prefuse.visual.VisualTupleSet.getVisualization



setGroup
public void setGroup(String group)(Code)
Set the visualization data group name for this graph the data group name to use



setVisualization
public void setVisualization(Visualization vis)(Code)
Set the visualization associated with this VisualGraph
Parameters:
  vis - the visualization to set



Fields inherited from prefuse.data.Graph
final public static String DEFAULT_NODE_KEY(Code)(Java Doc)
final public static String DEFAULT_SOURCE_KEY(Code)(Java Doc)
final public static String DEFAULT_TARGET_KEY(Code)(Java Doc)
final public static String EDGES(Code)(Java Doc)
final protected static String INDEGREE(Code)(Java Doc)
final public static int INEDGES(Code)(Java Doc)
final protected static String INLINKS(Code)(Java Doc)
final protected static Schema LINKS_SCHEMA(Code)(Java Doc)
final public static String NODES(Code)(Java Doc)
final protected static String OUTDEGREE(Code)(Java Doc)
final public static int OUTEDGES(Code)(Java Doc)
final protected static String OUTLINKS(Code)(Java Doc)
final public static int UNDIRECTED(Code)(Java Doc)
protected boolean m_directed(Code)(Java Doc)
protected TupleManager m_edgeTuples(Code)(Java Doc)
protected Table m_links(Code)(Java Doc)
protected boolean m_longKey(Code)(Java Doc)
protected Index m_nidx(Code)(Java Doc)
protected String m_nkey(Code)(Java Doc)
protected TupleManager m_nodeTuples(Code)(Java Doc)
protected String m_skey(Code)(Java Doc)
protected SpanningTree m_spanning(Code)(Java Doc)
protected String m_tkey(Code)(Java Doc)

Methods inherited from prefuse.data.Graph
public int addEdge(int s, int t)(Code)(Java Doc)
public Edge addEdge(Node s, Node t)(Code)(Java Doc)
public void addGraphModelListener(GraphListener listnr)(Code)(Java Doc)
protected void addLink(String field, int len, int n, int e)(Code)(Java Doc)
public Node addNode()(Code)(Java Doc)
public int addNodeRow()(Code)(Java Doc)
public void clear()(Code)(Java Doc)
protected void clearEdges()(Code)(Java Doc)
public void clearSpanningTree()(Code)(Java Doc)
protected Table createLinkTable()(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
protected boolean edgeCheck(Edge e, boolean throwException)(Code)(Java Doc)
public IntIterator edgeRows()(Code)(Java Doc)
public IntIterator edgeRows(int node)(Code)(Java Doc)
public IntIterator edgeRows(int node, int direction)(Code)(Java Doc)
public Iterator edges()(Code)(Java Doc)
public Iterator edges(Node node)(Code)(Java Doc)
protected void fireGraphEvent(Table t, int first, int last, int col, int type)(Code)(Java Doc)
public int getAdjacentNode(int edge, int node)(Code)(Java Doc)
public Node getAdjacentNode(Edge e, Node n)(Code)(Java Doc)
public int getDegree(int node)(Code)(Java Doc)
public int getDegree(Node n)(Code)(Java Doc)
public Edge getEdge(int e)(Code)(Java Doc)
public int getEdge(int source, int target)(Code)(Java Doc)
public Edge getEdge(Node source, Node target)(Code)(Java Doc)
public int getEdgeCount()(Code)(Java Doc)
public String getEdgeSourceField()(Code)(Java Doc)
public Table getEdgeTable()(Code)(Java Doc)
public String getEdgeTargetField()(Code)(Java Doc)
public TupleSet getEdges()(Code)(Java Doc)
public int getInDegree(int node)(Code)(Java Doc)
public int getInDegree(Node n)(Code)(Java Doc)
public long getKey(int node)(Code)(Java Doc)
public Node getNode(int n)(Code)(Java Doc)
public int getNodeCount()(Code)(Java Doc)
public Node getNodeFromKey(long key)(Code)(Java Doc)
public int getNodeIndex(long key)(Code)(Java Doc)
public String getNodeKeyField()(Code)(Java Doc)
public Table getNodeTable()(Code)(Java Doc)
public TupleSet getNodes()(Code)(Java Doc)
public int getOutDegree(int node)(Code)(Java Doc)
public int getOutDegree(Node n)(Code)(Java Doc)
public int getSourceNode(int edge)(Code)(Java Doc)
public Node getSourceNode(Edge e)(Code)(Java Doc)
public Tree getSpanningTree()(Code)(Java Doc)
public Tree getSpanningTree(Node root)(Code)(Java Doc)
public int getTargetNode(int edge)(Code)(Java Doc)
public Node getTargetNode(Edge e)(Code)(Java Doc)
public IntIterator inEdgeRows(int node)(Code)(Java Doc)
public Iterator inEdges(Node node)(Code)(Java Doc)
public Iterator inNeighbors(Node n)(Code)(Java Doc)
protected void init(Table nodes, Table edges, boolean directed, String nodeKey, String sourceKey, String targetKey)(Code)(Java Doc)
protected void initLinkTable()(Code)(Java Doc)
public boolean isDirected()(Code)(Java Doc)
public Iterator neighbors(Node n)(Code)(Java Doc)
protected boolean nodeCheck(Node n, boolean throwException)(Code)(Java Doc)
public IntIterator nodeRows()(Code)(Java Doc)
public Iterator nodes()(Code)(Java Doc)
public IntIterator outEdgeRows(int node)(Code)(Java Doc)
public Iterator outEdges(Node node)(Code)(Java Doc)
public Iterator outNeighbors(Node n)(Code)(Java Doc)
protected boolean remLink(String field, int len, int n, int e)(Code)(Java Doc)
public void removeAllGraphModelListeners()(Code)(Java Doc)
public boolean removeEdge(int edge)(Code)(Java Doc)
public boolean removeEdge(Edge e)(Code)(Java Doc)
public void removeGraphModelListener(GraphListener listnr)(Code)(Java Doc)
public boolean removeNode(int node)(Code)(Java Doc)
public boolean removeNode(Node n)(Code)(Java Doc)
public boolean removeTuple(Tuple t)(Code)(Java Doc)
public void setEdgeTable(Table edges)(Code)(Java Doc)
public void setTupleManagers(TupleManager ntm, TupleManager etm)(Code)(Java Doc)
public Iterator tuples(Predicate filter)(Code)(Java Doc)
public Iterator tuples()(Code)(Java Doc)
protected void updateDegrees(int e, int incr)(Code)(Java Doc)
protected void updateDegrees(int e, int s, int t, int incr)(Code)(Java Doc)
protected void updateNodeData(int r, boolean added)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.