DBVIEW
org.dbview.utils.dot.label.GridByRow Class Reference
Inheritance diagram for org.dbview.utils.dot.label.GridByRow:
Collaboration diagram for org.dbview.utils.dot.label.GridByRow:

List of all members.

Public Member Functions

void add (ArrayList< String > in_line)
String toString ()
void setRankdir (String in_direction)

Protected Member Functions

String _vRows_ (ArrayList< ArrayList< String >> in_data)
String _hRows_ (ArrayList< ArrayList< String >> in_data)

Protected Attributes

String _rankdir_ = "TB"

Private Attributes

ArrayList< ArrayList< String > > __lines = new ArrayList<ArrayList<String>>()

Detailed Description

The class represents a node's label that describes a grid. The grid's content is provided by a set of rows.

Author:
Denis Beurive

Definition at line 31 of file GridByRow.java.


Member Function Documentation

String org.dbview.utils.dot.label.AbstractGrid._hRows_ ( ArrayList< ArrayList< String >>  in_data) [protected, inherited]

Create a grid by processing rows in a horizontal layout.

Parameters:
in_dataRows.
Returns:
The method returns the representation of the grid.

Definition at line 76 of file AbstractGrid.java.

Referenced by org.dbview.utils.dot.label.GridByRow.toString().

String org.dbview.utils.dot.label.AbstractGrid._vRows_ ( ArrayList< ArrayList< String >>  in_data) [protected, inherited]

Create a grid by processing rows in a vertical layout.

Parameters:
in_dataRows.
Returns:
The method returns the representation of the grid.

Definition at line 51 of file AbstractGrid.java.

Referenced by org.dbview.utils.dot.label.AbstractGrid._hRows_(), and org.dbview.utils.dot.label.GridByRow.toString().

void org.dbview.utils.dot.label.GridByRow.add ( ArrayList< String >  in_line)

This method adds a row to the grid.

Parameters:
in_lineRow to add.

Definition at line 42 of file GridByRow.java.

void org.dbview.utils.dot.label.AbstractGrid.setRankdir ( String  in_direction) [inherited]

Set the initial orientation of a record node.

Parameters:
in_directionThis string defines the direction. Values can be:
  • TB (Top to bottom)
  • LR (Left to right)
  • RL 'Right to left)

Definition at line 44 of file AbstractGrid.java.

String org.dbview.utils.dot.label.GridByRow.toString ( ) [virtual]

This method returns a string that represents the grid.

Returns:
The method returns a string that represents the grid.

Implements org.dbview.utils.dot.label.AbstractGrid.

Definition at line 48 of file GridByRow.java.


Member Data Documentation

ArrayList<ArrayList<String> > org.dbview.utils.dot.label.GridByRow.__lines = new ArrayList<ArrayList<String>>() [private]
String org.dbview.utils.dot.label.AbstractGrid._rankdir_ = "TB" [protected, inherited]

This attribute represents the global orientation of the DOT's graph.

See also:
http://www.graphviz.org/doc/info/shapes.html

Definition at line 33 of file AbstractGrid.java.

Referenced by org.dbview.utils.dot.label.AbstractGrid.setRankdir(), and org.dbview.utils.dot.label.GridByRow.toString().


The documentation for this class was generated from the following file: