|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.plumtree.remote.sci.SciSelectElement
Represents a select (drop-down) control.
| Constructor Summary | |
SciSelectElement(java.lang.String fieldName,
java.lang.String labelText)
Valued constructor |
|
| Method Summary | |
org.w3c.dom.Node |
getRootNode()
Gets the root Node to add to the page. |
void |
setLabelStyle(TypeStyle labelStyle)
Sets the label style (important or normal). |
void |
setMandatoryValidation(java.lang.String message)
Sets mandatory validation for the control. |
void |
setRegExpValidation(java.lang.String message,
java.lang.String re,
TypeMatch matchType)
Sets regular expression validation for the control. |
void |
setSelectedValue(java.lang.String value)
Sets the selected value. |
void |
setStorageType(TypeStorage storageType)
Sets the storage type (integer or string). |
void |
setValue(NamedValue[] values)
Sets the NamedValue list of values. |
java.lang.String |
toString()
Writes the element to a string for debugging. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SciSelectElement(java.lang.String fieldName,
java.lang.String labelText)
fieldName - the name of the field; should be uppercase as the portal will uppercase all names in the NamedValue[] returned by IAdminEditor.finalize()labelText - the text to display to the left of the control| Method Detail |
public void setSelectedValue(java.lang.String value)
value - the selected valuepublic void setValue(NamedValue[] values)
NamedValue list of values. (Similar to an OPTION array in HTML.)
values - a NamedValue of optionspublic void setStorageType(TypeStorage storageType)
storageType - the TypeStoragepublic void setLabelStyle(TypeStyle labelStyle)
labelStyle - the TypeStylepublic void setMandatoryValidation(java.lang.String message)
message - the message to display in the JavaScript alert if the field is empty
public void setRegExpValidation(java.lang.String message,
java.lang.String re,
TypeMatch matchType)
message - the message to display in the JavaScript alert if validation failsre - the regular expression to matchmatchType - the TypeMatch (match or not-match)public org.w3c.dom.Node getRootNode()
Node to add to the page.
getRootNode in interface ISciElementNodepublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©2008 Oracle® Corporation. All Rights Reserved.