EventObject | +--gnu.mail.treeutil.StatusEvent
static int | |
static int | A status message. |
static int | |
static int | |
int | |
int | |
String | |
int | |
int |
StatusEvent(Object source, int type, String operation) Creates a new status event with the specified type and operation. |
StatusEvent(Object source, int type, String operation, int minimum, int maximum, int value) Creates a new status event representing an update of the specified operation. |
int | Returns the end point of the operation. |
int | Returns the start point of the operation. |
String | Returns a string describing the operation being performed. |
int | getType() Returns the type of event (OPERATION_START, OPERATION_UPDATE, or OPERATION_END). |
int | getValue() Returns the current point in the operation. |
public static final int OPERATION_END
public static final int OPERATION_START
public static final int OPERATION_UPDATE
public static final int UNKNOWN
protected int maximum
protected int minimum
protected String operation
protected int type
protected int value
public StatusEvent(Object source, int type, String operation)
public StatusEvent(Object source, int type, String operation, int minimum, int maximum, int value)
public int getMaximum()
public int getMinimum()
public String getOperation()
public int getType()
public int getValue()