uk.gov.nationalarchives.csv.validator.ui

ScalaSwingHelpers

object ScalaSwingHelpers

Some simple helpers to ease the use of scala.swing

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaSwingHelpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def PropertyChangeListener(f: (PropertyChangeEvent) ⇒ Unit): PropertyChangeListener

  5. def addToTableDialog(owner: Window, title: String, table: Table, result: (Array[String]) ⇒ Unit): Unit

    Given a Table we generate a simple key-value Dialog for adding a row to the dialog we assume that the data type of each cell is String

    Given a Table we generate a simple key-value Dialog for adding a row to the dialog we assume that the data type of each cell is String

    owner

    The window which owns this Dialog

    title

    The title of the Dialog box

    table

    The table to create a dialog for

    result

    A function which takes a row as the result of the dialog box

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def chooseFile(fileChooser: FileChooser, result: (File) ⇒ Unit, locateOver: Component): Unit

    Opens a FileChooser and sends the result to a function

    Opens a FileChooser and sends the result to a function

    fileChooser
    result

    A function which takes the chosen file

    locateOver

    A component over which the FileChooser dialog should be located

  8. def chooseFile(fileChooser: FileChooser, output: TextComponent, locateOver: Component): Unit

    Opens a FileChooser and sets the path of the chosen file as the text of a Text Component

    Opens a FileChooser and sets the path of the chosen file as the text of a Text Component

    fileChooser
    output

    A text component which displays the absolute path of the chosen file

    locateOver

    A component over which the FileChooser dialog should be located

  9. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  19. def onClick(action: ⇒ Unit): Reaction

    Execute an Action when a Button is Clicked

    Execute an Action when a Button is Clicked

    action

    The action function to invoke

  20. def onKeyPressed(key: scala.swing.event.Key.Value)(action: ⇒ Unit): Reaction

    Execute an Action when a specific Key is pressed

    Execute an Action when a specific Key is pressed

    key

    The key which has to be pressed to invoke the action

    action

    The action function to invoke

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped