|
GWT Tk 0.2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectasquare.gwt.tk.client.ui.behavior.EventDelegateAdaptor
asquare.gwt.tk.client.ui.behavior.ControllerAdaptor
public abstract class ControllerAdaptor
This adaptor class provides stub implementations for Controller methods. Most
controllers will be interested in plugIn(Widget), unplug(Widget)
or
onBrowserEvent().
| Constructor Summary | |
|---|---|
ControllerAdaptor(Class id)
Creates a ControllerAdaptor with the specified id. |
|
ControllerAdaptor(int eventBits,
Class id)
Creates a ControllerAdaptor with the specified event mask and id. |
|
| Method Summary | |
|---|---|
Class |
getId()
Get the id of this controller. |
void |
plugIn(Widget widget)
Called when the widget is attached to the DOM. |
void |
unplug(Widget widget)
Called when the widget is detached from the DOM. |
| Methods inherited from class asquare.gwt.tk.client.ui.behavior.EventDelegateAdaptor |
|---|
doBrowserEvent, getEventBits, onBrowserEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface asquare.gwt.tk.client.ui.behavior.EventDelegate |
|---|
getEventBits, onBrowserEvent |
| Constructor Detail |
|---|
public ControllerAdaptor(Class id)
id - the controller id
public ControllerAdaptor(int eventBits,
Class id)
eventBits - a bitmask representing the events this controller is
interested inid - the controller id| Method Detail |
|---|
public Class getId()
Controller
getId in interface Controllerpublic void plugIn(Widget widget)
Controller
plugIn in interface Controllerwidget - the view to controlpublic void unplug(Widget widget)
Controller
unplug in interface Controller
|
GWT Tk 0.2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||