info.rolandkrueger.roklib.ui.swing
Class HoverManager

java.lang.Object
  extended by info.rolandkrueger.roklib.ui.swing.HoverManager
All Implemented Interfaces:
MouseListener, EventListener

public class HoverManager
extends Object
implements MouseListener


Field Summary
protected  LinkedList<HoverListener> mHoverListeners
           
protected  Hoverable mOwner
           
 
Constructor Summary
HoverManager(Hoverable owner)
           
 
Method Summary
 boolean addHoverListener(HoverListener listener)
           
 void mouseClicked(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 boolean removeHoverListener(HoverListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mHoverListeners

protected LinkedList<HoverListener> mHoverListeners

mOwner

protected Hoverable mOwner
Constructor Detail

HoverManager

public HoverManager(Hoverable owner)
Method Detail

addHoverListener

public boolean addHoverListener(HoverListener listener)

removeHoverListener

public boolean removeHoverListener(HoverListener listener)

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mouseClicked

public void mouseClicked(MouseEvent e)
Specified by:
mouseClicked in interface MouseListener

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener


Copyright © 2007-2011. All Rights Reserved.