public interface ItemEditor
Modifier and Type | Method and Description |
---|---|
void |
endEdit(ItemEditContext context,
boolean accept)
Invoked when an operation outside of the item editor causes the editor to be closed.
|
java.lang.String |
getText()
Gets the new header text of the item, when the in-place editing operation
is about to be confirmed via
CalendarListener.itemInplaceEditEnding(com.mindfusion.scheduling.ItemEditConfirmEvent) event. |
void |
startEdit(ItemEditContext context)
Invoked for an item when the user initiates in-place editing operation.
|
void startEdit(ItemEditContext context)
By the time this function is invoked the custom control is created,
positioned and displayed in the Calendar
. It is a responsibility
of the derived class to initialize the fields of the custom control with
the desired data from the item being edited.
context
- An object, containing all information required to start
editing the item.void endEdit(ItemEditContext context, boolean accept)
This method is invoked by the Calendar
when it closes the editor.
context
- An instance of the ItemEditContext
class
that exposes information about the edit operation.accept
- true to accept the change, false to cancel it.java.lang.String getText()
CalendarListener.itemInplaceEditEnding(com.mindfusion.scheduling.ItemEditConfirmEvent)
event.