|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
antsnest.datastructure.ChangeEvent
public class ChangeEvent
An event holding information about a change in an attribute/nested element
AntAttribute,
AntElement,
ChangeListener,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ChangeEvent(AntAttribute source)
Constructs a new event, caused by an attribute |
|
ChangeEvent(AntElement source,
boolean added)
Constructs a new event, caused by a nested element |
|
| Method Summary | |
|---|---|
AntAttribute |
getAttribute()
Gets the attribute that caused this event |
AntElement |
getElement()
Gets the nested element that caused this event |
boolean |
wasAdded()
Gets whether the element was added or removed |
| 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 |
| Constructor Detail |
|---|
public ChangeEvent(AntAttribute source)
source - the attribute that caused the event
public ChangeEvent(AntElement source,
boolean added)
source - the element that caused the eventadded - whether the element was added| Method Detail |
|---|
public AntAttribute getAttribute()
public AntElement getElement()
public boolean wasAdded()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||