| java.lang.Object net.mygwt.ui.client.util.Observable
All known Subclasses: net.mygwt.ui.client.fx.Resizable, net.mygwt.ui.client.fx.FX, net.mygwt.ui.client.viewer.Viewer, net.mygwt.ui.client.mvc.Dispatcher, net.mygwt.ui.client.viewer.RemoteContentProvider, net.mygwt.ui.client.widget.tree.TreeSelectionModel, net.mygwt.ui.client.Registry, net.mygwt.ui.client.state.Provider, net.mygwt.ui.client.fx.Draggable, net.mygwt.ui.client.widget.table.TableColumnModel, net.mygwt.ui.client.data.DataLoader,
Observable | public class Observable (Code) | | Abstract base class for objects that register listeners and fire events.
See Also: Listener See Also: BaseEvent |
addListener | public void addListener(int eventType, Listener listener)(Code) | | Adds a listener bound by the given event type.
Parameters: eventType - the eventType Parameters: listener - the listener to be added |
fireEvent | public boolean fireEvent(int eventType)(Code) | | Fires an event.
Parameters: eventType - the event type true if any listeners cancel the event. |
fireEvent | public boolean fireEvent(int eventType, BaseEvent be)(Code) | | Fires an event.
Parameters: eventType - eventType the event type Parameters: be - the base event true if any listeners cancel the event. |
removeAllListeners | public void removeAllListeners()(Code) | | Removes all listeners.
|
removeListener | public void removeListener(int eventType, Listener listener)(Code) | | Removes a listener.
Parameters: eventType - the event type Parameters: listener - the listener to be removed |
|
|