com.vaadin.terminal.gwt.client
Class MouseEventDetails
java.lang.Object
com.vaadin.terminal.gwt.client.MouseEventDetails
- All Implemented Interfaces:
- Serializable
public class MouseEventDetails
- extends Object
- implements Serializable
Helper class to store and transfer mouse event details.
- See Also:
- Serialized Form
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
MouseEventDetails
public MouseEventDetails()
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()
getRelativeX
public int getRelativeX()
getRelativeY
public int getRelativeY()
setButton
public void setButton(int button)
setClientX
public void setClientX(int clientX)
setClientY
public void setClientY(int clientY)
setAltKey
public void setAltKey(boolean altKey)
setCtrlKey
public void setCtrlKey(boolean ctrlKey)
setMetaKey
public void setMetaKey(boolean metaKey)
setShiftKey
public void setShiftKey(boolean shiftKey)
setType
public void setType(int type)
setRelativeX
public void setRelativeX(int relativeX)
setRelativeY
public void setRelativeY(int relativeY)
toString
public String toString()
- Overrides:
toString
in class Object
serialize
public String serialize()
deSerialize
public static MouseEventDetails deSerialize(String serializedString)
getButtonName
public String getButtonName()
getType
public int getType()
isDoubleClick
public boolean isDoubleClick()
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.