Tooltip

scalafx.scene.control.Tooltip
See theTooltip companion class
object Tooltip

Object companion for scalafx.scene.control.PopupControl.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tooltip.type

Members list

Value members

Concrete methods

def apply(string: String): Tooltip

Generates a Simple Tooltip with default properties from a text.

Generates a Simple Tooltip with default properties from a text.

Value parameters

string

Tooltip's text.

Attributes

def classCssMetaData: Buffer[CssMetaData[_ <: Styleable, _]]

The CssMetaData associated with this class, which may include the CssMetaData of its super classes.

The CssMetaData associated with this class, which may include the CssMetaData of its super classes.

Attributes

Since

8.0

def install(node: Node, tooltip: Tooltip): Unit

Associates the given Tooltip with a given Node. The tooltip can then behave similar to when it is set on any Control. A single tooltip can be associated with multiple nodes.

Associates the given Tooltip with a given Node. The tooltip can then behave similar to when it is set on any Control. A single tooltip can be associated with multiple nodes.

Attributes

def uninstall(node: Node, tooltip: Tooltip): Unit

Removes the association of the given Tooltip on a specified Node. Hence hovering on the node will no longer result in showing of the tooltip.

Removes the association of the given Tooltip on a specified Node. Hence hovering on the node will no longer result in showing of the tooltip.

Attributes

Deprecated methods

def install(node: Node, tooltip: Tooltip): Unit

Just to satisfy Spec tests.

Just to satisfy Spec tests.

Attributes

Deprecated
true
def uninstall(node: Node, tooltip: Tooltip): Unit

Just to satisfy Spec tests.

Just to satisfy Spec tests.

Attributes

Deprecated
true

Implicits

Implicits

implicit def sfxTooltip2jfx(v: Tooltip): Tooltip

Converts a ScalaFX Tooltip to its JavaFX counterpart

Converts a ScalaFX Tooltip to its JavaFX counterpart

Value parameters

v

ScalaFX Tooltip

Attributes

Returns

JavaFX Tooltip

implicit def stringToTooltip(string: String): Tooltip

Converts a String to a Simple Tooltip with default properties.

Converts a String to a Simple Tooltip with default properties.

Value parameters

string

Tooltip's text.

Attributes