|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.imagero.gui.flowin.RowCollection
RowCollection. Helps to put and manage Objects in rows.
| Constructor Summary | |
RowCollection()
|
|
| Method Summary | |
int |
computeRowHeight(int row,
boolean horizontal)
|
java.lang.Object |
get(int row,
int index)
get object from specified row and position |
int |
getRowCount()
get number of rows in this RowCollection |
int |
getRowForObject(java.lang.Object o)
get row number which contains supplied Object |
int |
getRowSize(int row)
get number of Objects in row |
void |
insert(int row,
java.lang.Object o)
insert Object between rows |
void |
put(int row,
java.lang.Object o)
put supplied Object into row |
java.lang.Object |
remove(int row,
int index)
remove Object at specified position (index) from given row in RowCollection |
boolean |
remove(int row,
java.lang.Object o)
remove Object from given row in RowCollection |
boolean |
remove(java.lang.Object o)
remove Object from RowCollection |
boolean |
removeEmptyRows()
remove empty rows from RowCollection |
int |
size()
get number of Objects in all rows |
void |
sort(int row,
java.util.Comparator c)
sort Objects in row |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RowCollection()
| Method Detail |
public int computeRowHeight(int row,
boolean horizontal)
public java.lang.Object get(int row,
int index)
row - row numberindex - index of element
public int getRowCount()
public int getRowForObject(java.lang.Object o)
o - object
public int getRowSize(int row)
row - row number
public void insert(int row,
java.lang.Object o)
row - row numbero - Object to insert
public void put(int row,
java.lang.Object o)
row - row numbero - Object
public java.lang.Object remove(int row,
int index)
row - row from which should be removed Objectindex - Object index
public boolean remove(int row,
java.lang.Object o)
o - object to remove
public boolean remove(java.lang.Object o)
o - object to remove
public boolean removeEmptyRows()
public int size()
public void sort(int row,
java.util.Comparator c)
row - row numberc - Comparator
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||