org.mozilla.jrex.event.tooltip
Class TooltipEvent

java.lang.Object
  |
  +--org.mozilla.jrex.event.tooltip.TooltipEvent

public class TooltipEvent
extends Object

A class representing JRex Tooltip Event.

Version:
1.0
Author:
C.N.Medappa

Constructor Summary
TooltipEvent(int jrexPeer, int eventType, int cX, int cY, String toolTip)
          WindowEvent constructor
 
Method Summary
 int getClientX()
          Returns the x co-ordinate where tool tip should be shown.
 int getClientY()
          Returns the y co-ordinate where tool tip should be shown.
 int getEventType()
          Returns the tooltip event type.
 int getJRexPeer()
          Returns the target browser component to which the event belongs.
 String getToolTip()
          Returns the tool tip string to be shown.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TooltipEvent

public TooltipEvent(int jrexPeer,
                    int eventType,
                    int cX,
                    int cY,
                    String toolTip)
WindowEvent constructor

Parameters:
jrexPeer - target browser component to which the event belongs
eventType - type of tool tip event.
cX - tool tip window x co-ordinate.
cY - tool tip window y co-ordinate.
toolTip - tool tip string to be shown.
See Also:
TooltipEventConstants
Method Detail

getJRexPeer

public int getJRexPeer()
Returns the target browser component to which the event belongs.


getEventType

public int getEventType()
Returns the tooltip event type.


getClientX

public int getClientX()
Returns the x co-ordinate where tool tip should be shown.


getClientY

public int getClientY()
Returns the y co-ordinate where tool tip should be shown.


getToolTip

public String getToolTip()
Returns the tool tip string to be shown.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004 C.N.Medappa. All Rights Reserved.