|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.metamatrix.console.ui.views.authorization.ProvidersChangedEvent
public class ProvidersChangedEvent
The ProvidersChangeEvent
is used to notify
ProvidersChangeListener
s that a change in a
Configuration
has occurred.
Field Summary | |
---|---|
static int |
DELETED
Indicates a provider has been deleted. |
static int |
MODIFIED
Indicates a provider has been modified. |
static int |
NEW
Indicates a provider has been added. |
protected int |
type
The event type. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ProvidersChangedEvent(int theType,
java.lang.Object theChangedObject)
Constructs a ConfigurationChangeEvent of the given type. |
Method Summary | |
---|---|
int |
getType()
/////////////////////////////////////////////////////////////////// // METHODS /////////////////////////////////////////////////////////////////// /** Gets the event type. |
boolean |
isDeleted()
Indicates if the changed object has been deleted. |
boolean |
isModified()
Indicates if the changed object has been modified. |
boolean |
isNew()
Indicates if the changed object is new. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DELETED
public static final int MODIFIED
public static final int NEW
protected int type
Constructor Detail |
---|
public ProvidersChangedEvent(int theType, java.lang.Object theChangedObject)
ConfigurationChangeEvent
of the given type.
theType
- the event typetheChangedObject
- the object whose state has changed
java.lang.IllegalArgumentException
- if type is not valid, if the
changed object is null
, or if the configuration
is null
.Method Detail |
---|
public int getType()
public boolean isDeleted()
true
if the changed object has been deleted;
false
otherwise.public boolean isModified()
true
if the changed object has been modified;
false
otherwise.public boolean isNew()
true
if the changed object is new;
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |