Package com.hp.lft.sdk.java
Class MouseEventInfo
java.lang.Object
com.hp.lft.sdk.java.MouseEventInfo
- All Implemented Interfaces:
- com.hp.lft.sdk.internal.java.LeanFtPreDefinedEventInfo,- EventInfo
public class MouseEventInfo
extends Object
implements com.hp.lft.sdk.internal.java.LeanFtPreDefinedEventInfo
A Java technology Mouse event info to be used by fireEvent methods.
- 
Method SummaryModifier and TypeMethodDescriptionReturns which of the mouse buttons changed.intReturns the number of mouse clicks associated with event.Object[]Returns an array of the event arguments.intReturns the Lean FT event id.intReturns the mask of modifier keys down during event.Returns the mouse action of this event.longgetWhen()Returns the time the event occurred.intgetX()Returns the horizontal mouse coordinate.getxAbs()Returns the horizontal mouse location in pixels relative to screen.intgetY()Returns the vertical mouse coordinate.getyAbs()Returns the vertical mouse location in pixels relative to screen.booleanReturns true if this event is a trigger for a popup menu.
- 
Method Details- 
getLeanFtEventIDpublic int getLeanFtEventID()Description copied from interface:com.hp.lft.sdk.internal.java.LeanFtPreDefinedEventInfoReturns the Lean FT event id.- Specified by:
- getLeanFtEventIDin interface- com.hp.lft.sdk.internal.java.LeanFtPreDefinedEventInfo
- Returns:
- the Lean FT event id.
 
- 
getEventArgsDescription copied from interface:com.hp.lft.sdk.internal.java.LeanFtPreDefinedEventInfoReturns an array of the event arguments.- Specified by:
- getEventArgsin interface- com.hp.lft.sdk.internal.java.LeanFtPreDefinedEventInfo
- Returns:
- an array of the event arguments.
 
- 
getMouseEventReturns the mouse action of this event.- Returns:
- the mouse action of this event.
 
- 
getWhenpublic long getWhen()Returns the time the event occurred.- Returns:
- the time the event occurred.
 
- 
getModifierspublic int getModifiers()Returns the mask of modifier keys down during event. See the documentation for java.awt.event.InputEvent.- Returns:
- the modifier keys down during the event.
 
- 
getXpublic int getX()Returns the horizontal mouse coordinate.- Returns:
- the horizontal mouse coordinate.
 
- 
getYpublic int getY()Returns the vertical mouse coordinate.- Returns:
- the vertical mouse coordinate.
 
- 
getClickCountpublic int getClickCount()Returns the number of mouse clicks associated with event.- Returns:
- the number of mouse clicks associated with event.
 
- 
isPopupTriggerpublic boolean isPopupTrigger()Returns true if this event is a trigger for a popup menu.- Returns:
- true if this event is a trigger for a popup menu.
 
- 
getxAbsReturns the horizontal mouse location in pixels relative to screen.- Returns:
- the horizontal mouse location in pixels relative to screen.
 
- 
getyAbsReturns the vertical mouse location in pixels relative to screen.- Returns:
- the vertical mouse location in pixels relative to screen.
 
- 
getButtonReturns which of the mouse buttons changed.- Returns:
- a button constant. See documentation for java.awt.event.MouseEvent.
 
 
-