|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.commons.iloader.node.lookups.api.AbstractLookup
com.ibm.commons.iloader.node.lookups.DataNodeLookup
public class DataNodeLookup
A lookup that returns a list of labels and codes based on a datanode. The lookup is refreshed each time the data node changes.
| Constructor Summary | |
|---|---|
DataNodeLookup(DataNode dataNode,
java.lang.String codeName,
java.lang.String labelName)
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
protected void |
addNotify()
|
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. |
protected java.lang.String |
getValue(int index,
IAttribute attr)
|
protected void |
removeNotify()
|
int |
size()
Return the number of items in this lookup. |
| Methods inherited from class com.ibm.commons.iloader.node.lookups.api.AbstractLookup |
|---|
addLookupListener, getImage, getLabelFromCode, getLabelFromCodeIgnoreCase, notifyLookupChanged, removeLookupListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataNodeLookup(DataNode dataNode,
java.lang.String codeName,
java.lang.String labelName)
dataNode - the datanode upon which the lookup is basedcodeName - an attribute name that is to be looked up in the modellabelName - an attribute name that is to be looked up in the model| Method Detail |
|---|
public int size()
ILookup
public java.lang.String getCode(int index)
ILookup
public java.lang.String getLabel(int index)
ILookup
protected java.lang.String getValue(int index,
IAttribute attr)
protected void addNotify()
addNotify in class com.ibm.commons.iloader.node.lookups.api.AbstractLookupprotected void removeNotify()
removeNotify in class com.ibm.commons.iloader.node.lookups.api.AbstractLookup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||