public class ChangeEvent<T> extends Object
Constructor and Description |
---|
ChangeEvent()
Create a new event.
|
ChangeEvent(Object source)
Create a new event.
|
ChangeEvent(Object source,
String type)
Create a new event.
|
ChangeEvent(Object source,
String type,
T value)
Create a new event.
|
Modifier and Type | Method and Description |
---|---|
Object |
getSource()
Get the source.
|
String |
getType()
Get the type.
|
T |
getValue()
Get the value.
|
void |
setSource(Object source)
Set the source.
|
void |
setType(String type)
Set the type.
|
void |
setValue(T value)
Set the value.
|
String |
toString()
Get the string respresentation.
|
public ChangeEvent()
public ChangeEvent(Object source)
public Object getSource()
public void setSource(Object source)
source
- The source to set.public String getType()
public void setType(String type)
type
- The type to set.public T getValue()
public void setValue(T value)
value
- The value to set.Copyright © 2013. All Rights Reserved.