|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.swing.CheckBoxListItem
public class CheckBoxListItem
Defines an entry for a CheckBoxList.
Constructor Summary | |
---|---|
CheckBoxListItem(java.lang.Object obj)
Create a check box list item from an object. |
|
CheckBoxListItem(java.lang.Object obj,
boolean checked)
Create a check box list item from an object. |
Method Summary | |
---|---|
java.lang.Object |
getObject()
Get object. |
java.lang.String |
getText()
Get object text. |
boolean |
isChecked()
Is item checked? |
void |
setChecked(boolean checked)
Set checked status of item. |
java.lang.String |
toString()
Get item text for display conversions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CheckBoxListItem(java.lang.Object obj, boolean checked)
obj
- List item.checked
- True if list item checked. public CheckBoxListItem(java.lang.Object obj)
obj
- List item.
The item is initially set to not checked.
Method Detail |
---|
public void setChecked(boolean checked)
checked
- True to select item,
false to unselect. public boolean isChecked()
public java.lang.Object getObject()
public java.lang.String getText()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |