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.
- Alphabetic
- By Inheritance
- SimpleSwingApplication
- SwingApplication
- Reactor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SimpleSwingApplication()
Abstract Value Members
Concrete 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 deafTo(ps: Publisher*): Unit
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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listenTo(ps: Publisher*): Unit
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
- def main(args: Array[String]): Unit
Initializes the application and runs the given program.
Initializes the application and runs the given program.
- Definition Classes
- SwingApplication
- 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()
- def quit(): Unit
Finalizes the application by calling
shutdown
and exits.Finalizes the application by calling
shutdown
and exits.- Definition Classes
- SwingApplication
- val reactions: Reactions
All reactions of this reactor.
All reactions of this reactor.
- Definition Classes
- Reactor
- def resourceFromClassloader(path: String): URL
- def resourceFromUserDirectory(path: String): File
- def shutdown(): Unit
Called before the application is exited.
Called before the application is exited. Override to customize.
- Definition Classes
- SwingApplication
- def startup(args: Array[String]): Unit
Calls
top
, packs the frame, and displays it.Calls
top
, packs the frame, and displays it.- Definition Classes
- SimpleSwingApplication → SwingApplication
- 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()