public interface ScheduleListener extends ChangeListener
Schedule
class.Modifier and Type | Method and Description |
---|---|
void |
actionRedone(UndoEvent e)
Raised when an action is redone.
|
void |
actionUndone(UndoEvent e)
Raised when an action is undone.
|
void |
deserializeTag(SerializeTagEvent e)
Raised during XML deserialization to enable users to perform
custom deserialization of the tag values of items and resources.
|
void |
exceptionCreated(ItemEvent e)
Raised when a recurrence exception item is created.
|
void |
instantiateItem(InstantiateItemEvent e)
Raised when deserializing a custom item whose type has not been registered.
|
void |
instantiateResource(InstantiateResourceEvent e)
Raised when deserializing a custom resource whose type has not been registered.
|
void |
itemEndTimeChanged(ItemTimeEvent e)
Raised when the
getEndTime of an item in this
Schedule has changed. |
void |
itemEndTimeTriggered(ItemEvent e)
Raised when the reminder for an item is triggered, but taking
into consideration the item's end time for the purpose.
|
void |
itemReminderTriggered(ItemEvent e)
Raised when the reminder for an item is triggered.
|
void |
itemResourceChanged(ItemEvent e)
Raised when any of the associated resources of an item in the schedule has changed.
|
void |
itemsChanged(ListChangedEvent<Item> e)
Raised when the
Items list has been changed. |
void |
itemStartTimeChanged(ItemTimeEvent e)
Raised when the
getStartTime of an item in this
Schedule has changed. |
void |
itemVisualsChanged(ItemEvent e)
Raised when the appearance of an item in the schedule has changed.
|
void |
jsonDeserializeTag(JsonSerializeTagEventArgs e)
Raised during Json deserialization to enable users to perform
custom deserialization of the tag values of items and resources.
|
void |
jsonSerializeTag(JsonSerializeTagEventArgs e)
Raised during Json serialization to enable users to perform
custom serialization of the tag values of items and resources.
|
void |
recurrenceReset(ItemEvent e)
Raised when the recurrence pattern associated with an item has been reset,
causing all associated exception items to be lost.
|
void |
serializeTag(SerializeTagEvent e)
Raised during XML serialization to enable users to perform
custom serialization of the tag values of items and resources.
|
void |
taskReminderTriggered(TaskEvent e)
Raised when the reminder for a task is triggered.
|
changed
void itemsChanged(ListChangedEvent<Item> e)
Items
list has been changed.e
- A ListChangedEvent
object.void itemReminderTriggered(ItemEvent e)
e
- An ItemEvent
object.void itemEndTimeTriggered(ItemEvent e)
e
- An ItemEvent
object.void taskReminderTriggered(TaskEvent e)
e
- A TaskEvent
object.void exceptionCreated(ItemEvent e)
An exception is created if a user drags an occurrence of a recurring event thus changing its time, or changes its text.
e
- An ItemEvent
object.void recurrenceReset(ItemEvent e)
The recurrence is reset when the value of any of the properties that define it is changed. The recurrence is also reset when it is associated to or dissociated from an item.
e
- An ItemEvent
object.void itemStartTimeChanged(ItemTimeEvent e)
getStartTime
of an item in this
Schedule
has changed.
The Time
property provides the previous
StartTime
value of the item.
e
- An ItemTimeEvent
object.void itemEndTimeChanged(ItemTimeEvent e)
getEndTime
of an item in this
Schedule
has changed.
The Time
property provides the previous
EndTime
value of the item.
e
- An ItemTimeEvent
object.void itemResourceChanged(ItemEvent e)
e
- An ItemEvent
object.void itemVisualsChanged(ItemEvent e)
e
- An ItemEvent
object.void instantiateItem(InstantiateItemEvent e)
This event is being raised during deserialization for all custom items whose
types have not been previously registered within the system through a call
to Schedule.registerItemClass(java.lang.Class<? extends com.mindfusion.scheduling.model.Item>, java.lang.String, int)
. The event provides an alternative way
for instantiating item of custom types.
e
- An InstantiateItemEvent
object.void instantiateResource(InstantiateResourceEvent e)
This event is being raised during deserialization for all custom resources whose
types have not been previously registered within the system through a call to
Schedule.registerResourceClass(java.lang.Class<? extends com.mindfusion.scheduling.model.Resource>, java.lang.String, int)
. The event provides an alternative way
for instantiating resources of custom types.
e
- An InstantiateResourceEvent
object.void serializeTag(SerializeTagEvent e)
This event is being raised during the serialization of item and resource tag values in a XML document. If the event is not handled the system will try to serialize the tags as an arbitrary objects.
e
- A SerializeTagEvent
object.void deserializeTag(SerializeTagEvent e)
This event is being raised during the deserialization of item and resource tag values from a XML document. If the event is not handled the system will try to deserialize the tags as an arbitrary objects.
e
- A SerializeTagEvent
object.void jsonSerializeTag(JsonSerializeTagEventArgs e)
This event is being raised during the serialization of item and resource tag values in a JsonObject. If the event is not handled the system will try to serialize the tags as an arbitrary objects.
e
- A JsonSerializeTagEventArgs
object.void jsonDeserializeTag(JsonSerializeTagEventArgs e)
This event is being raised during the deserialization of item and resource tag values from a JsonObject. If the event is not handled the system will try to deserialize the tags as an arbitrary objects.
e
- A JsonSerializeTagEventArgs
object.void actionUndone(UndoEvent e)
This event is raised during calls to undo
. It is raised
both for top-level commands and for the constituent actions of composite commands.
e
- An UndoEvent
object.