Trait

net.sf.jguiraffe.gui.platform.javafx.common

ToolTipCreationSupport

Related Doc: package common

Permalink

trait ToolTipCreationSupport extends AnyRef

A trait providing functionality for the creation of tooltips.

During a builder operation multiple manager objects need to create UI components which may have tooltips. In JavaFx the creation of tooltips is a bit more complex because this has to be done in the UI thread. Therefore, tooltips cannot be created directly in a builder operation; rather, the requests for the creation of tooltips are stored and then executed as callbacks. Corresponding functionality is offered by this trait.

Manager classes can simply mix in this trait. They have to provide the ToolTipFactory to be used. Then they can call one of the addCreateToolTipRequest() methods whenever the tooltip for a control needs to be created.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ToolTipCreationSupport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val toolTipFactory: ToolTipFactory

    Permalink

    The ToolTipFactory for creating tool tips.

    The ToolTipFactory for creating tool tips. This field has to be defined by the classes mixing in this trait.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addCreateToolTipRequest(tag: Tag, control: Control, tip: String): Unit

    Permalink

    Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given control to it.

    Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given control to it.

    tag

    the tag

    control

    the control for which the tooltip is for

    tip

    the text of the tooltip

  5. def addCreateToolTipRequest(tag: Tag, property: ObjectProperty[Tooltip], tip: String): Unit

    Permalink

    Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given property to it.

    Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given property to it.

    tag

    the tag

    property

    the property for which the tooltip is for

    tip

    the text of the tooltip

  6. def addCreateToolTipRequest(context: JellyContext, control: Control, tip: String): Unit

    Permalink

    Adds a request for the creation of a tool tip for the specified control.

    Adds a request for the creation of a tool tip for the specified control. The passed in JellyContext is used to obtain the objects required for tooltip creation.

    context

    the JellyContext

    control

    the control for which the tooltip is for

    tip

    the text of the tooltip

  7. def addCreateToolTipRequest(context: JellyContext, property: ObjectProperty[Tooltip], tip: String): Unit

    Permalink

    Adds a request for the creation of a tool tip for the specified property.

    Adds a request for the creation of a tool tip for the specified property. The passed in JellyContext is used to obtain the objects required for tooltip creation.

    context

    the JellyContext

    property

    the property for which the tooltip is for

    tip

    the text of the tooltip

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped