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 Notification
public boolean isOfType(String type)
isOfType
in interface Notification
public Object getValue()
getValue
in interface Notification
public Object getValue(int n)
getValue
in interface Notification
public void setValue(Object value)
setValue
in interface Notification
public void setValue(int n, Object value)
setValue
in interface Notification
public boolean isCanceled()
isCanceled
in interface Notification
public void cancel()
cancel
in interface Notification