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, propertyNameFields inherited from class jfxtras.icalendarfx.VParentBase
contentLineGenerator, ordererFields 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.booleanisValid()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.voidsetAlarmTrigger(AlarmTriggerRelationship relationship) protected voidsetConverterByClass(Class<T> clazz) voidSet the value of the propertyvoidsetValueType(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, withValueTypeMethods 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, withChildMethods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptionsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jfxtras.icalendarfx.VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChildMethods 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:
getAlarmTriggerin interfacePropAlarmTrigger<T>
-
setAlarmTrigger
- Specified by:
setAlarmTriggerin interfacePropAlarmTrigger<T>
-
withAlarmTrigger
-
setValue
Description copied from interface:VPropertySet the value of the property -
setValueType
Description copied from interface:VPropertySet the value type- Specified by:
setValueTypein interfaceVProperty<T>- Overrides:
setValueTypein classVPropertyBase<T,Trigger<T>>
-
setConverterByClass
- Overrides:
setConverterByClassin classVPropertyBase<T,Trigger<T>>
-
isValid
public boolean isValid()Description copied from interface:VElementChecks 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
-