public class

DataTableView

extends ViewGroup
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ com.sap.cloud.mobile.fiori.object.DataTableView

Summary

Nested Classes
class DataTableView.DataTableProvider  
class DataTableView.DataTableRecyclerView  
[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
Fields
protected DataTableView.DataTableProvider mAdapter
protected FioriItemClickListener mClickListener
protected View mSeparator
protected boolean mStickyMode
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
DataTableView(Context context)
DataTableView(Context context, AttributeSet attrs)
DataTableView(Context context, AttributeSet attrs, int defStyleAttr)
DataTableView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
boolean onInterceptTouchEvent(MotionEvent event)
void setAdapter(DataTableView.DataTableProvider adapter)
void setClickListener(FioriItemClickListener listener)
Sets the click listener for each row
void setStickyMode(boolean mode)
Sets whether to display the sticky column or not.
Protected Methods
void onLayout(boolean changed, int l, int t, int r, int b)
void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
[Expand]
Inherited Methods
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

Fields

protected DataTableView.DataTableProvider mAdapter

protected FioriItemClickListener mClickListener

protected View mSeparator

protected boolean mStickyMode

Public Constructors

public DataTableView (Context context)

public DataTableView (Context context, AttributeSet attrs)

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

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

Public Methods

public boolean onInterceptTouchEvent (MotionEvent event)

public void setAdapter (DataTableView.DataTableProvider adapter)

public void setClickListener (FioriItemClickListener listener)

Sets the click listener for each row

Parameters
listener The click listener with user-defined action

public void setStickyMode (boolean mode)

Sets whether to display the sticky column or not.

Parameters
mode Set to true to display the sticky column.

Protected Methods

protected void onLayout (boolean changed, int l, int t, int r, int b)

protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)