de.matthiasmann.twl
Class MouseSensitiveRectangle

java.lang.Object
  extended by de.matthiasmann.twl.Rect
      extended by de.matthiasmann.twl.MouseSensitiveRectangle

public abstract class MouseSensitiveRectangle
extends Rect

A rectangle that can sense the mouse :)


Constructor Summary
MouseSensitiveRectangle()
           
 
Method Summary
abstract  boolean isMouseOver()
          Test if the mouse is over this area
 
Methods inherited from class de.matthiasmann.twl.Rect
getBottom, getCenterX, getCenterY, getHeight, getRight, getSize, getWidth, getX, getY, intersect, isEmpty, isInside, set, set, setXYWH, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MouseSensitiveRectangle

public MouseSensitiveRectangle()
Method Detail

isMouseOver

public abstract boolean isMouseOver()
Test if the mouse is over this area

Returns:
true if the mouse is over this area.