public class StatusEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
maximum
Current progress maximum.
|
protected int |
progress
Current progress value.
|
protected java.lang.String |
status
Current status message.
|
protected boolean |
warning
Whether or not this is a warning event.
|
Constructor and Description |
---|
StatusEvent(int progress,
int maximum,
java.lang.String message)
Constructs a status event.
|
StatusEvent(int progress,
int maximum,
java.lang.String message,
boolean warn)
Constructs a status event.
|
StatusEvent(java.lang.String message)
Constructs a status event.
|
StatusEvent(java.lang.String message,
boolean warn)
Constructs a status event.
|
Modifier and Type | Method and Description |
---|---|
int |
getProgressMaximum()
Gets progress maximum.
|
int |
getProgressValue()
Gets progress value.
|
java.lang.String |
getStatusMessage()
Gets status message.
|
boolean |
isWarning()
Returns whether or not this is a warning event.
|
java.lang.String |
toString() |
protected int progress
protected int maximum
protected java.lang.String status
protected boolean warning
public StatusEvent(java.lang.String message)
public StatusEvent(java.lang.String message, boolean warn)
public StatusEvent(int progress, int maximum, java.lang.String message)
public StatusEvent(int progress, int maximum, java.lang.String message, boolean warn)
public int getProgressValue()
public int getProgressMaximum()
public java.lang.String getStatusMessage()
public boolean isWarning()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 Open Microscopy Environment