|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.commons.iloader.node.lookups.api.AbstractLookup com.ibm.commons.iloader.node.lookups.BooleanLookup
public class BooleanLookup
A lookup that only has two values: true & false.
Field Summary | |
---|---|
protected static java.lang.String |
UNKNOWN_VALUE
|
Constructor Summary | |
---|---|
BooleanLookup()
Creates a new instance of this class. |
Method Summary | |
---|---|
java.lang.String |
getCode(int index)
Return the code or model value for this index. |
java.lang.String |
getLabel(int index)
Return the label displayed to the user for this index. |
int |
size()
Returns the size of the number of items in the lookup. |
Methods inherited from class com.ibm.commons.iloader.node.lookups.api.AbstractLookup |
---|
addLookupListener, addNotify, getImage, getLabelFromCode, getLabelFromCodeIgnoreCase, notifyLookupChanged, removeLookupListener, removeNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String UNKNOWN_VALUE
Constructor Detail |
---|
public BooleanLookup()
Method Detail |
---|
public int size()
public java.lang.String getCode(int index)
ILookup
public java.lang.String getLabel(int index)
ILookup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |