public abstract class ListEvent extends Object
Modifier and Type | Method and Description |
---|---|
abstract long |
getDuration()
Provides the duration of the event.
|
abstract Object |
getElement()
Provides the list element involved in the event.
|
abstract MyArrayList |
getList()
Provides the list on which the event happened.
|
EventType |
getType()
Getter for the event's type.
|
void |
setType(EventType type)
Setter for the event's type.
|
public ListEvent(EventType type)
public abstract MyArrayList getList()
public abstract Object getElement()
public abstract long getDuration()
public EventType getType()
public void setType(EventType type)
type
- the list event's type