org.vaadin.peter.contextmenu.client
Class ContextMenuItemWidgetHandler

java.lang.Object
  extended by org.vaadin.peter.contextmenu.client.ContextMenuItemWidgetHandler
All Implemented Interfaces:
com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.dom.client.MouseOutHandler, com.google.gwt.event.dom.client.MouseOverHandler, com.google.gwt.event.shared.EventHandler

public class ContextMenuItemWidgetHandler
extends Object
implements com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.dom.client.MouseOverHandler, com.google.gwt.event.dom.client.MouseOutHandler, com.google.gwt.event.dom.client.KeyUpHandler

ContextMenuItemWidgetHandler is context menu item specific object that handles the server communication when item is interacted with.

Author:
Peter Lehto / Vaadin Ltd

Constructor Summary
ContextMenuItemWidgetHandler(ContextMenuItemWidget widget, com.vaadin.client.ServerConnector connector)
           
 
Method Summary
 void onClick(com.google.gwt.event.dom.client.ClickEvent event)
           
 void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
           
 void onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent event)
           
 void onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMenuItemWidgetHandler

public ContextMenuItemWidgetHandler(ContextMenuItemWidget widget,
                                    com.vaadin.client.ServerConnector connector)
Method Detail

onKeyUp

public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
Specified by:
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandler

onMouseOut

public void onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent event)
Specified by:
onMouseOut in interface com.google.gwt.event.dom.client.MouseOutHandler

onMouseOver

public void onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent event)
Specified by:
onMouseOver in interface com.google.gwt.event.dom.client.MouseOverHandler

onClick

public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
Specified by:
onClick in interface com.google.gwt.event.dom.client.ClickHandler


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.