java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<U>
jfxtras.icalendarfx.properties.VPropertyBase<T,Trigger<T>>
jfxtras.icalendarfx.properties.component.alarm.Trigger<T>
- All Implemented Interfaces:
PropAlarmTrigger<T>
,VProperty<T>
,VChild
,VElement
,VParent
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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect
-
Field Summary
FieldsFields inherited from class jfxtras.icalendarfx.properties.VPropertyBase
actualValueContent, allowedValueTypes, defaultValueType, propertyName
Fields inherited from class jfxtras.icalendarfx.VParentBase
contentLineGenerator, orderer
Fields inherited from class jfxtras.icalendarfx.VElementBase
BEGIN, END
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRELATED: 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 string with Temporal class explicitly provided as parameterstatic <U> Trigger<U>
Parse string to Temporal.void
setAlarmTrigger
(AlarmTriggerRelationship relationship) protected void
setConverterByClass
(Class<T> clazz) void
Set the value of the propertyvoid
setValueType
(ValueParameter valueType) Set the value typeMethods inherited from class jfxtras.icalendarfx.properties.VPropertyBase
copyValue, equals, errors, getConverter, getNonStandard, getParent, getUnknownValue, getValue, getValueType, hashCode, modifiedValue, name, parseContent, processInLineChild, setConverter, setNonStandard, setParent, setValueType, toString, valueContent, withNonStandard, withNonStandard, withNonStandard, withValue, withValueType
Methods inherited from class jfxtras.icalendarfx.VParentBase
addChild, addChild, addChild, addChildInternal, checkChild, childrenUnmodifiable, collectGetterMap, collectSetterMap, copyChildrenInto, getGetter, getGetters, getSetter, getSetters, orderChild, orderChild, orderChild, parseContent, removeChild, removeChild, replaceChild, replaceChild, withChild
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jfxtras.icalendarfx.VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChild
Methods inherited from interface jfxtras.icalendarfx.properties.VProperty
getNonStandard, getValue, getValueType, setNonStandard
-
Field Details
-
relationship
-
-
Constructor Details
-
Trigger
-
Trigger
-
Trigger
public Trigger()
-
-
Method Details
-
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.- Specified by:
getAlarmTrigger
in interfacePropAlarmTrigger<T>
-
setAlarmTrigger
- Specified by:
setAlarmTrigger
in interfacePropAlarmTrigger<T>
-
withAlarmTrigger
-
setValue
Description copied from interface:VProperty
Set the value of the property -
setValueType
Description copied from interface:VProperty
Set the value type- Specified by:
setValueType
in interfaceVProperty<T>
- Overrides:
setValueType
in classVPropertyBase<T,
Trigger<T>>
-
setConverterByClass
- Overrides:
setConverterByClass
in classVPropertyBase<T,
Trigger<T>>
-
isValid
public boolean isValid()Description copied from interface:VElement
Checks element to determine if necessary properties are set.VElement.isValid()
is invoked recursively to test child elements if element is a parent -
parse
Parse string to Temporal. Not type safe. Implementation must ensure parameterized type is the same as date-time represented by String parameter -
parse
Parse string with Temporal class explicitly provided as parameter
-