|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<java.lang.Object> thinwire.util.ArrayGrid.Row thinwire.ui.GridBox.Row
public static final class GridBox.Row
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_ROW_CHECKED
|
static java.lang.String |
PROPERTY_ROW_CHILD
|
static java.lang.String |
PROPERTY_ROW_SELECTED
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
GridBox.Row()
Construct a Row. |
|
GridBox.Row(boolean checked,
java.util.Collection<? extends java.lang.Object> c)
Construct a Row that contains the values of the specified Collection. |
|
GridBox.Row(boolean checked,
java.lang.Object... a)
Construct a Row that contains the values of the specified Array. |
|
GridBox.Row(java.util.Collection<? extends java.lang.Object> c)
Construct a Row that contains the values of the specified Collection. |
|
GridBox.Row(java.lang.Object... a)
Construct a Row that contains the values of the specified Array. |
Method Summary | |
---|---|
GridBox |
getChild()
Get this Row's child GridBox. |
boolean |
isChecked()
Returns the checked state of the row. |
boolean |
isSelected()
Returns the selected state of the row. |
void |
setChecked(boolean checked)
Sets the checked state of the row. |
void |
setChild(GridBox child)
Set this Row's child GridBox. |
void |
setSelected(boolean selected)
Sets the selected state of the row. |
java.lang.String |
toString()
|
Methods inherited from class thinwire.util.ArrayGrid.Row |
---|
add, get, get, getIndex, getParent, remove, set, set, size |
Methods inherited from class java.util.AbstractList |
---|
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray |
Field Detail |
---|
public static final java.lang.String PROPERTY_ROW_SELECTED
public static final java.lang.String PROPERTY_ROW_CHECKED
public static final java.lang.String PROPERTY_ROW_CHILD
Constructor Detail |
---|
public GridBox.Row()
public GridBox.Row(java.util.Collection<? extends java.lang.Object> c)
c
- the new Row's values.public GridBox.Row(boolean checked, java.util.Collection<? extends java.lang.Object> c)
a
- the new Row's values.public GridBox.Row(java.lang.Object... a)
a
- the new Row's values.public GridBox.Row(boolean checked, java.lang.Object... a)
a
- the new Row's values.Method Detail |
---|
public boolean isChecked()
java.lang.IllegalStateException
- if the row has not been added to a GridBox.public void setChecked(boolean checked)
checked
- true to check the row, false to uncheck it.public boolean isSelected()
public void setSelected(boolean selected)
selected
- true to select the row, false to unselect it.public GridBox getChild()
public void setChild(GridBox child)
child
- the child GridBoxpublic java.lang.String toString()
toString
in class java.util.AbstractCollection<java.lang.Object>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |