Package io.keikai.model.impl
Class DirectEventListenerAdaptor
- java.lang.Object
-
- io.keikai.model.impl.DirectEventListenerAdaptor
-
- All Implemented Interfaces:
EventListenerAdaptor
,Serializable
public class DirectEventListenerAdaptor extends Object implements EventListenerAdaptor, Serializable
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectEventListenerAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEventListener(ModelEventListener listener)
void
clear()
release the resourcevoid
removeEventListener(ModelEventListener listener)
void
sendModelEvent(ModelEvent event)
int
size()
-
-
-
Method Detail
-
addEventListener
public void addEventListener(ModelEventListener listener)
- Specified by:
addEventListener
in interfaceEventListenerAdaptor
-
removeEventListener
public void removeEventListener(ModelEventListener listener)
- Specified by:
removeEventListener
in interfaceEventListenerAdaptor
-
sendModelEvent
public void sendModelEvent(ModelEvent event)
- Specified by:
sendModelEvent
in interfaceEventListenerAdaptor
-
size
public int size()
- Specified by:
size
in interfaceEventListenerAdaptor
-
clear
public void clear()
Description copied from interface:EventListenerAdaptor
release the resource- Specified by:
clear
in interfaceEventListenerAdaptor
-
-