|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.plumtree.remote.sci.SciRadioElement
Represents a radio control.
| Constructor Summary | |
SciRadioElement(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 |
setCheckedValue(int value)
Sets the checked value. |
void |
setImage(java.lang.String image)
Sets the image. |
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 |
setStorageType(TypeStorage storageType)
Sets the storage type (e.g., integer). |
void |
setUnCheckedValue(int value)
Sets the unchecked value. |
void |
setValue(int value)
Sets the value of the control. |
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 SciRadioElement(java.lang.String fieldName,
java.lang.String labelText)
fieldName - name of field. The fieldName should be uppercase as the portal will uppercase all names in the NamedValue[] returned by IAdminEditor.finalize().labelText - text to display to the left of the field| Method Detail |
public void setCheckedValue(int value)
value - checked valuepublic void setUnCheckedValue(int value)
value - unchecked valuepublic void setImage(java.lang.String image)
image - path to imagepublic void setValue(int value)
value - field valuepublic void setStorageType(TypeStorage storageType)
storageType - TypeStoragepublic void setLabelStyle(TypeStyle labelStyle)
labelStyle - the TypeStylepublic void setMandatoryValidation(java.lang.String message)
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 - message to display in the JavaScript alert if the field value does not match the regular expressionre - regular expression to matchmatchType - 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 ©2007 BEA Systems, Inc. All Rights Reserved.