|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.util.validators.HexColorStringValidator
public class HexColorStringValidator
The HexColorStringValidator is a TransformationBean that generates the appropriate HTML 4.0 and JavaScript for creating a hexidecimal color string validator. A HexColorStringValidator is a validator that validates a Hex String value according to a color.
For More Information:
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Field Summary | |
---|---|
protected boolean |
sasColorsOnly
Indicates whether to limit valid colors to SASColors only |
Fields inherited from class com.sas.util.validators.Validator |
---|
message, messages, msgObject |
Constructor Summary | |
---|---|
HexColorStringValidator()
Constructs a new HexColorStringValidator Transformation Bean. |
|
HexColorStringValidator(boolean sasColorsOnly)
Constructs a new HexColorStringValidator Transformation Bean. |
Method Summary | |
---|---|
protected java.lang.String |
getDefaultValidationMessage(TransformationInterface bean)
|
protected java.lang.String |
getValidationParameters(TransformationInterface bean)
|
boolean |
isSasColorsOnly()
Gets the sasColorsOnly property (boolean) of the HexColorStringValidator. |
void |
setSasColorsOnly(boolean sasColorsOnly)
Sets the sasColorsOnly attribute (boolean) of the HexColorStringValidatorTag. |
Methods inherited from class com.sas.servlet.tbeans.util.validators.JavaScriptValidator |
---|
createValidationFunctionCall, getClearErrorsFunctionName, getDescription, getErrorHandlerFunctionName, getValidationFunctionName, setClearErrorsFunctionName, setErrorHandlerFunctionName, setValidationFunctionName |
Methods inherited from class com.sas.util.validators.Validator |
---|
createValidationMessages, getExtendedBeanInfo, getValidationMessage, getValidationMessageCode, newValidationMessage, normalizeValue, setValidationMessage, setValidationMessageCode, validateValue |
Methods inherited from interface com.sas.util.validators.ValidationInterface |
---|
getValidationMessage, getValidationMessageCode, normalizeValue, setValidationMessage, validateValue |
Field Detail |
---|
protected boolean sasColorsOnly
Constructor Detail |
---|
public HexColorStringValidator()
public HexColorStringValidator(boolean sasColorsOnly)
Method Detail |
---|
public void setSasColorsOnly(boolean sasColorsOnly)
sasColorsOnly
- TRUE to validate SAS hexidecimal colors only.public boolean isSasColorsOnly()
protected java.lang.String getDefaultValidationMessage(TransformationInterface bean)
getDefaultValidationMessage
in class JavaScriptValidator
protected java.lang.String getValidationParameters(TransformationInterface bean)
getValidationParameters
in class JavaScriptValidator
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |