|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.MouseAdapter
org.pushingpixels.flamingo.api.common.RichToolTipManager
public class RichToolTipManager
| Nested Class Summary | |
|---|---|
protected class |
RichToolTipManager.DismissTimerAction
|
protected class |
RichToolTipManager.InitialDelayTimerAction
|
static class |
RichToolTipManager.JTrackableComponent
|
| Method Summary | |
|---|---|
int |
getDismissDelay()
Returns the dismissal delay value. |
int |
getInitialDelay()
Returns the initial delay value. |
void |
mouseDragged(MouseEvent event)
|
void |
mouseEntered(MouseEvent event)
|
void |
mouseExited(MouseEvent event)
|
void |
mouseMoved(MouseEvent event)
|
void |
mousePressed(MouseEvent event)
|
void |
registerComponent(RichToolTipManager.JTrackableComponent comp)
Registers a component for tooltip management. |
void |
setDismissDelay(int milliseconds)
Specifies the dismissal delay value. |
void |
setInitialDelay(int milliseconds)
Specifies the initial delay value. |
static RichToolTipManager |
sharedInstance()
Returns a shared ToolTipManager instance. |
void |
unregisterComponent(RichToolTipManager.JTrackableComponent comp)
Removes a component from tooltip control. |
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseClicked, mouseReleased, mouseWheelMoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setInitialDelay(int milliseconds)
milliseconds - the number of milliseconds to delay (after the cursor has
paused) before displaying the tooltipgetInitialDelay()public int getInitialDelay()
setInitialDelay(int)public void setDismissDelay(int milliseconds)
milliseconds - the number of milliseconds to delay before taking away the
tooltipgetDismissDelay()public int getDismissDelay()
setDismissDelay(int)public static RichToolTipManager sharedInstance()
ToolTipManager instance.
ToolTipManager objectpublic void registerComponent(RichToolTipManager.JTrackableComponent comp)
This will register key bindings to show and hide the tooltip text only if
component has focus bindings. This is done so that
components that are not normally focus traversable, such as
JLabel, are not made focus traversable as a result of
invoking this method.
comp - a JComponent object to addComponent.isFocusTraversable()public void unregisterComponent(RichToolTipManager.JTrackableComponent comp)
comp - a JComponent object to removepublic void mouseEntered(MouseEvent event)
mouseEntered in interface MouseListenermouseEntered in class MouseAdapterpublic void mouseExited(MouseEvent event)
mouseExited in interface MouseListenermouseExited in class MouseAdapterpublic void mousePressed(MouseEvent event)
mousePressed in interface MouseListenermousePressed in class MouseAdapterpublic void mouseDragged(MouseEvent event)
mouseDragged in interface MouseMotionListenermouseDragged in class MouseAdapterpublic void mouseMoved(MouseEvent event)
mouseMoved in interface MouseMotionListenermouseMoved in class MouseAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||