Package eltos.simpledialogfragment.form
Klasse SimpleFormDialog.DialogActions
java.lang.Object
eltos.simpledialogfragment.form.SimpleFormDialog.FocusActions
eltos.simpledialogfragment.form.SimpleFormDialog.DialogActions
- Umschließende Klasse:
SimpleFormDialog
A Callback Class with useful methods used by
FormElementViewHolder.setUpView(android.view.View, android.content.Context, android.os.Bundle, eltos.simpledialogfragment.form.SimpleFormDialog.DialogActions)
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
continueWithNextElement
(boolean mayPressPositiveButtonIfLast) Helper to move the focus to the next element or to simulate a positive button press if this is the last elementboolean
Check if this is the last (focusable) elementboolean
Check if this is the only (focusable) elementvoid
showDialog
(SimpleDialog dialog, String tag) void
Helper to request an update of the positive button stateVon Klasse geerbte Methoden eltos.simpledialogfragment.form.SimpleFormDialog.FocusActions
clearCurrentFocus, hideKeyboard, showKeyboard
-
Methodendetails
-
updatePosButtonState
public void updatePosButtonState()Helper to request an update of the positive button state -
isOnlyFocusableElement
public boolean isOnlyFocusableElement()Check if this is the only (focusable) element- Gibt zurück:
- true if this is the only (focusable) element
-
isLastFocusableElement
public boolean isLastFocusableElement()Check if this is the last (focusable) element- Gibt zurück:
- true if this is the last (focusable) element
-
continueWithNextElement
public void continueWithNextElement(boolean mayPressPositiveButtonIfLast) Helper to move the focus to the next element or to simulate a positive button press if this is the last element- Parameter:
mayPressPositiveButtonIfLast
- whether the positive button can be pressed if this was the last element
-
showDialog
-