public class TranslateAnimateHelper extends java.lang.Object implements AnimateHelper
| Modifier and Type | Field and Description |
|---|---|
int |
mCurrentState |
int |
mMode |
static int |
MODE_BOTTOM |
static int |
MODE_TITLE |
float |
mStartY |
android.view.View |
mTarget |
STATE_HIDE, STATE_SHOW| Modifier and Type | Method and Description |
|---|---|
static TranslateAnimateHelper |
get(android.view.View target) |
int |
getState()
获取当前的状态
|
void |
hide()
隐藏
|
void |
setMode(int mode)
设置当前的模式
|
void |
setStartY(float y)
设置开始的y轴位置
|
void |
show()
显示
|
public android.view.View mTarget
public float mStartY
public int mCurrentState
public int mMode
public static int MODE_TITLE
public static int MODE_BOTTOM
public static TranslateAnimateHelper get(android.view.View target)
public void show()
AnimateHelpershow in interface AnimateHelperpublic void hide()
AnimateHelperhide in interface AnimateHelperpublic void setStartY(float y)
AnimateHelpersetStartY in interface AnimateHelperpublic int getState()
AnimateHelpergetState in interface AnimateHelperpublic void setMode(int mode)
AnimateHelpersetMode in interface AnimateHelper