- findComponent(int) - Method in class universum.studios.android.form.BaseFormComponent
-
- findComponent(int) - Method in interface universum.studios.android.form.FormComponent
-
Looks for a form component with the requested id.
- findComponent(int) - Method in class universum.studios.android.form.FormValidator
-
Returns an instance of FormComponent with the requested id.
- findComponentTraversal(int) - Method in class universum.studios.android.form.BaseFormComponent
-
- findComponentTraversal(int) - Method in class universum.studios.android.form.FormComponentsGroup
-
Will search within the current form components to find a one with the requested id.
- FormCheckable<ComponentView extends View & Checkable> - Class in universum.studios.android.form
-
- FormCheckable(int) - Constructor for class universum.studios.android.form.FormCheckable
-
- FormCheckable(int, boolean) - Constructor for class universum.studios.android.form.FormCheckable
-
Creates a new instance of FormCheckable component for a checkable view with the specified
id.
- FormCheckable(ComponentView) - Constructor for class universum.studios.android.form.FormCheckable
-
- FormCheckable(ComponentView, boolean) - Constructor for class universum.studios.android.form.FormCheckable
-
Creates a new instance of FormCheckable component for the given checkable view.
- FormComponent<ComponentView extends View,Input> - Interface in universum.studios.android.form
-
A FormComponent is a general abstraction for 'object that is part of a form', more exactly an object
which wraps a view that is part of a view hierarchy representing a form of which input data need
to be validated.
- FormComponentsGroup - Class in universum.studios.android.form
-
- FormComponentsGroup(int) - Constructor for class universum.studios.android.form.FormComponentsGroup
-
Creates a new instance of FormComponentsGroup to
- FormEditable - Class in universum.studios.android.form
-
A
BaseFormComponent implementation that wraps form editable view like
EditText
into component that can be validated by
FormValidator
when validating a form in which is such a view presented.
- FormEditable(int) - Constructor for class universum.studios.android.form.FormEditable
-
- FormEditable(int, String) - Constructor for class universum.studios.android.form.FormEditable
-
Creates a new instance of FormEditable component for an editable view with the specified
id and the specified regular expression.
- FormEditable(int, int) - Constructor for class universum.studios.android.form.FormEditable
-
Creates a new instance of FormEditable component for an editable view with the specified
id.
- FormEditable(EditText) - Constructor for class universum.studios.android.form.FormEditable
-
- FormEditable(EditText, int) - Constructor for class universum.studios.android.form.FormEditable
-
- FormEditable(EditText, String) - Constructor for class universum.studios.android.form.FormEditable
-
Creates a new instance of FormEditable component for the given editable view with
the specified regular expression.
- FormEditableLayout - Class in universum.studios.android.form
-
A
BaseFormComponent implementation which wraps form
EditLayout into component that
can be validated by
FormValidator when validating a form in which is such a layout presented.
- FormEditableLayout(int) - Constructor for class universum.studios.android.form.FormEditableLayout
-
- FormEditableLayout(int, String) - Constructor for class universum.studios.android.form.FormEditableLayout
-
Creates a new instance of FormEditableLayout component for an editable input layout with the
specified id and the specified regular expression.
- FormEditableLayout(int, int) - Constructor for class universum.studios.android.form.FormEditableLayout
-
Creates a new instance of FormEditableLayout component for an an editable input layout with
the specified id.
- FormEditableLayout(EditLayout) - Constructor for class universum.studios.android.form.FormEditableLayout
-
- FormEditableLayout(EditLayout, int) - Constructor for class universum.studios.android.form.FormEditableLayout
-
- FormEditableLayout(EditLayout, String) - Constructor for class universum.studios.android.form.FormEditableLayout
-
Creates a new instance of FormEditable component for the given editable view with
the specified regular expression.
- FormValidator - Class in universum.studios.android.form
-
A FormValidator can be used to simplify validation process of a form with user inputs like
EditTexts or
CompoundButtons (CheckBox, RadioButton, ...).
- FormValidator(View) - Constructor for class universum.studios.android.form.FormValidator
-
- FormValidator(View, int) - Constructor for class universum.studios.android.form.FormValidator
-
Creates a new instance of FormValidator for the given formView with the specified
validation mode.
- FormValidator.OnFormListener - Interface in universum.studios.android.form
-
Simple listener to receive callbacks when some validation errors occurs during form validation
process and also callback with the result of validation process.
- FormValidator.ValidationMode - Annotation Type in universum.studios.android.form
-
- getComponent(int) - Method in class universum.studios.android.form.FormComponentsGroup
-
Returns an instance of FormComponent with the requested id.
- getComponent(int) - Method in class universum.studios.android.form.FormValidator
-
Returns an instance of FormComponent with the requested id.
- getComponents() - Method in class universum.studios.android.form.FormComponentsGroup
-
Returns all components from this group.
- getComponents() - Method in class universum.studios.android.form.FormValidator
-
Returns the set of current form components of this validator.
- getContext() - Method in class universum.studios.android.form.FormValidator
-
Returns the context obtained from the context wrapper during initialization of this validator.
- getEditableInput() - Method in class universum.studios.android.form.FormEditable
-
Returns the current editable value of the attached text field view.
- getEditableInput() - Method in class universum.studios.android.form.FormEditableLayout
-
Returns the current editable value of the attached text field view.
- getId() - Method in class universum.studios.android.form.BaseFormComponent
-
- getId() - Method in interface universum.studios.android.form.FormComponent
-
Returns the id of this component.
- getInput() - Method in class universum.studios.android.form.FormCheckable
-
- getInput() - Method in interface universum.studios.android.form.FormComponent
-
Returns the current input presented by an attached view of this form component.
- getInput() - Method in class universum.studios.android.form.FormComponentsGroup
-
Always returns null, as a group of form components does not have a specific view attached
thus it cannot have any input also.
- getInput() - Method in class universum.studios.android.form.FormEditable
-
- getInput() - Method in class universum.studios.android.form.FormEditableLayout
-
- getInvalidComponent() - Method in class universum.studios.android.form.FormComponentsGroup
-
Returns currently invalid form component.
- getLastValidatedInput() - Method in class universum.studios.android.form.BaseFormComponent
-
- getResources() - Method in class universum.studios.android.form.BaseFormComponent
-
Returns the resources obtained form the current attached FormValidator.
- getValidationMode() - Method in class universum.studios.android.form.FormValidator
-
Returns the current validation mode of this validator.
- getValidator() - Method in class universum.studios.android.form.BaseFormComponent
-
Returns the instance of
FormValidator to which is this form component currently attached.
- getView() - Method in class universum.studios.android.form.BaseFormComponent
-
- getView() - Method in interface universum.studios.android.form.FormComponent
-
Returns the view attached to this form component.
- getView() - Method in class universum.studios.android.form.FormComponentsGroup
-
Always returns null, as a group of form components does not have a specific view attached.