public abstract class AbsFormCell
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
AbsFormCell.OnCellClickListener |
| 限定符和类型 | 字段和说明 |
|---|---|
protected android.content.Context |
mContext |
protected float |
mHeight |
protected float |
mPadding |
protected float |
mStartX |
protected float |
mStartY |
protected float |
mWidth |
| 构造器和说明 |
|---|
AbsFormCell(android.content.Context context) |
| 限定符和类型 | 方法和说明 |
|---|---|
float |
calculateCellHeight() |
float |
calculateCellWidth() |
abstract void |
draw(android.graphics.Canvas canvas) |
float |
getCellHeight() |
float |
getCellWidth() |
void |
reset() |
void |
setOnCellClickListener(AbsFormCell.OnCellClickListener onCellClickListener) |
void |
setParams(float startX,
float startY,
float height,
float width) |
protected float mStartX
protected float mStartY
protected float mHeight
protected float mWidth
protected float mPadding
protected android.content.Context mContext
public abstract void draw(android.graphics.Canvas canvas)
public void reset()
public void setParams(float startX,
float startY,
float height,
float width)
public void setOnCellClickListener(AbsFormCell.OnCellClickListener onCellClickListener)
public float calculateCellHeight()
public float calculateCellWidth()
public float getCellHeight()
public float getCellWidth()