com.itmill.toolkit.terminal.gwt.client
Class MouseEventDetails

java.lang.Object
  extended by com.itmill.toolkit.terminal.gwt.client.MouseEventDetails

public class MouseEventDetails
extends Object

Helper class to store and transfer mouse event details.


Field Summary
static int BUTTON_LEFT
           
static int BUTTON_MIDDLE
           
static int BUTTON_RIGHT
           
 
Constructor Summary
MouseEventDetails(com.google.gwt.user.client.Event evt)
           
 
Method Summary
static MouseEventDetails deSerialize(String serializedString)
           
 int getButton()
           
 int getClientX()
           
 int getClientY()
           
 boolean isAltKey()
           
 boolean isCtrlKey()
           
 boolean isDoubleClick()
           
 boolean isMetaKey()
           
 boolean isShiftKey()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUTTON_LEFT

public static final int BUTTON_LEFT
See Also:
Constant Field Values

BUTTON_MIDDLE

public static final int BUTTON_MIDDLE
See Also:
Constant Field Values

BUTTON_RIGHT

public static final int BUTTON_RIGHT
See Also:
Constant Field Values
Constructor Detail

MouseEventDetails

public MouseEventDetails(com.google.gwt.user.client.Event evt)
Method Detail

getButton

public int getButton()

getClientX

public int getClientX()

getClientY

public int getClientY()

isAltKey

public boolean isAltKey()

isCtrlKey

public boolean isCtrlKey()

isMetaKey

public boolean isMetaKey()

isShiftKey

public boolean isShiftKey()

toString

public String toString()
Overrides:
toString in class Object

deSerialize

public static MouseEventDetails deSerialize(String serializedString)

isDoubleClick

public boolean isDoubleClick()


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.