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