com.vaadin.shared
Class MouseEventDetails
java.lang.Object
com.vaadin.shared.MouseEventDetails
- All Implemented Interfaces:
- java.io.Serializable
public class MouseEventDetails
- extends java.lang.Object
- implements java.io.Serializable
Helper class to store and transfer mouse event details.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BUTTON_LEFT
@Deprecated
public static final MouseEventDetails.MouseButton BUTTON_LEFT
- Deprecated. use
MouseEventDetails.MouseButton.LEFT instead.
BUTTON_MIDDLE
@Deprecated
public static final MouseEventDetails.MouseButton BUTTON_MIDDLE
- Deprecated. use
MouseEventDetails.MouseButton.MIDDLE instead.
BUTTON_RIGHT
@Deprecated
public static final MouseEventDetails.MouseButton BUTTON_RIGHT
- Deprecated. use
MouseEventDetails.MouseButton.RIGHT instead.
MouseEventDetails
public MouseEventDetails()
getButton
public MouseEventDetails.MouseButton 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(MouseEventDetails.MouseButton 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 java.lang.String toString()
- Overrides:
toString in class java.lang.Object
serialize
public java.lang.String serialize()
deSerialize
public static MouseEventDetails deSerialize(java.lang.String serializedString)
getButtonName
public java.lang.String getButtonName()
getType
public int getType()
isDoubleClick
public boolean isDoubleClick()
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.