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

List of all members.

Public Member Functions

void setRankdir (String in_direction)
abstract String toString ()

Protected Member Functions

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

Protected Attributes

String _rankdir_ = "TB"

Detailed Description

This class is the base class for all classes that generates grids for node's labels.

Author:
Denis BEURIVE

Definition at line 27 of file AbstractGrid.java.


Member Function Documentation

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

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]

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.AbstractGrid.setRankdir ( String  in_direction)

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.

abstract String org.dbview.utils.dot.label.AbstractGrid.toString ( ) [pure virtual]

This method returns a string that represents the grid.

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

Implemented in org.dbview.utils.dot.label.GridByRow.


Member Data Documentation

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: