|
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 initializer]()
bridges.validation.Validation.[static initializer] |
|
staticpackage |
◆ validate_ADT_size()
static void bridges.validation.Validation.validate_ADT_size |
( |
int |
i | ) |
|
|
static |
◆ validateColor()
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
◆ validateOpacity()
static void bridges.validation.Validation.validateOpacity |
( |
double |
val | ) |
|
|
static |
Determines if the value passed is an acceptable value to set the opacity to.
- Parameters
-
◆ validateShape()
static void bridges.validation.Validation.validateShape |
( |
String |
shape | ) |
|
|
static |
Determines if the shape is supported.
- Parameters
-
◆ validateSize()
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
-
◆ validateThickness()
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
-
◆ COLOR_NAMES
final Set<String> bridges.validation.Validation.COLOR_NAMES = new HashSet<String>() |
|
static |
◆ COLOR_PATTERNS
final Set<Pattern> bridges.validation.Validation.COLOR_PATTERNS = new HashSet<Pattern>() |
|
static |
◆ NODE_SHAPES
final Set<String> bridges.validation.Validation.NODE_SHAPES = new HashSet<String>() |
|
static |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-java/src/main/java/bridges/validation/Validation.java