Class: ActionTypeClass

ActionTypeClass

A class with constants for action types. You need this types for dialogs. This class has a global variable: ActionType

Constructor

new ActionTypeClass()

Author:
  • Patrick Siegmund
Source:

Members

OK_CANCEL_DIALOG :int

ActionType for dialogs with ok and cancel button.
return value ok = 0
return value cancel = 1
Type:
  • int
Source:

OK_POPUP :int

ActionType for standard popups.
return value ok = 0
Type:
  • int
Source:

YES_NO_CANCEL_DIALOG :int

ActionType for dialogs with yes, no and cancel button.
return value yes = 0
return value no = 1
return value cancel = 2
Type:
  • int
Source:

YES_NO_DIALOG :int

ActionType for dialogs with yes and no button.
return value yes = 0
return value no = 1
Type:
  • int
Source:

Methods

getName(actionType) → {String}

Gets the name of the action type by the action type value.
Parameters:
Name Type Description
actionType int The action type value.
Source:
Returns:
The name of the action type.
Type
String