GrammarScope  4.0.0
Public Member Functions | Protected Attributes | List of all members
grammarscope.message.Listenee< L > Class Template Reference
Collaboration diagram for grammarscope.message.Listenee< L >:
Collaboration graph
[legend]

Public Member Functions

void addListener (final L listener)
 
void removeListener (final L listener)
 
List< L > getListeners ()
 
void addListeners (final List< L > listeners)
 
void dumpListeners ()
 

Protected Attributes

final List< L > listeners = new ArrayList<>()
 

Detailed Description

Listenee

Author
Bernard Bou

Member Function Documentation

◆ addListener()

void grammarscope.message.Listenee< L >.addListener ( final L  listener)

Add listener

Parameters
listenerlistener

◆ addListeners()

void grammarscope.message.Listenee< L >.addListeners ( final List< L >  listeners)

Add listeners

Parameters
listenerslisteners

◆ dumpListeners()

void grammarscope.message.Listenee< L >.dumpListeners ( )

Dump listeners

◆ getListeners()

List<L> grammarscope.message.Listenee< L >.getListeners ( )

Get listeners

Returns
listeners

◆ removeListener()

void grammarscope.message.Listenee< L >.removeListener ( final L  listener)

Remove listener

Parameters
listenerlistener

Member Data Documentation

◆ listeners

final List<L> grammarscope.message.Listenee< L >.listeners = new ArrayList<>()
protected

Listeners


The documentation for this class was generated from the following file: