|
DBVIEW
|

Public Member Functions | |
| void | addEdge (Edge in_edge) |
| SubGraph (String in_name) | |
| void | setStyle (String in_style) |
| void | setBackgroundColor (String in_color) |
| void | setLabel (String in_label) |
| void | setNodeStyle (String in_style) |
| void | setNodeColor (String in_color) |
| void | addNode (Node in_node) |
| String | toString () |
Static Public Member Functions | |
| static String | generateName (String in_name) |
Private Attributes | |
| String | __name = null |
| String | __style = null |
| String | __background_color = null |
| String | __label = null |
| String | __node_style = null |
| String | __node_color = null |
| ArrayList< Node > | __nodes = new ArrayList<Node>() |
| ArrayList< Edge > | __edges = new ArrayList<Edge>() |
This class represents sub graphs.
Definition at line 31 of file SubGraph.java.
| org.dbview.utils.dot.SubGraph.SubGraph | ( | String | in_name | ) |
Create a sub graph.
| in_name | Friendly name of the sub graph. |
Definition at line 95 of file SubGraph.java.
| void org.dbview.utils.dot.SubGraph.addEdge | ( | Edge | in_edge | ) |
Add an edge to the subgraph.
| in_edge | Edge to add. |
Definition at line 77 of file SubGraph.java.
| void org.dbview.utils.dot.SubGraph.addNode | ( | Node | in_node | ) |
Add a node to the sub graph.
| in_node | Node to add to the sub graph. |
Definition at line 134 of file SubGraph.java.
| static String org.dbview.utils.dot.SubGraph.generateName | ( | String | in_name | ) | [static] |
Create a unique, and valid (no spaces...), name for the sub graph.
| in_name | Original name. |
| Exception |
Definition at line 85 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.SubGraph().
| void org.dbview.utils.dot.SubGraph.setBackgroundColor | ( | String | in_color | ) |
Set the background color of the sub graph.
| in_color | The color that must be applied to the background. |
Definition at line 110 of file SubGraph.java.
| void org.dbview.utils.dot.SubGraph.setLabel | ( | String | in_label | ) |
Set the label of the sub graph (this is the title).
| in_label | The label to set. |
Definition at line 116 of file SubGraph.java.
| void org.dbview.utils.dot.SubGraph.setNodeColor | ( | String | in_color | ) |
Set the background color of all nodes within the sub graph.
| in_color | Background color of all nodes within the sub graph. |
Definition at line 128 of file SubGraph.java.
| void org.dbview.utils.dot.SubGraph.setNodeStyle | ( | String | in_style | ) |
Set the style of all nodes within the sub graph.
| in_style | Name of the style to apply to all nodes. |
Definition at line 122 of file SubGraph.java.
| void org.dbview.utils.dot.SubGraph.setStyle | ( | String | in_style | ) |
Set the style of the sub graph.
| in_style | Name of the style to apply. |
Definition at line 104 of file SubGraph.java.
| String org.dbview.utils.dot.SubGraph.toString | ( | ) |
The method returns the DOT's name of a sub graph, given its friendly name.
| in_name | Friendly name of the sub graph. |
Definition at line 147 of file SubGraph.java.
String org.dbview.utils.dot.SubGraph.__background_color = null [private] |
Background color for the sub graph.
Definition at line 46 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.setBackgroundColor(), and org.dbview.utils.dot.SubGraph.toString().
ArrayList<Edge> org.dbview.utils.dot.SubGraph.__edges = new ArrayList<Edge>() [private] |
The list of edges.
Definition at line 71 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.addEdge(), and org.dbview.utils.dot.SubGraph.toString().
String org.dbview.utils.dot.SubGraph.__label = null [private] |
Sub graph's label.
Definition at line 51 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.setLabel(), and org.dbview.utils.dot.SubGraph.toString().
String org.dbview.utils.dot.SubGraph.__name = null [private] |
Name of the sub graph.
Definition at line 36 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.SubGraph(), and org.dbview.utils.dot.SubGraph.toString().
String org.dbview.utils.dot.SubGraph.__node_color = null [private] |
Background color of all nodes within the sub graph.
Definition at line 61 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.setNodeColor(), and org.dbview.utils.dot.SubGraph.toString().
String org.dbview.utils.dot.SubGraph.__node_style = null [private] |
Style of all nodes within the sub graph.
Definition at line 56 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.setNodeStyle(), and org.dbview.utils.dot.SubGraph.toString().
ArrayList<Node> org.dbview.utils.dot.SubGraph.__nodes = new ArrayList<Node>() [private] |
List of nodes within the sub graph.
Definition at line 66 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.addNode(), and org.dbview.utils.dot.SubGraph.toString().
String org.dbview.utils.dot.SubGraph.__style = null [private] |
Style of the sub graph.
Definition at line 41 of file SubGraph.java.
Referenced by org.dbview.utils.dot.SubGraph.setStyle(), and org.dbview.utils.dot.SubGraph.toString().