public class ModelEventDispatcher extends Object implements EventQueueModelEventListener
Constructor and Description |
---|
ModelEventDispatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
addEventListener(String name,
ModelEventListener listener) |
void |
onEvent(ModelEvent event)
Override this method to handle the model event.
|
boolean |
removeEventListener(String name,
ModelEventListener listener) |
public void onEvent(ModelEvent event)
ModelEventListener
onEvent
in interface ModelEventListener
public boolean addEventListener(String name, ModelEventListener listener)
public boolean removeEventListener(String name, ModelEventListener listener)
Copyright © 2020. All rights reserved.