public class Trigger<T> extends PropertyBase<T,Trigger<T>> implements PropAlarmTrigger<T>
TRIGGER RFC 5545, 3.8.6.3, page 133
This property specifies when an alarm will trigger.
Value defaults to DURATION, but can also be DATE-TIME. Only UTC-formatted DATE-TIME is valid.
Example: A trigger set 15 minutes prior to the start of the event or to-do. TRIGGER:-PT15M A trigger set five minutes after the end of an event or the due date of a to-do. TRIGGER;RELATED=END:PT5M
VAlarm
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<AlarmTriggerRelationship> |
AlarmTrigger |
propertyNameProperty, valueProperty, valueTypeProperty
valueProperty, valueTypeProperty
Constructor and Description |
---|
Trigger() |
Trigger(T value) |
Trigger(Trigger<T> source) |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<AlarmTriggerRelationship> |
AlarmTriggerProperty() |
AlarmTriggerRelationship |
getAlarmTrigger()
RELATED: Alarm Trigger Relationship
RFC 5545, 3.2.14, page 24
To specify the relationship of the alarm trigger with
respect to the start or end of the calendar component.
|
boolean |
isValid()
Checks element to determine if necessary properties are set.
|
static <U> Trigger<U> |
parse(java.lang.Class<U> clazz,
java.lang.String value)
Parse string with Temporal class explicitly provided as parameter
|
static <U> Trigger<U> |
parse(java.lang.String value)
Parse string to Temporal.
|
void |
setAlarmTrigger(AlarmTriggerRelationship relationship) |
protected void |
setConverterByClass(java.lang.Class<T> clazz) |
void |
setValue(T value)
Set the value of the property
|
void |
setValueType(ValueParameter valueType)
Set the value type
|
Trigger<T> |
withAlarmTrigger(AlarmTriggerRelationship format) |
compareTo, copyInto, copyValue, equals, errors, getConverter, getNonStandard, getParent, getPropertyValueString, getUnknownValue, getValue, getValueType, hashCode, name, nonStandardParameter, parseContent, propertyNameProperty, propertyType, setConverter, setNonStandard, setParent, setPropertyName, setValueType, setValueType, toContent, toString, valueContent, valueProperty, valueTypeProperty, withNonStandard, withNonStandard, withNonStandard, withPropertyName, withValue, withValueType, withValueType
childrenUnmodifiable, copyIntoCallback, orderer, setContentLineGenerator
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getNonStandard, getValue, getValueType, nonStandardParameter, propertyType, setNonStandard, valueProperty, valueTypeProperty
childrenUnmodifiable, copyInto
errors, name, parseContent, toContent
public javafx.beans.property.ObjectProperty<AlarmTriggerRelationship> AlarmTriggerProperty
AlarmTriggerProperty
in interface PropAlarmTrigger<T>
getAlarmTrigger()
,
setAlarmTrigger(AlarmTriggerRelationship)
public Trigger(T value)
public Trigger()
public AlarmTriggerRelationship getAlarmTrigger()
RELATED: Alarm Trigger Relationship RFC 5545, 3.2.14, page 24 To specify the relationship of the alarm trigger with respect to the start or end of the calendar component.
getAlarmTrigger
in interface PropAlarmTrigger<T>
public javafx.beans.property.ObjectProperty<AlarmTriggerRelationship> AlarmTriggerProperty()
AlarmTriggerProperty
in interface PropAlarmTrigger<T>
getAlarmTrigger()
,
setAlarmTrigger(AlarmTriggerRelationship)
public void setAlarmTrigger(AlarmTriggerRelationship relationship)
setAlarmTrigger
in interface PropAlarmTrigger<T>
public Trigger<T> withAlarmTrigger(AlarmTriggerRelationship format)
public void setValue(T value)
Property
Set the value of the property
public void setValueType(ValueParameter valueType)
Property
Set the value type
setValueType
in interface Property<T>
setValueType
in class PropertyBase<T,Trigger<T>>
protected void setConverterByClass(java.lang.Class<T> clazz)
setConverterByClass
in class PropertyBase<T,Trigger<T>>
public boolean isValid()
VElement
Checks element to determine if necessary properties are set.
VElement.isValid()
is invoked recursively to test child elements if element is a parent
public static <U> Trigger<U> parse(java.lang.String value)
Parse string to Temporal. Not type safe. Implementation must ensure parameterized type is the same as date-time represented by String parameter
public static <U> Trigger<U> parse(java.lang.Class<U> clazz, java.lang.String value)
Parse string with Temporal class explicitly provided as parameter