Package com.saperion.ngc.events
Class CancelSelectedEvent
- java.lang.Object
- 
- org.zkoss.zk.ui.event.Event
- 
- com.saperion.ngc.events.CancelSelectedEvent
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class CancelSelectedEvent extends org.zkoss.zk.ui.event.EventThis event is sent to the resultset when editing the index of an element was canceled.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CancelSelectedEvent(org.zkoss.zk.ui.Component target, com.saperion.ngc.iform.xml.SaveActionType saveAction)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EditSelectedEventgetEditEvent()Returns the edit-event that started the edit-action that resulted in this cancel-event.com.saperion.ngc.iform.xml.SaveActionTypegetSaveAction()voidsetEditEvent(EditSelectedEvent editEvent)Sets the edit-event that started the edit-action that resulted in this cancel-event.
 
- 
- 
- 
Method Detail- 
getSaveActionpublic com.saperion.ngc.iform.xml.SaveActionType getSaveAction() - Returns:
- the action to perform after cancel
 
 - 
getEditEventpublic EditSelectedEvent getEditEvent() Returns the edit-event that started the edit-action that resulted in this cancel-event. The event can be used to repeat the last edit-action when a cancel-and-button was pressed.- Returns:
- the last edit-event or null if not set
 
 - 
setEditEventpublic void setEditEvent(EditSelectedEvent editEvent) Sets the edit-event that started the edit-action that resulted in this cancel-event. The event can be used to repeat the last edit-action when a cancel-and-button was pressed.- Parameters:
- editEvent- the last edit-event
 
 
- 
 
-