Serializable
public class ResourceEvent extends EventObject
Modifier and Type | Field | Description |
---|---|---|
static int |
ATTRIBUTE_CHANGES_CANCELED |
Deprecated.
Event ID indicating that attribute changes are canceled.
|
static int |
ATTRIBUTE_CHANGES_COMMITTED |
Deprecated.
Event ID indicating that attribute changes are committed.
|
static int |
ATTRIBUTE_VALUE_CHANGED |
Deprecated.
Event ID indicating that an attribute is changed.
|
static int |
ATTRIBUTE_VALUES_REFRESHED |
Deprecated.
Event ID indicating that attribute values are refreshed.
|
static int |
RESOURCE_CREATED |
Deprecated.
Event ID indicating that a resource is created.
|
static int |
RESOURCE_DELETED |
Deprecated.
Event ID indicating that a resource is deleted.
|
source
Constructor | Description |
---|---|
ResourceEvent(Object source,
int eventID) |
Deprecated.
Constructs a ResourceEvent object.
|
ResourceEvent(Object source,
int eventID,
Object attributeID,
Object value) |
Deprecated.
Constructs a ResourceEvent object.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
getAttributeID() |
Deprecated.
Returns the associated attribute ID, or null if none.
|
int |
getID() |
Deprecated.
Returns the event ID.
|
Object |
getValue() |
Deprecated.
Returns the associated attribute value, or null if none.
|
getSource, toString
public static final int ATTRIBUTE_CHANGES_CANCELED
public static final int ATTRIBUTE_CHANGES_COMMITTED
public static final int ATTRIBUTE_VALUES_REFRESHED
public static final int ATTRIBUTE_VALUE_CHANGED
public static final int RESOURCE_CREATED
public static final int RESOURCE_DELETED
public ResourceEvent(Object source, int eventID)
source
- The source.eventID
- The event ID.public Object getAttributeID()
public int getID()
public Object getValue()
Copyright © 2024. All rights reserved.