public class BaseNotification extends java.lang.Object implements Notification
Modifier and Type | Field and Description |
---|---|
protected boolean |
canceled |
protected java.lang.Object[] |
values |
Constructor and Description |
---|
BaseNotification(java.lang.String type,
int values) |
BaseNotification(java.lang.String type,
java.lang.Object[] values) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
void |
cancel() |
java.lang.String |
getType() |
java.lang.Object |
getValue() |
java.lang.Object |
getValue(int n) |
boolean |
isAborted() |
boolean |
isCanceled() |
boolean |
isOfType(java.lang.String type) |
void |
setValue(int n,
java.lang.Object value) |
void |
setValue(java.lang.Object value) |
java.lang.String |
toString() |
public BaseNotification(java.lang.String type, int values)
public BaseNotification(java.lang.String type, java.lang.Object[] values)
public java.lang.String getType()
getType
in interface Notification
public boolean isOfType(java.lang.String type)
isOfType
in interface Notification
public java.lang.Object getValue()
getValue
in interface Notification
public java.lang.Object getValue(int n)
getValue
in interface Notification
public void setValue(java.lang.Object value)
setValue
in interface Notification
public void setValue(int n, java.lang.Object value)
setValue
in interface Notification
public boolean isCanceled()
isCanceled
in interface Notification
public void cancel()
cancel
in interface Notification
public boolean isAborted()
isAborted
in interface Notification
public void abort()
abort
in interface Notification
public java.lang.String toString()
toString
in class java.lang.Object