public class ToolTipQueryEventArgs extends InputModeEventArgs
MouseHoverInputMode
EMPTY
Constructor and Description |
---|
ToolTipQueryEventArgs(IInputModeContext context,
PointD queryLocation)
Initializes a new instance of the
ToolTipQueryEventArgs class. |
Modifier and Type | Method and Description |
---|---|
PointD |
getQueryLocation()
Gets the query location in world coordinates.
|
Tooltip |
getToolTip()
Gets the tool tip to use.
|
boolean |
isHandled()
Gets a value indicating whether this
ToolTipQueryEventArgs has been handled. |
void |
setHandled(boolean value)
Sets a value indicating whether this
ToolTipQueryEventArgs has been handled. |
void |
setToolTip(Tooltip value)
Sets the tool tip to use.
|
getContext
public ToolTipQueryEventArgs(IInputModeContext context, PointD queryLocation)
ToolTipQueryEventArgs
class.context
- The context of the query.queryLocation
- The query location.public final PointD getQueryLocation()
public final Tooltip getToolTip()
Setting this property will set the Handled
property to true
.
setToolTip(javafx.scene.control.Tooltip)
public final boolean isHandled()
ToolTipQueryEventArgs
has been handled.
This property is automatically set to true
if ToolTip
property has been assigned a value.
Marking this event as handled tells the issuer of the query whether the ToolTip
property should be
used or whether additional logic should be used to determine whether to show the menu.
true
if handled; false
otherwise.setHandled(boolean)
public final void setHandled(boolean value)
ToolTipQueryEventArgs
has been handled.
This property is automatically set to true
if ToolTip
property has been assigned a value.
Marking this event as handled tells the issuer of the query whether the ToolTip
property should be
used or whether additional logic should be used to determine whether to show the menu.
value
- true
if handled; false
otherwise.isHandled()
public final void setToolTip(Tooltip value)
Setting this property will set the Handled
property to true
.
value
- The tool tip.getToolTip()