public class ScheduleAdapter extends java.lang.Object implements ScheduleListener
ScheduleListener interface.
This lets you override only the handlers for the events you are interested in, instead of
implementing all methods of ScheduleListener.| Constructor and Description |
|---|
ScheduleAdapter() |
| 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 |
changed(java.util.EventObject e)
Invoked when the object is changed.
|
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(com.mindfusion.common.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(JsonSerializeTagEvent e)
Raised when the Tag of a schedule item or resource must be deserialized from JSON.
|
void |
jsonSerializeTag(JsonSerializeTagEvent e)
Raised when the Tag of a schedule item or resource must be serialized to JSON.
|
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.
|
public void changed(java.util.EventObject e)
changed in interface com.mindfusion.common.ChangeListenere - An EventObject object.public void itemsChanged(com.mindfusion.common.ListChangedEvent<Item> e)
Items list has been changed.itemsChanged in interface ScheduleListenere - A ListChangedEvent object.public void itemReminderTriggered(ItemEvent e)
itemReminderTriggered in interface ScheduleListenere - An ItemEvent object.public void itemEndTimeTriggered(ItemEvent e)
itemEndTimeTriggered in interface ScheduleListenere - An ItemEvent object.public void taskReminderTriggered(TaskEvent e)
taskReminderTriggered in interface ScheduleListenere - A TaskEvent object.public 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.
exceptionCreated in interface ScheduleListenere - An ItemEvent object.public 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.
recurrenceReset in interface ScheduleListenere - An ItemEvent object.public void itemStartTimeChanged(ItemTimeEvent e)
getStartTime of an item in this
Schedule has changed.
The Time property provides the previous
StartTime value of the item.
itemStartTimeChanged in interface ScheduleListenere - An ItemTimeEvent object.public void itemEndTimeChanged(ItemTimeEvent e)
getEndTime of an item in this
Schedule has changed.
The Time property provides the previous
EndTime value of the item.
itemEndTimeChanged in interface ScheduleListenere - An ItemTimeEvent object.public void itemResourceChanged(ItemEvent e)
itemResourceChanged in interface ScheduleListenere - An ItemEvent object.public void itemVisualsChanged(ItemEvent e)
itemVisualsChanged in interface ScheduleListenere - An ItemEvent object.public 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.
instantiateItem in interface ScheduleListenere - An InstantiateItemEvent object.public 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.
instantiateResource in interface ScheduleListenere - An InstantiateResourceEvent object.public 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.
serializeTag in interface ScheduleListenere - A SerializeTagEvent object.public 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.
deserializeTag in interface ScheduleListenere - A SerializeTagEvent object.public void jsonSerializeTag(JsonSerializeTagEvent e)
If the event is not handled, the control automatically serializes primitive tag values.
jsonSerializeTag in interface ScheduleListenere - A JsonSerializeTagEvent object.public void jsonDeserializeTag(JsonSerializeTagEvent e)
If the event is not handled, the control automatically deserializes primitive tag values.
jsonDeserializeTag in interface ScheduleListenere - A JsonSerializeTagEvent object.public 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.
actionUndone in interface ScheduleListenere - An UndoEvent object.public void actionRedone(UndoEvent e)
This event is raised during calls to redo. It is raised
both for top-level commands and for the constituent actions of composite commands.
actionRedone in interface ScheduleListenere - An UndoEvent object.