T
- as Token
CE
- as TokenEvent
causing the changepublic abstract class SynchronousTokenChangeListener<T extends Token<T>,CE extends TokenEvent<T>> extends Object implements ChangeListener<CE>
ChangeListener
,
Serialized FormConstructor and Description |
---|
SynchronousTokenChangeListener() |
Modifier and Type | Method and Description |
---|---|
void |
onChange(ChangeGenerator<CE> changeGenerator,
CE e) |
protected abstract void |
onSynchChange(ChangeGenerator<CE> changeGenerator,
CE change)
To Override
|
public void onChange(ChangeGenerator<CE> changeGenerator, CE e)
onChange
in interface ChangeListener<CE extends TokenEvent<T>>
changeGenerator
- as the generator that caused the change. Specially useful if the Listener is subscribing to multiple ChangeGenerator
se
- as the model change communicatedprotected abstract void onSynchChange(ChangeGenerator<CE> changeGenerator, CE change)
changeGenerator
- as ChangeGenerator
change
- as SynchronousTokenChange
Copyright © 2018. All rights reserved.