|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.eclipse.editors.rete.RowList
public class RowList
Holder for Row elements.
| Constructor Summary | |
|---|---|
RowList()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
add(int depth,
BaseVertex vertex)
Adds new vertex to specified depth |
void |
dump()
Dumps all row vertices to System.err |
Row |
get(int row)
|
int |
getColumn(BaseVertex vertex)
|
int |
getDepth()
|
int |
getRow(BaseVertex vertex)
Finds specified vertex from the rows. |
int |
getWidth()
Finds the longest row width. |
int |
getWidth(int row)
Width of the row at specified index. |
void |
optimize()
Optimizes all rows for optimal presentation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RowList()
| Method Detail |
|---|
public void add(int depth,
BaseVertex vertex)
depth - depth for vertexvertex - vertexpublic int getDepth()
public Row get(int row)
row - index of the row to be returned (0..n-1)
public int getRow(BaseVertex vertex)
vertex - vertex
-1 if not found.public int getWidth()
public int getWidth(int row)
row -
public int getColumn(BaseVertex vertex)
vertex - vertex to search
public void dump()
public void optimize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||