public class ModelEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADDED |
static int |
REMOVED |
static int |
RENAMED |
Constructor and Description |
---|
ModelEvent(java.lang.Object source,
java.lang.Object item,
int type)
Constructor for ModelEvent.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getItem()
Getter for item
|
java.lang.Object |
getSource()
getter for source
|
int |
getType()
getter for type
|
void |
setItem(java.lang.Object item)
setter for item
|
void |
setSource(java.lang.Object source)
setter for source
|
void |
setType(int type)
setter for type
|
public static final int ADDED
public static final int REMOVED
public static final int RENAMED
public ModelEvent(java.lang.Object source, java.lang.Object item, int type)
source
- item
- type
- public java.lang.Object getItem()
public void setItem(java.lang.Object item)
item
- public void setType(int type)
type
- public int getType()
public void setSource(java.lang.Object source)
source
- public java.lang.Object getSource()