public static class

SectionedRecyclerViewAdapter.SectionHeaderFooter

extends FrameLayout
implements FormCell<T>
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.sap.cloud.mobile.fiori.formcell.SectionedRecyclerViewAdapter.SectionHeaderFooter

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
SectionHeaderFooter(Context context)
SectionHeaderFooter(Context context, AttributeSet attrs)
SectionHeaderFooter(Context context, AttributeSet attrs, int defStyleAttr)
SectionHeaderFooter(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
int getCellType()
Return the type of the filter control being used.
CellValueChangeListener<CharSequence> getCellValueChangeListener()
Return the value change handler of the control
CharSequence getValue()
Return the value of the property of the control
boolean isEditable()
Returns if the control is enabled or not to modify values.
void setCellValueChangeListener(CellValueChangeListener<CharSequence> listener)
void setEditable(boolean isEditable)
Set if the control is enabled or not to modify value of the control.
void setTextColor(int color)
void setTextColor(ColorStateList color)
void setValue(CharSequence value)
[Expand]
Inherited Methods
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface com.sap.cloud.mobile.fiori.formcell.FormCell

Public Constructors

public SectionHeaderFooter (Context context)

public SectionHeaderFooter (Context context, AttributeSet attrs)

public SectionHeaderFooter (Context context, AttributeSet attrs, int defStyleAttr)

public SectionHeaderFooter (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public Methods

public int getCellType ()

Return the type of the filter control being used.

Returns
  • WidgetType type of the control

public CellValueChangeListener<CharSequence> getCellValueChangeListener ()

Return the value change handler of the control

Returns
  • OnCellChangeListener - value change listener of the control

public CharSequence getValue ()

Return the value of the property of the control

Returns
  • T - value of the property

public boolean isEditable ()

Returns if the control is enabled or not to modify values.

Returns
  • Boolean user is allowed to modify the value of the control

public void setCellValueChangeListener (CellValueChangeListener<CharSequence> listener)

public void setEditable (boolean isEditable)

Set if the control is enabled or not to modify value of the control. In readOnly mode, however, the text labels and text values will be selectable. By default, the control will be editable( user can modify value of the control)

Parameters
isEditable Boolean

public void setTextColor (int color)

public void setTextColor (ColorStateList color)

public void setValue (CharSequence value)