gishur.gui.inputhandler
Class ToolTipHandler

java.lang.Object
  |
  +--gishur.gui.Painter
        |
        +--gishur.gui.InputHandler
              |
              +--gishur.gui.inputhandler.ToolTipHandler
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseMotionListener

public class ToolTipHandler
extends InputHandler
implements java.awt.event.MouseMotionListener


Fields inherited from class gishur.gui.Painter
_layer, _nofixedborder
 
Constructor Summary
ToolTipHandler(Layer layer)
           
 
Method Summary
 void addCaption(DisplayObject dob, ToolTipSource tsrc)
           
 void mouseDragged(java.awt.event.MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void mouseMoved(java.awt.event.MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons no down).
 
Methods inherited from class gishur.gui.InputHandler
allButtons, calculateBounds, disable, dispatchEvent, enable, enabled, getComponent, getCursor, maxBounds, onDisable, oneButton, onEnable, setComponent, setCursor, setStatusTip, setToolTip, system_disable, system_enable, update, visible
 
Methods inherited from class gishur.gui.Painter
dirty, enlargeRectangleByPainter, equals, getBounds, getLayer, getPainterString, getPosition, getRegister, getTarget, getTargetClass, getTransformation, getVirtualScreen, hide, linkDirty, makeDirty, onHide, onShow, paint, recalcBounds, removeLinkDirty, setLayer, setRegister, setTarget, show, toString, unRegister
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolTipHandler

public ToolTipHandler(Layer layer)
Method Detail

addCaption

public void addCaption(DisplayObject dob,
                       ToolTipSource tsrc)

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. Mouse drag events will continue to be delivered to the component where the first originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons no down).
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener