public final class VComponentUtilities
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VComponentUtilities.VComponentProperty
VComponent properties with the following data and methods:
|
Constructor and Description |
---|
VComponentUtilities() |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
isEqualTo(VComponent<?> v1,
VComponent<?> v2,
boolean verbose)
Tests equality between two VComponent objects.
|
static void |
parse(VComponent<?> vComponent,
javafx.util.Pair<java.lang.String,java.lang.String> propertyValuePair)
Parses the property-value pair to the matching property, if a match is found.
|
public static <T> boolean isEqualTo(VComponent<?> v1, VComponent<?> v2, boolean verbose)
Tests equality between two VComponent objects. Treats v1 as expected. Produces a JUnit-like output if objects are not equal.
v1
- - expected VComponentv2
- - actual VComponentverbose
- - true = display list of unequal properties, false no display outputpublic static void parse(VComponent<?> vComponent, javafx.util.Pair<java.lang.String,java.lang.String> propertyValuePair)
Parses the property-value pair to the matching property, if a match is found. If no matching property, does nothing.
vComponent
- - object to add property valuespropertyValuePair
- - property name-value pair (e.g. DTSTART and TZID=America/Los_Angeles:20160214T110000)