|
||||||||||
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.designer.domino.xsp.api.util.ComputedFieldContentTypeLookup
public class ComputedFieldContentTypeLookup
A Lookup that provides an array of 'codes' and 'labels' to controls that support ILookup. The codes and labels correspond to the names and display names for all registered content type renderers. The Computed Field has a special lookup as it also returns a "HTML" and "TEXT" content type. The codes for these content types are true and false as they are used by the escape attribute of the Computed Field XPages control
Constructor Summary | |
---|---|
ComputedFieldContentTypeLookup()
Creates a new instance of the 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()
Return the number of items in this 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 |
Constructor Detail |
---|
public ComputedFieldContentTypeLookup()
Method Detail |
---|
public int size()
ILookup
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 |