public class IlpToolTipManager extends Object
IlpGraphicView
Modifier | Constructor and Description |
---|---|
protected |
IlpToolTipManager(IlpGraphicView v)
IlpToolTipManager s are only created by the library. |
Modifier and Type | Method and Description |
---|---|
static IlpToolTipManager |
AddToolTipSupport(IlpGraphicView view)
Adds tooltip support to an
IlpGraphicView object. |
Container |
getContainer()
Returns the container associated to this manager, if there is one.
|
int |
getDismissDelay()
Returns the delay before a tooltip disappears.
|
int |
getInitialDelay()
Returns the initial delay before a tooltip appears.
|
int |
getReshowDelay()
Returns the reshow delay value.
|
static IlpToolTipManager |
GetToolTipManager(IlpGraphicView view)
Returns the
IlpToolTipManager instance associated with a view,
or null if tooltip support for the view has not been
added. |
IlpGraphicView |
getView()
Returns the graphic view associated to this manager, if there is one.
|
static boolean |
HasToolTipSupport(IlpGraphicView view)
Returns
true if the graphic view has tooltip support. |
boolean |
isDismissOnMove()
Returns
true if moving the mouse makes a tooltip disappear. |
boolean |
isEnabled()
Returns
true if this IlpToolTipManager instance is enabled. |
static void |
RemoveToolTipSupport(IlpGraphicView view)
Removes tooltip support from an
IlpGraphicView object. |
void |
setDismissDelay(int milliSeconds)
Sets the delay before a tooltip disappears.
|
void |
setDismissOnMove(boolean dismiss)
Sets the boolean value that determines whether moving the mouse makes
a tooltip disappear.
|
void |
setEnabled(boolean flag)
Allows or disallows this
IlpToolTipManager to create tooltips. |
void |
setInitialDelay(int milliSeconds)
Sets the initial delay before a tooltip appears.
|
void |
setReshowDelay(int milliseconds)
Specifies the time to delay before reshowing the tooltip.
|
protected IlpToolTipManager(IlpGraphicView v)
IlpToolTipManager
s are only created by the library.public static IlpToolTipManager AddToolTipSupport(IlpGraphicView view)
IlpGraphicView
object.public static void RemoveToolTipSupport(IlpGraphicView view)
IlpGraphicView
object.public static boolean HasToolTipSupport(IlpGraphicView view)
true
if the graphic view has tooltip support.public static IlpToolTipManager GetToolTipManager(IlpGraphicView view)
IlpToolTipManager
instance associated with a view,
or null
if tooltip support for the view has not been
added.public IlpGraphicView getView()
null
.public Container getContainer()
null
.public void setEnabled(boolean flag)
IlpToolTipManager
to create tooltips.public boolean isEnabled()
true
if this IlpToolTipManager
instance is enabled.public void setInitialDelay(int milliSeconds)
public int getInitialDelay()
public void setDismissDelay(int milliSeconds)
public int getDismissDelay()
public void setReshowDelay(int milliseconds)
milliseconds
- The time in milliseconds
to delay before reshowing the tooltip if the cursor stops again.getReshowDelay()
public int getReshowDelay()
setReshowDelay(int)
public boolean isDismissOnMove()
true
if moving the mouse makes a tooltip disappear.public void setDismissOnMove(boolean dismiss)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.