|
static final Set< String > | COLOR_NAMES = new HashSet<String>() |
|
static final Set< Pattern > | COLOR_PATTERNS = new HashSet<Pattern>() |
|
static final Set< String > | NODE_SHAPES = new HashSet<String>() |
|
static void bridges.validation.Validation.validate_ADT_size |
( |
int |
i | ) |
|
|
static |
Determine if a color is supported by CSS.
This method only supports a subject of CSS (yet). (1) 173 CSS extended color names, (2) #RRGGBB or #RGB, where R, G and B are red, green, blue values as hexadecimal digits.
This method does not check for null because null has special meaning.
- Parameters
-
- Returns
- whether the color is valid
static void bridges.validation.Validation.validateOpacity |
( |
double |
val | ) |
|
|
static |
Determines if the value passed is an acceptable value to set the opacity to.
- Parameters
-
static void bridges.validation.Validation.validateShape |
( |
String |
shape | ) |
|
|
static |
Determines if the shape is supported.
- Parameters
-
static void bridges.validation.Validation.validateSize |
( |
double |
val | ) |
|
|
static |
Determines if the size value passed is an acceptable value to set the size to.
- Parameters
-
static void bridges.validation.Validation.validateThickness |
( |
double |
val | ) |
|
|
static |
Determines if the link thickness value passed is an acceptable value to set the size to.
- Parameters
-
final Set<String> bridges.validation.Validation.COLOR_NAMES = new HashSet<String>() |
|
static |
final Set<Pattern> bridges.validation.Validation.COLOR_PATTERNS = new HashSet<Pattern>() |
|
static |
final Set<String> bridges.validation.Validation.NODE_SHAPES = new HashSet<String>() |
|
static |
The documentation for this class was generated from the following file:
- /Users/kalpathi/gr/bridges/bridges17/java/src/main/java/bridges/validation/Validation.java