@Portable public class ColorValidator extends Object implements PropertyFieldValidator
| Modifier and Type | Field and Description |
|---|---|
static List<Character> |
_hexLetters |
| Constructor and Description |
|---|
ColorValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getValidatorErrorMessage()
Error message used in property editor.
|
static boolean |
isValid(String aColor) |
boolean |
validate(Object value)
Validate a field new value
|
public static boolean isValid(String aColor)
public boolean validate(Object value)
PropertyFieldValidatorvalidate in interface PropertyFieldValidatorpublic String getValidatorErrorMessage()
PropertyFieldValidatorgetValidatorErrorMessage in interface PropertyFieldValidatorCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.