EventListener<T>

Overview

EventListener class as part of ROEvents for Java provides to handle listeners.

Location

Instance Methods


constructor

Creates EventListener.

 

constructor

 

EventListener<T>()

addListener

Adds listener.

 

method addListener(aListener: T): Boolean

 

Boolean addListener(T aListener)

Parameters:

  • aListener: Given listener.

getListeners

Gets listener.

 

method getListeners: List<T>

 

List<T> getListeners()

removeListener

Removes listener.

 

method removeListener(aListener: T): Boolean

 

Boolean removeListener(T aListener)

Parameters:

  • aListener: Given listener.