Replacement for native widget class. More...
Inherits EditText.
This class is a replacement for the native android.widget.EditText class. BlackBerry Dynamics applications must utilize this class instead of the native class in order to enable secure cut-copy-paste operations.
This class has the same programming interface as the native class.
Public Member Functions | |
| GDEditText (final Context context) | |
| GDEditText (final Context context, final AttributeSet attrs) | |
| GDEditText (final Context context, final AttributeSet attrs, final int defStyle) | |
| void | setEditActionEnabled (final EditAction editAction, final boolean enabled) |
| Sets action that should be enabled/disabled in GDEditText. More... | |
| GDEditText | ( | final Context | context | ) |
| GDEditText | ( | final Context | context, |
| final AttributeSet | attrs | ||
| ) |
| GDEditText | ( | final Context | context, |
| final AttributeSet | attrs, | ||
| final int | defStyle | ||
| ) |
| void setEditActionEnabled | ( | final EditAction | editAction, |
| final boolean | enabled | ||
| ) |
If action is disabled user still will be able to choose corresponding context menu item but actual operation will not be performed. For instance, if user will choose "Copy" option from context menu of GDEditText text data will not be copied to clipboard.
| editAction | - action that should be enabled / disabled. |
| enabled | - pass true if given action should be enabled, pass false otherwise. |