| Package | org.servebox.toolbox.view |
| Interface | public interface IDataSaveViewHelper |
| Implementors | AbstractDataSaveViewHelper |
| Method | Defined by | ||
|---|---|---|---|
|
cancelSave():void
Triggers the actions needed to reflect the user cancelling.
| IDataSaveViewHelper | ||
|
getSavePromptClass():Class
Returns the IViewSavePrompt instance to use as the save confirmation prompt.
| IDataSaveViewHelper | ||
|
getSavePromptText():String
Returns the text to display to the user inside the ISavePrompt instance.
| IDataSaveViewHelper | ||
|
isViewModified():Boolean
Indicates whether the view can be quit by the FlexBrowser without saving data.
| IDataSaveViewHelper | ||
|
save(data:IViewDataSaveWrapper = null):void
Triggers the actions needed to save the data stored inside the view/view helper instances.
| IDataSaveViewHelper | ||
|
setClean():void
Specifies that the view need to be considered as not modified.
| IDataSaveViewHelper | ||
|
setModified():void
Specifies that the view need to be considered as modified.
| IDataSaveViewHelper | ||
| cancelSave | () | method |
public function cancelSave():voidTriggers the actions needed to reflect the user cancelling.
| getSavePromptClass | () | method |
public function getSavePromptClass():ClassReturns the IViewSavePrompt instance to use as the save confirmation prompt.
ReturnsClass |
| getSavePromptText | () | method |
public function getSavePromptText():StringReturns the text to display to the user inside the ISavePrompt instance.
ReturnsString |
| isViewModified | () | method |
public function isViewModified():BooleanIndicates whether the view can be quit by the FlexBrowser without saving data.
ReturnsBoolean |
| save | () | method |
public function save(data:IViewDataSaveWrapper = null):voidTriggers the actions needed to save the data stored inside the view/view helper instances.
Parametersdata:IViewDataSaveWrapper (default = null) |
| setClean | () | method |
public function setClean():voidSpecifies that the view need to be considered as not modified.
| setModified | () | method |
public function setModified():voidSpecifies that the view need to be considered as modified.