trait Escapable extends Frame
Give this convenience trait to a Swing GUI frame to make it close when the Escape key is pressed.
- Alphabetic
- By Inheritance
- Escapable
- Frame
- RichWindow
- Window
- RootPanel
- Container
- UIElement
- LazyPublisher
- Publisher
- Reactor
- Proxy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait InterfaceMixin extends scala.swing.RichWindow.InterfaceMixin
- Definition Classes
- RichWindow
- trait SuperMixin extends Window
- Attributes
- protected
- Definition Classes
- Window
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 background: scala.swing.Color
- Definition Classes
- UIElement
- def background_=(c: scala.swing.Color): Unit
- Definition Classes
- UIElement
- def bounds: Rectangle
- Definition Classes
- UIElement
- def bounds_=(rect: Rectangle): Unit
- Definition Classes
- Window
- def centerOnScreen(): Unit
- Definition Classes
- Window
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def close(): Unit
- Definition Classes
- Window
- def closeOperation(): Unit
- Definition Classes
- Window
- def componentOrientation: ComponentOrientation
- Definition Classes
- UIElement
- def componentOrientation_=(x: ComponentOrientation): Unit
- Definition Classes
- UIElement
- def contents: Seq[Component]
- Definition Classes
- RootPanel → Container
- def contents_=(c: Component): Unit
- Definition Classes
- Window → RootPanel
- def cursor: Cursor
- Definition Classes
- UIElement
- def cursor_=(c: Cursor): Unit
- Definition Classes
- UIElement
- def deafTo(ps: Publisher*): Unit
- Definition Classes
- Reactor
- def defaultButton: Option[Button]
- Definition Classes
- Window
- def defaultButton_=(b: Option[Button]): Unit
- Definition Classes
- Window
- def defaultButton_=(b: Button): Unit
- Definition Classes
- Window
- def displayable: Boolean
- Definition Classes
- UIElement
- def dispose(): Unit
- Definition Classes
- Window
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- Proxy → Any
- val escape: Int
- val escapeStroke: KeyStroke
- def font: Font
- Definition Classes
- UIElement
- def font_=(f: Font): Unit
- Definition Classes
- UIElement
- def foreground: scala.swing.Color
- Definition Classes
- UIElement
- def foreground_=(c: scala.swing.Color): Unit
- Definition Classes
- UIElement
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Proxy → Any
- def iconImage: Image
- Definition Classes
- Frame
- def iconImage_=(i: Image): Unit
- Definition Classes
- Frame
- def iconified: Boolean
- Definition Classes
- Frame
- def iconify(): Unit
- Definition Classes
- Frame
- def ignoreRepaint: Boolean
- Definition Classes
- UIElement
- def ignoreRepaint_=(b: Boolean): Unit
- Definition Classes
- UIElement
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listenTo(ps: Publisher*): Unit
- Definition Classes
- Reactor
- val listeners: RefSet[Reaction]
- Attributes
- protected
- Definition Classes
- Publisher
- def locale: Locale
- Definition Classes
- UIElement
- def location: Point
- Definition Classes
- UIElement
- def locationOnScreen: Point
- Definition Classes
- UIElement
- def location_=(p: Point): Unit
- Definition Classes
- Window
- def maximize(): Unit
- Definition Classes
- Frame
- def maximized: Boolean
- Definition Classes
- Frame
- def maximumSize: Dimension
- Definition Classes
- UIElement
- def maximumSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
- def menuBar: MenuBar
- Definition Classes
- RichWindow
- def menuBar_=(m: MenuBar): Unit
- Definition Classes
- RichWindow
- def minimumSize: Dimension
- Definition Classes
- UIElement
- def minimumSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onFirstSubscribe(): Unit
- Attributes
- protected
- Definition Classes
- UIElement → LazyPublisher
- def onLastUnsubscribe(): Unit
- Attributes
- protected
- Definition Classes
- UIElement → LazyPublisher
- def open(): Unit
- Definition Classes
- Window
- def owner: Window
- Definition Classes
- Window
- def pack(): Escapable.this.type
- Definition Classes
- Window
- lazy val peer: JFrame with InterfaceMixin
- Definition Classes
- Frame → RichWindow → Window → RootPanel → UIElement
- def preferredSize: Dimension
- Definition Classes
- UIElement
- def preferredSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
- def publish(e: Event): Unit
- Definition Classes
- Publisher
- val reactions: Reactions
- Definition Classes
- Reactor
- def repaint(rect: Rectangle): Unit
- Definition Classes
- UIElement
- def repaint(): Unit
- Definition Classes
- UIElement
- def resizable: Boolean
- Definition Classes
- RichWindow
- def resizable_=(b: Boolean): Unit
- Definition Classes
- RichWindow
- def self: Any
- Definition Classes
- UIElement → Proxy
- def setLocationRelativeTo(c: UIElement): Unit
- Definition Classes
- Window
- def showing: Boolean
- Definition Classes
- UIElement
- def size: Dimension
- Definition Classes
- UIElement
- def size_=(size: Dimension): Unit
- Definition Classes
- Window
- def subscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher → Publisher
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def title: String
- Definition Classes
- RichWindow
- def title_=(s: String): Unit
- Definition Classes
- RichWindow
- def toString: String
- Definition Classes
- Proxy → Any
- def toolkit: Toolkit
- Definition Classes
- UIElement
- def uniconify(): Unit
- Definition Classes
- Frame
- def unmaximize(): Unit
- Definition Classes
- Frame
- def unsubscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher → Publisher
- def validate(): Unit
- Definition Classes
- UIElement
- def visible: Boolean
- Definition Classes
- UIElement
- def visible_=(b: Boolean): Unit
- Definition Classes
- UIElement
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val wholeWindowScope: Int
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.