Class/Object

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

JavaFxMessageOutput

Related Docs: object JavaFxMessageOutput | package utils

Permalink

class JavaFxMessageOutput extends JavaFxMessageOutputBase with MessageOutputStageProvider with MessageOutputButtonProvider with MessageOutputIconProvider

The MessageOutput implementation for JavaFX.

Almost all functionality is implemented by the base class. This class mainly mixes in the default providers for dynamically obtaining the required components.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JavaFxMessageOutput
  2. MessageOutputIconProvider
  3. MessageOutputButtonProvider
  4. MessageOutputStageProvider
  5. JavaFxMessageOutputBase
  6. BeanContextClient
  7. MessageOutput
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaFxMessageOutput()

    Permalink

    Creates a new instance of JavaFxMessageOutput and initializes it with a default maximum text length.

  2. new JavaFxMessageOutput(maximumTextWidth: Double)

    Permalink

    maximumTextWidth

    the maximum width of the label for displaying the message text; if the text is wider, it is wrapped

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.

    The resource key for the title of the CANCEL button.

    Definition Classes
    MessageOutputButtonProvider
  5. final val KeyNoButton: String("BTN_NO")

    Permalink

    The resource key for the title of the NO button.

    The resource key for the title of the NO button.

    Definition Classes
    MessageOutputButtonProvider
  6. final val KeyOkButton: String("BTN_OK")

    Permalink

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

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

    Definition Classes
    MessageOutputButtonProvider
  7. final val KeyYesButton: String("BTN_YES")

    Permalink

    The resource key for the title of the YES button.

    The resource key for the title of the YES button.

    Definition Classes
    MessageOutputButtonProvider
  8. val MessageResourceGroup: String

    Permalink

    The name of the resource bundle with message resources.

    The name of the resource bundle with message resources.

    Definition Classes
    MessageOutputButtonProvider
  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

    Definition Classes
    MessageOutputButtonProvider
  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
    Definition Classes
    MessageOutputButtonProvider
  13. def createStage(parent: Window): Stage

    Permalink

    Creates a new Stage as a child window of the specified parent.

    Creates a new Stage as a child window of the specified parent.

    parent

    the parent window

    returns

    the new Stage

    Definition Classes
    MessageOutputStageProvider
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. lazy val iconError: Image

    Permalink

    The image for an error message.

    The image for an error message.

    Definition Classes
    MessageOutputIconProvider
  20. lazy val iconInfo: Image

    Permalink

    The image for an information message.

    The image for an information message.

    Definition Classes
    MessageOutputIconProvider
  21. lazy val iconQuestion: Image

    Permalink

    The image for a confirmation/question message.

    The image for a confirmation/question message.

    Definition Classes
    MessageOutputIconProvider
  22. lazy val iconWarning: Image

    Permalink

    The image for a warning message.

    The image for a warning message.

    Definition Classes
    MessageOutputIconProvider
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def loadIconFromResources(name: String): Image

    Permalink

    Loads an icon with the specified name from the class path.

    Loads an icon with the specified name from the class path. It is assumed that this icon is located in the root of the class path and that it actually exists.

    name

    the name of the icon to be loaded

    returns

    the Image that was loaded

    Attributes
    protected
    Definition Classes
    MessageOutputIconProvider
  25. val maximumTextWidth: Double

    Permalink

    the maximum width of the label for displaying the message text; if the text is wider, it is wrapped

    the maximum width of the label for displaying the message text; if the text is wider, it is wrapped

    Definition Classes
    JavaFxMessageOutputBase
  26. def messageIcon(messageType: Int): Option[Image]

    Permalink

    Returns the image for the specified message type.

    Returns the image for the specified message type. The return value is actually an option. It is possible that specific message types should not have their own icon. In this case, a concrete implementation can return None. This base implementation returns a set of default icons for the pre-defined message types.

    messageType

    the message type (a constant defined by MessageOutput)

    returns

    an option with the image for this message type

    Definition Classes
    MessageOutputIconProvider
  27. final def ne(arg0: AnyRef): Boolean

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

    Permalink

    Returns the NO button.

    Returns the NO button.

    context

    the application context

    returns

    the NO button

    Definition Classes
    MessageOutputButtonProvider
  29. final def notify(): Unit

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

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

    Permalink

    Returns the OK button.

    Returns the OK button.

    context

    the application context

    returns

    the OK button

    Definition Classes
    MessageOutputButtonProvider
  32. def setBeanContext(context: BeanContext): Unit

    Permalink

    Initializes the bean context.

    Initializes the bean context. This method is called by the injection framework.

    context

    the BeanContext

    Definition Classes
    JavaFxMessageOutputBase → BeanContextClient
  33. def show(parent: Window, message: Any, title: String, messageType: Int, buttonType: Int): Int

    Permalink
    Definition Classes
    JavaFxMessageOutputBase → MessageOutput
  34. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

    Permalink

    Returns the YES button.

    Returns the YES button.

    context

    the application context

    returns

    the YES button

    Definition Classes
    MessageOutputButtonProvider

Inherited from MessageOutputIconProvider

Inherited from JavaFxMessageOutputBase

Inherited from BeanContextClient

Inherited from MessageOutput

Inherited from AnyRef

Inherited from Any

Ungrouped