public class ModelEventDispatcher extends java.lang.Object implements EventQueueModelEventListener
Constructor and Description |
---|
ModelEventDispatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
addEventListener(java.lang.String name,
ModelEventListener listener) |
void |
onEvent(ModelEvent event)
Override this method to handle the model event.
|
boolean |
removeEventListener(java.lang.String name,
ModelEventListener listener) |
public void onEvent(ModelEvent event)
ModelEventListener
onEvent
in interface ModelEventListener
public boolean addEventListener(java.lang.String name, ModelEventListener listener)
public boolean removeEventListener(java.lang.String name, ModelEventListener listener)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.