|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
jview.DataChangeEvent
public class DataChangeEvent
Signlas that the data observed by a listener has changed. The most natural choice of such a listener is a fast-reacting data analyser. This event is generated normally at user interaction, i.e. by zooming or deleting some points. Thus, different types can be distinguished for adding, deleting or re-loading of the entire data set.
| Nested Class Summary | |
|---|---|
static class |
DataChangeEvent.Type
The different types of data events, new, add, delete. |
| Field Summary | |
|---|---|
private DataChangeEvent.Type |
change
The type of this data change event. |
private List<DataCard> |
partial
If the data change was signaled for a partial data change. |
private String |
set
The setname. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
private |
DataChangeEvent(Object src)
Constructs a new data change event with the default action to re-query the data. |
|
DataChangeEvent(Object src,
DataChangeEvent.Type as,
List<DataCard> with,
String s)
Constructs a new data event of the given type with the given partial list. |
| Method Summary | |
|---|---|
List<DataCard> |
getChanges()
Returns the partial data transmitted with this event. |
DataChangeEvent.Type |
getChangeType()
The type of data change. |
String |
getSet()
Gets the affected set name. |
String |
toString()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private List<DataCard> partial
private DataChangeEvent.Type change
private String set
| Constructor Detail |
|---|
private DataChangeEvent(Object src)
public DataChangeEvent(Object src,
DataChangeEvent.Type as,
List<DataCard> with,
String s)
| Method Detail |
|---|
public String getSet()
public List<DataCard> getChanges()
public DataChangeEvent.Type getChangeType()
public String toString()
toString in class EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||