| |
|
| java.lang.Object org.drools.eclipse.editors.rete.RowList
RowList | public class RowList (Code) | | Holder for Row elements.
|
Constructor Summary | |
public | RowList() Default constructor. |
RowList | public RowList()(Code) | | Default constructor.
|
add | public void add(int depth, BaseVertex vertex)(Code) | | Adds new vertex to specified depth
Parameters: depth - depth for vertex Parameters: vertex - vertex |
dump | public void dump()(Code) | | Dumps all row vertices to System.err
|
get | public Row get(int row)(Code) | | Parameters: row - index of the row to be returned (0..n-1) specified row |
getColumn | public int getColumn(BaseVertex vertex)(Code) | | Parameters: vertex - vertex to search column where vertex was found |
getDepth | public int getDepth()(Code) | | number of rows in RowList |
getRow | public int getRow(BaseVertex vertex)(Code) | | Finds specified vertex from the rows.
Parameters: vertex - vertex row number where vertex was found (0..n-1). -1 if not found. |
getWidth | public int getWidth()(Code) | | Finds the longest row width.
width of the longest row |
getWidth | public int getWidth(int row)(Code) | | Width of the row at specified index.
Parameters: row - width |
optimize | public void optimize()(Code) | | Optimizes all rows for optimal presentation
|
|
|
|