public class

DataTableCellView

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

Summary

Constants
float ONE_LINE_MULT
float TWO_LINE_MULT
[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
Fields
protected int m1lineHeight
protected int m2linesHeight
protected int mCellHeight
protected int mColumnWidth
protected int mEdgePaddingH
protected int mHeaderHeight
protected int mHeaderPaddingV
protected int mImageSize
protected ImageView mImageView
protected int mIndex
protected boolean mIsHeader
protected int mLineHeight
protected int mLines
protected int mMaxImageSize
protected int mPaddingH
protected int mPaddingV
protected int mRowSize
protected int mSeparatorWidth
protected boolean mStickyMode
protected AppCompatTextView mTextView
protected static ViewOutlineProvider sRoundRectOutlineProvider
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
DataTableCellView(Context context)
Public Methods
int getCellHeight()
ImageView getImageView()
TextView getTextView()
boolean isImage()
void setColumnWidth(int width)
void setHeader(boolean header)
void setImage(Drawable image)
void setImageDescription(int resId)
void setImageDescription(CharSequence desc)
void setIndex(int index)
void setLines(int lines)
void setRowSize(int size)
void setStickyMode(boolean mode)
void setText(CharSequence text)
Protected Methods
int getMessageLines()
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

Constants

public static final float ONE_LINE_MULT

Constant Value: 0.5

public static final float TWO_LINE_MULT

Constant Value: 1.5

Fields

protected int m1lineHeight

protected int m2linesHeight

protected int mCellHeight

protected int mColumnWidth

protected int mEdgePaddingH

protected int mHeaderHeight

protected int mHeaderPaddingV

protected int mImageSize

protected ImageView mImageView

protected int mIndex

protected boolean mIsHeader

protected int mLineHeight

protected int mLines

protected int mMaxImageSize

protected int mPaddingH

protected int mPaddingV

protected int mRowSize

protected int mSeparatorWidth

protected boolean mStickyMode

protected AppCompatTextView mTextView

protected static ViewOutlineProvider sRoundRectOutlineProvider

Public Constructors

public DataTableCellView (Context context)

Public Methods

public int getCellHeight ()

public ImageView getImageView ()

public TextView getTextView ()

public boolean isImage ()

public void setColumnWidth (int width)

public void setHeader (boolean header)

public void setImage (Drawable image)

public void setImageDescription (int resId)

public void setImageDescription (CharSequence desc)

public void setIndex (int index)

public void setLines (int lines)

public void setRowSize (int size)

public void setStickyMode (boolean mode)

public void setText (CharSequence text)

Protected Methods

protected int getMessageLines ()

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

protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)