public abstract class AutoAttr
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BASE_DEFAULT |
static int |
BASE_HEIGHT |
static int |
BASE_WIDTH |
protected int |
baseHeight |
protected int |
baseWidth |
protected int |
pxVal |
| 构造器和说明 |
|---|
AutoAttr(int pxVal,
int baseWidth,
int baseHeight) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
apply(android.view.View view) |
protected abstract int |
attrVal() |
protected boolean |
baseWidth() |
protected boolean |
contains(int baseVal,
int flag) |
protected abstract boolean |
defaultBaseWidth() |
protected abstract void |
execute(android.view.View view,
int val) |
protected int |
getPercentHeightSize() |
protected int |
getPercentWidthSize() |
java.lang.String |
toString() |
protected boolean |
useDefault() |
public static final int BASE_WIDTH
public static final int BASE_HEIGHT
public static final int BASE_DEFAULT
protected int pxVal
protected int baseWidth
protected int baseHeight
public void apply(android.view.View view)
protected int getPercentWidthSize()
protected int getPercentHeightSize()
protected boolean baseWidth()
protected boolean useDefault()
protected boolean contains(int baseVal,
int flag)
protected abstract int attrVal()
protected abstract boolean defaultBaseWidth()
protected abstract void execute(android.view.View view,
int val)
public java.lang.String toString()
toString 在类中 java.lang.Object