com.vaadin.terminal.gwt.client.ui
Class LayoutClickEventHandler

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.ui.AbstractClickEventHandler
      extended by com.vaadin.terminal.gwt.client.ui.LayoutClickEventHandler
All Implemented Interfaces:
com.google.gwt.event.dom.client.ContextMenuHandler, com.google.gwt.event.dom.client.DoubleClickHandler, com.google.gwt.event.dom.client.MouseDownHandler, com.google.gwt.event.dom.client.MouseUpHandler, com.google.gwt.event.shared.EventHandler

public abstract class LayoutClickEventHandler
extends AbstractClickEventHandler


Field Summary
static String LAYOUT_CLICK_EVENT_IDENTIFIER
           
 
Fields inherited from class com.vaadin.terminal.gwt.client.ui.AbstractClickEventHandler
connector
 
Constructor Summary
LayoutClickEventHandler(ComponentConnector connector)
           
LayoutClickEventHandler(ComponentConnector connector, String clickEventIdentifier)
           
 
Method Summary
protected  void fireClick(com.google.gwt.dom.client.NativeEvent event)
          Sends the click event based on the given native event.
protected abstract  ComponentConnector getChildComponent(com.google.gwt.user.client.Element element)
           
protected  ComponentConnector getChildComponent(com.google.gwt.dom.client.NativeEvent event)
           
protected abstract  LayoutClickRpc getLayoutClickRPC()
           
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractClickEventHandler
getRelativeToElement, handleEventHandlerRegistration, hasEventListener, onContextMenu, onDoubleClick, onMouseDown, onMouseUp, registerHandler, shouldFireEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAYOUT_CLICK_EVENT_IDENTIFIER

public static final String LAYOUT_CLICK_EVENT_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

LayoutClickEventHandler

public LayoutClickEventHandler(ComponentConnector connector)

LayoutClickEventHandler

public LayoutClickEventHandler(ComponentConnector connector,
                               String clickEventIdentifier)
Method Detail

getChildComponent

protected abstract ComponentConnector getChildComponent(com.google.gwt.user.client.Element element)

getChildComponent

protected ComponentConnector getChildComponent(com.google.gwt.dom.client.NativeEvent event)

fireClick

protected void fireClick(com.google.gwt.dom.client.NativeEvent event)
Description copied from class: AbstractClickEventHandler
Sends the click event based on the given native event.

Specified by:
fireClick in class AbstractClickEventHandler
Parameters:
event - The native event that caused this click event

getLayoutClickRPC

protected abstract LayoutClickRpc getLayoutClickRPC()


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.