|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.HoverManager
public class HoverManager
Provides support for monitoring hover events within a given window.
| Method Summary | |
|---|---|
void |
addHoverListener(HoverListener l)
Adds a HoverListener to the HoverManager. |
static HoverManager |
getInstanceFor(java.awt.Window window)
Deprecated. use GuiCommands.getHoverManagerFor(Window) instead. |
static void |
registerCommand(Command command)
Invoked during command construction to register a command wih the manager. |
void |
removeHoverListener(HoverListener l)
Removes the HoverListener from the HoverManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerCommand(Command command)
command - the command to register.public static HoverManager getInstanceFor(java.awt.Window window)
GuiCommands.getHoverManagerFor(Window) instead.
window - the window of interest.
public void addHoverListener(HoverListener l)
HoverListener to the HoverManager. The listener will be notified when
ever the mouse hovers over a command.
l - the hover listenerHoverListener,
removeHoverListener(com.pietschy.command.HoverListener)public void removeHoverListener(HoverListener l)
HoverListener from the HoverManager.
l - the hover listenerHoverListener,
addHoverListener(com.pietschy.command.HoverListener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||