java.lang.Object | |||
↳ | androidx.fragment.app.Fragment | ||
↳ | androidx.fragment.app.DialogFragment | ||
↳ | com.sap.cloud.mobile.fiori.formcell.FilterDialogFragment |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | FilterDialogFragment.OnApplyListener | Listener for notification when apply button is tapped. | |||||||||
interface | FilterDialogFragment.OnDismissListener | Listener for notification when the dialog fragment is embedded has been dismissed. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FilterDialogFragment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | dismiss() | ||||||||||
void | onActivityCreated(Bundle savedInstanceState) | ||||||||||
Dialog | onCreateDialog(Bundle savedInstanceState) | ||||||||||
View | onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) | ||||||||||
boolean | onMenuItemClick(MenuItem item) | ||||||||||
void | onResume() | ||||||||||
void | onSaveInstanceState(Bundle state) | ||||||||||
void |
setApplyListener(FilterDialogFragment.OnApplyListener listener)
Set a listener to be notified when the apply button is tapped.
| ||||||||||
void |
setDismissListener(FilterDialogFragment.OnDismissListener listener)
Set a listener to be notified when the dialog fragment is embedded has been dismissed.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
fillCellAtPosition(int section, int row, FormCell ob)
Bind the data values to the control at the row in a section.
| ||||||||||
abstract boolean |
filterHasChanged()
Returns true if the filter has been changed.
| ||||||||||
abstract FormCell.WidgetType |
getCellTypeInSectionAtRow(int section, int row)
Return the enum for the control at the given row in the section
| ||||||||||
abstract int |
getCountOfItemsInSection(int section)
Returns number of rows in a given section
| ||||||||||
abstract int |
getNumberOfSections()
Returns the number of sections in the view
| ||||||||||
abstract void |
resetChangeHandler()
Need to implement to reset the values of the controls being used in filter activity to some
default value
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Set a listener to be notified when the apply button is tapped.
listener | a listener to be notified when the apply button is tapped |
---|
Set a listener to be notified when the dialog fragment is embedded has been dismissed.
listener | a listener to be notified when the dialog fragment is embedded has been dismissed. |
---|
Bind the data values to the control at the row in a section. Application developer will have to cast the base control object to the specific control type.
section | section number of the view |
---|---|
row | row number of the view |
ob | FormCell object at this location |
Returns true if the filter has been changed.
Return the enum for the control at the given row in the section
section | section number of the view |
---|---|
row | row number of the view |
Returns number of rows in a given section
section | section number |
---|
Returns the number of sections in the view
Need to implement to reset the values of the controls being used in filter activity to some default value