Class RichTooltipManager
java.lang.Object
org.pushingpixels.radiance.component.api.common.RichTooltipManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Timer
private Timer
private MouseEvent
private MouseEvent
private RichTooltip
private static final RichTooltipManager
private JRichTooltipPanel
private boolean
private Popup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkForTipChange
(MouseEvent event, RichTooltipManager.WithRichTooltip component) int
Returns the dismissal delay value.int
Returns the initial delay value.void
private void
private void
initiateToolTip
(MouseEvent original, RichTooltipManager.WithRichTooltip component) private MouseEvent
retarget
(MouseEvent original, Component source, Component target) void
setDismissDelay
(int milliseconds) Specifies the dismissal delay value.void
setInitialDelay
(int milliseconds) Specifies the initial delay value.static RichTooltipManager
Returns a sharedRichTooltipManager
instance.private void
showTipWindow
(MouseEvent mouseEvent) private void
-
Field Details
-
initialDelayTimer
-
dismissTimer
-
richTooltip
-
currentActiveTrackable
-
lastMouseEvent
-
lastMouseEventInCurrentActiveTrackableCoordinates
-
tipWindow
-
tip
-
tipShowing
private boolean tipShowing
-
-
Constructor Details
-
RichTooltipManager
private RichTooltipManager()
-
-
Method Details
-
setInitialDelay
public void setInitialDelay(int milliseconds) Specifies the initial delay value.- Parameters:
milliseconds
- the number of milliseconds to delay (after the cursor has paused) before displaying the tooltip- See Also:
-
getInitialDelay
public int getInitialDelay()Returns the initial delay value.- Returns:
- an integer representing the initial delay value, in milliseconds
- See Also:
-
setDismissDelay
public void setDismissDelay(int milliseconds) Specifies the dismissal delay value.- Parameters:
milliseconds
- the number of milliseconds to delay before taking away the tooltip- See Also:
-
getDismissDelay
public int getDismissDelay()Returns the dismissal delay value.- Returns:
- an integer representing the dismissal delay value, in milliseconds
- See Also:
-
retarget
-
showTipWindow
-
windDownTooltip
private void windDownTooltip() -
hideTipWindow
private void hideTipWindow() -
hideCurrentlyShowingTipIfNecessary
public void hideCurrentlyShowingTipIfNecessary() -
initiateToolTip
-
checkForTipChange
-