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