|
GWT Tk 0.2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControllerSupport
An interface implemented by widgets which support event handling via controllers.
| Method Summary | |
|---|---|
Widget |
addController(Controller controller)
Adds a controller to process events on this widget. |
Controller |
getController(Class id)
Gets a controller with the specified id. |
Widget |
removeController(Controller controller)
Removes a controller |
void |
setControllers(List controllers)
Sets the controllers which will process events on this widget. |
| Methods inherited from interface com.google.gwt.user.client.EventListener |
|---|
onBrowserEvent |
| Method Detail |
|---|
void setControllers(List controllers)
getEventBits().
controllers - a list of 0 or more controllers, or nullController getController(Class id)
id - a Class identifying the type of controller to get
nullWidget addController(Controller controller)
controller - a controller to add
Widget removeController(Controller controller)
controller - a controller to remove
IllegalArgumentException - if controller is not present
|
GWT Tk 0.2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||