asquare.gwt.tk.client.ui.behavior
Class DragStyleController
java.lang.Object
asquare.gwt.tk.client.ui.behavior.EventDelegateAdaptor
asquare.gwt.tk.client.ui.behavior.ControllerAdaptor
asquare.gwt.tk.client.ui.behavior.DragStyleController
- All Implemented Interfaces:
- Controller, EventDelegate
public class DragStyleController
- extends ControllerAdaptor
A controller which applies the specified style name to the widget.
|
Method Summary |
void |
onBrowserEvent(Widget widget,
Event event)
Call this from your widget's onBrowserEvent() method
to to delegate events. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DragStyleController
public DragStyleController(Widget target,
String styleName)
onBrowserEvent
public void onBrowserEvent(Widget widget,
Event event)
- Description copied from interface:
EventDelegate
- Call this from your widget's onBrowserEvent() method
to to delegate events.
Example:
public void onBrowserEvent(Event event)
{
super.onBrowserEvent(event);
delegate.onBrowserEvent(this, event);
}
- Specified by:
onBrowserEvent in interface EventDelegate- Overrides:
onBrowserEvent in class EventDelegateAdaptor
- Parameters:
widget - the wiget that originated the eventevent - the event
© 2007 Mat Gessel