public class ToolTipEvent extends java.util.EventObject implements WidgetEvent
For more information on how to display tool tips, see the BToolTip
class.
| Constructor and Description |
|---|
ToolTipEvent(Widget source,
long when,
java.awt.Point pos,
java.awt.Point tipPos)
Create a ToolTipEvent.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Point |
getPoint()
Get the position of the mouse pointer.
|
java.awt.Point |
getToolTipLocation()
Get the suggested position at which the tool tip should be displayed.
|
long |
getWhen()
Get the time at which the event occurred.
|
Widget |
getWidget()
Get the Widget which generated this event.
|
public ToolTipEvent(Widget source, long when, java.awt.Point pos, java.awt.Point tipPos)
source - the Widget which generated this eventwhen - the time at which the event occurredpos - the position of the mouse pointertipPos - the position at which the tool tip should be displayedpublic Widget getWidget()
getWidget in interface WidgetEventpublic long getWhen()
public java.awt.Point getPoint()
public java.awt.Point getToolTipLocation()
Written by Peter Eastman.