public class WheelTime
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.text.DateFormat |
dateFormat |
static int |
DEFULT_END_YEAR |
static int |
DEFULT_START_YEAR |
static int |
s_ampm |
static int |
s_day |
static int |
s_h |
static int |
s_m |
static int |
s_month |
static int |
s_s |
static int |
s_year |
| Constructor and Description |
|---|
WheelTime(android.view.View view) |
WheelTime(android.view.View view,
TimePickerView.Type type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEndYear() |
int |
getStartYear() |
java.lang.String |
getTime() |
android.view.View |
getView() |
void |
setCustomTypeface(android.graphics.Typeface typeface) |
void |
setCyclic(boolean cyclic)
设置是否循环滚动
|
void |
setEndYear(int endYear) |
void |
setPicker(int year,
int month,
int day,
int h,
int m,
int s,
int ampm) |
void |
setPicker(int first,
int second,
int third,
TimePickerView.Type type) |
void |
setStartYear(int startYear) |
void |
setView(android.view.View view) |
public static java.text.DateFormat dateFormat
public static final int DEFULT_START_YEAR
public static final int DEFULT_END_YEAR
public static int s_year
public static int s_month
public static int s_day
public static int s_h
public static int s_m
public static int s_s
public static int s_ampm
public WheelTime(android.view.View view)
public WheelTime(android.view.View view,
TimePickerView.Type type)
public void setPicker(int first,
int second,
int third,
TimePickerView.Type type)
public void setPicker(int year,
int month,
int day,
int h,
int m,
int s,
int ampm)
public void setCyclic(boolean cyclic)
cyclic - public java.lang.String getTime()
public android.view.View getView()
public void setView(android.view.View view)
public int getStartYear()
public void setStartYear(int startYear)
public int getEndYear()
public void setEndYear(int endYear)
public void setCustomTypeface(android.graphics.Typeface typeface)