Trait

net.sf.jguiraffe.gui.platform.javafx.builder.utils

MessageOutputButtonProvider

Related Doc: package utils

Permalink

trait MessageOutputButtonProvider extends AnyRef

A trait for obtaining the different buttons for message windows.

The default message dialogs produced by a MessageOutput object can contain a number of different buttons. All requests for buttons are handled by this trait. Thus it is possible to inject specific button implementations.

This base implementation produces normal JavaFX buttons whose titles are obtained from a default resource bundle shipped with the JGUIraffe JavaFX library.

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

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. final val KeyCancelButton: String("BTN_CANCEL")

    Permalink

    The resource key for the title of the CANCEL button.

  5. final val KeyNoButton: String("BTN_NO")

    Permalink

    The resource key for the title of the NO button.

  6. final val KeyOkButton: String("BTN_OK")

    Permalink

    The resource key for for the title of the OK button.

  7. final val KeyYesButton: String("BTN_YES")

    Permalink

    The resource key for the title of the YES button.

  8. val MessageResourceGroup: String

    Permalink

    The name of the resource bundle with message resources.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def cancelButton(context: ApplicationContext): Button

    Permalink

    Returns the CANCEL button.

    Returns the CANCEL button.

    context

    the application context

    returns

    the CANCEL button

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createButton(context: ApplicationContext, resKey: String): Button

    Permalink

    Helper method for creating and initializing a button with a caption defined by the passed in resource key.

    Helper method for creating and initializing a button with a caption defined by the passed in resource key. This method is called by the base implementations of the methods for returning specific buttons. It implements the default button creation and initializing logic.

    context

    the application context (for resolving the resource key)

    resKey

    the resource key for the button caption

    returns

    the newly created button object

    Attributes
    protected
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def noButton(context: ApplicationContext): Button

    Permalink

    Returns the NO button.

    Returns the NO button.

    context

    the application context

    returns

    the NO button

  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. def okButton(context: ApplicationContext): Button

    Permalink

    Returns the OK button.

    Returns the OK button.

    context

    the application context

    returns

    the OK button

  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def yesButton(context: ApplicationContext): Button

    Permalink

    Returns the YES button.

    Returns the YES button.

    context

    the application context

    returns

    the YES button

Inherited from AnyRef

Inherited from Any

Ungrouped