object ShowMessage
- Source
- ShowMessage.scala
- Alphabetic
- By Inheritance
- ShowMessage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def confirmation(title: String, header: String, content: String = "", parentWindow: Option[Window] = None): Boolean
Show a confirmation dialog with "OK" and "Cancel" buttons.
Show a confirmation dialog with "OK" and "Cancel" buttons.
- title
dialog title.
- header
header text.
- content
content text.
- parentWindow
owner window that will be blacked by the dialog.
- returns
true
when user selected 'OK' andfalse
when user selectedCancel
or dismissed the dialog.
- def confirmationYesNoCancel(title: String, header: String, content: String = "", parentWindow: Option[Window] = None): Option[Boolean]
Show a confirmation dialog with "OK", "No", and "Cancel" buttons.
Show a confirmation dialog with "OK", "No", and "Cancel" buttons.
- title
dialog title.
- header
header text.
- content
content text.
- parentWindow
owner window that will be blacked by the dialog.
- returns
Some(true)
when user selected 'OK',Some(false)
when user selectedNo
, andNone
user selectedCancel
or dismissed the dialog.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(title: String, header: String, content: String = "", parentWindow: Option[Window] = None): Unit
Show error dialog
Show error dialog
- title
dialog title
- header
header text.
- content
main content text.
- parentWindow
owner window that will be blacked by the dialog.
- def exception(title: String, message: String, t: Throwable, parentWindow: Option[Window] = None): Unit
Show a modal dialog with an expandable details about an exception (stack trace).
Show a modal dialog with an expandable details about an exception (stack trace).
- title
dialog title
- message
message shown in the dialog header.
- t
exception.
- parentWindow
owner window that will be blacked by the dialog.
- def exception(title: String, message: String, t: Throwable, parentWindow: Window): Unit
Show a modal dialog with an expandable details about an exception (stack trace).
Show a modal dialog with an expandable details about an exception (stack trace).
- title
dialog title
- message
message shown in the dialog header.
- t
exception.
- parentWindow
owner window that will be blacked by the dialog. Can be
null
to match JavaFX convention.
- def exception(title: String, message: String, t: Throwable, ownerNode: Node): Unit
Show a modal dialog with an expandable details about an exception (stack trace).
Show a modal dialog with an expandable details about an exception (stack trace).
- title
dialog title
- message
message shown in the dialog header.
- t
exception.
- ownerNode
owner window that will be blacked by the dialog. Can be
null
.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def information(title: String, header: String, content: String, ownerNode: Node): Unit
- def information(title: String, header: String, content: String = "", parentWindow: Option[Window] = None): Unit
Show information dialog
Show information dialog
- title
dialog title
- header
header text.
- content
main content text.
- parentWindow
owner window that will be blacked by the dialog.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def warning(title: String, header: String, content: String, parentWindow: Option[Window] = None): Unit
Show warning dialog
Show warning dialog
- title
dialog title
- header
header text.
- content
main content text.
- parentWindow
owner window that will be blacked by the dialog.
Helper methods and classes to simplify ScalaFX use.
Package
org.scalafx.extras
contains basic helper methods for running tasks on threads and showing messages.Package
org.scalafx.extras.image
contains image display component with scrolling and zooming.Package
org.scalafx.extras.mvcfx
contains classes for creating with UI components based on FXML.