Class

scala.swing

SimpleSwingApplication

Related Doc: package swing

Permalink

abstract class SimpleSwingApplication extends SwingApplication

Extend this class for most simple UI applications. Clients need to implement the top method. Framework initialization is done by this class.

In order to conform to Swing's threading policy, never implement top or any additional member that created Swing components as a value unless component creation happens on the EDT (see Swing.onEDT and Swing.onEDTWait). Lazy values are okay for the same reason if they are initialized on the EDT always.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleSwingApplication
  2. SwingApplication
  3. Reactor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleSwingApplication()

    Permalink

Abstract Value Members

  1. abstract def top: Frame

    Permalink

    A GUI application's version of the main method.

    A GUI application's version of the main method. Called by the default main method implementation provided by this class. Implement to return the top-level frame of this application.

Concrete 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 def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def deafTo(ps: Publisher*): Unit

    Permalink

    Installed reaction won't receive events from the given publisher anylonger.

    Installed reaction won't receive events from the given publisher anylonger.

    Definition Classes
    Reactor
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. def listenTo(ps: Publisher*): Unit

    Permalink

    Listen to the given publisher as long as deafTo isn't called for them.

    Listen to the given publisher as long as deafTo isn't called for them.

    Definition Classes
    Reactor
  14. def main(args: Array[String]): Unit

    Permalink

    Initializes the application and runs the given program.

    Initializes the application and runs the given program.

    Definition Classes
    SwingApplication
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. def quit(): Unit

    Permalink

    Finalizes the application by calling shutdown and exits.

    Finalizes the application by calling shutdown and exits.

    Definition Classes
    SwingApplication
  19. val reactions: Reactions

    Permalink

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  20. def resourceFromClassloader(path: String): URL

    Permalink
  21. def resourceFromUserDirectory(path: String): File

    Permalink
  22. def shutdown(): Unit

    Permalink

    Called before the application is exited.

    Called before the application is exited. Override to customize.

    Definition Classes
    SwingApplication
  23. def startup(args: Array[String]): Unit

    Permalink

    Calls top, packs the frame, and displays it.

    Calls top, packs the frame, and displays it.

    Definition Classes
    SimpleSwingApplicationSwingApplication
  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( ... )

Inherited from SwingApplication

Inherited from Reactor

Inherited from AnyRef

Inherited from Any

Ungrouped