public class ESProgressPercent
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
static CalculatorKey |
ES_PROCESS_TAG |
static short |
SUBMIT_STAGE |
static int |
TOTAL_STAGE |
static short |
UPLOAD_STAGE |
static short |
VERIFY_STAGE |
static short |
WEIGHT_ROW |
static short |
WEIGHT_SHEET |
static short |
WEIGHT_STAGE |
static short |
WEIGHT_SUBMITTER |
构造器和说明 |
---|
ESProgressPercent() |
限定符和类型 | 方法和说明 |
---|---|
void |
clearRow()
重置
|
void |
clearSheet()
重置
|
void |
clearSubmitter()
重置
|
int |
getPercent()
获取进度 数值在0到100之间
|
static void |
set(ESProgressPercent p,
short w,
boolean isTotal,
int val)
设置进度或者总数
|
void |
setCurrentRow(int r) |
void |
setCurrentSheet(int s) |
void |
setCurrentStage(int s) |
void |
setCurrentSubmitter(int s) |
void |
setTotalRow(int r) |
void |
setTotalSheet(int s) |
void |
setTotalSubmitter(int s) |
public static CalculatorKey ES_PROCESS_TAG
public static final short UPLOAD_STAGE
public static final short VERIFY_STAGE
public static final short SUBMIT_STAGE
public static int TOTAL_STAGE
public static final short WEIGHT_STAGE
public static final short WEIGHT_SHEET
public static final short WEIGHT_SUBMITTER
public static final short WEIGHT_ROW
public void setCurrentStage(int s)
public void setTotalSheet(int s)
public void setCurrentSheet(int s)
public void setTotalSubmitter(int s)
public void setCurrentSubmitter(int s)
public void setTotalRow(int r)
public void setCurrentRow(int r)
public void clearSheet()
public void clearSubmitter()
public void clearRow()
public int getPercent()
public static void set(ESProgressPercent p, short w, boolean isTotal, int val)
p
- 进度控制对象 可能是nullw
- 级别isTotal
- 是否是设置总数val
- 数值