scala.swing

object Dialog

[source: scala/swing/Dialog.scala]

object Dialog
extends AnyRef
Simple predefined dialogs.
See Also
javax.swing.JOptionPane
Method Summary
def showConfirmation (parent : Component, message : java.lang.String, title : java.lang.String, optionType : Value) : Value
def showConfirmation (parent : Component, message : java.lang.String, title : java.lang.String, optionType : Value, messageType : Value, icon : javax.swing.Icon) : Value
def showInput [A](parent : Component, message : java.lang.String, title : java.lang.String, messageType : Value, icon : javax.swing.Icon, entries : Seq[A], initialEntry : A) : Option[A]
def showMessage (parent : Component, message : java.lang.String, title : java.lang.String, messageType : Value, icon : javax.swing.Icon) : Unit
def showMessage (parent : Component, message : java.lang.String) : Unit
def showOptions (parent : Component, message : java.lang.String, title : java.lang.String, optionType : Value, messageType : Value, icon : javax.swing.Icon, entries : Seq[Any], initialEntry : Int) : Value
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Object Summary
object Message extends Enumeration
The message type of a dialog.
object Options extends Enumeration
The possible answers a user can select.
object Result extends Enumeration
The selected result of dialog.
Method Details
def showConfirmation(parent : Component, message : java.lang.String, title : java.lang.String, optionType : Value, messageType : Value, icon : javax.swing.Icon) : Value

def showConfirmation(parent : Component, message : java.lang.String, title : java.lang.String, optionType : Value) : Value

def showOptions(parent : Component, message : java.lang.String, title : java.lang.String, optionType : Value, messageType : Value, icon : javax.swing.Icon, entries : Seq[Any], initialEntry : Int) : Value

def showInput[A](parent : Component, message : java.lang.String, title : java.lang.String, messageType : Value, icon : javax.swing.Icon, entries : Seq[A], initialEntry : A) : Option[A]

def showMessage(parent : Component, message : java.lang.String, title : java.lang.String, messageType : Value, icon : javax.swing.Icon) : Unit

def showMessage(parent : Component, message : java.lang.String) : Unit