sealed trait RichWindow extends Window
A window that adds some functionality to the plain Window class and serves as the common base class for frames and dialogs.
Implementation note: this class is sealed since we need to know that a rich window is either a dialog or a frame at some point.
- Alphabetic
- By Inheritance
- RichWindow
- Window
- RootPanel
- Container
- UIElement
- LazyPublisher
- Publisher
- Reactor
- Proxy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait InterfaceMixin extends RichWindow.InterfaceMixin
-
trait
SuperMixin extends java.awt.Window
- Attributes
- protected
- Definition Classes
- Window
Abstract Value Members
-
abstract
def
peer: java.awt.Window with InterfaceMixin
The underlying Swing peer.
The underlying Swing peer.
- Definition Classes
- RichWindow → Window → RootPanel → UIElement
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
background: Color
- Definition Classes
- UIElement
-
def
background_=(c: 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
- Definition Classes
- Window
-
def
closeOperation(): Unit
This method is called when the window is closing, after all other window event listeners have been processed.
This method is called when the window is closing, after all other window event listeners have been processed.
- Definition Classes
- Window
-
def
componentOrientation: ComponentOrientation
- Definition Classes
- UIElement
-
def
componentOrientation_=(x: ComponentOrientation): Unit
- Definition Classes
- UIElement
-
def
contents: Seq[Component]
At most one component.
- def contents_=(c: Component): Unit
-
def
cursor: Cursor
- Definition Classes
- UIElement
-
def
cursor_=(c: Cursor): Unit
- Definition Classes
- UIElement
-
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
-
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
font: Font
- Definition Classes
- UIElement
-
def
font_=(f: Font): Unit
- Definition Classes
- UIElement
-
def
foreground: Color
- Definition Classes
- UIElement
-
def
foreground_=(c: Color): Unit
- Definition Classes
- UIElement
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Proxy → Any
-
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
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
-
val
listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.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
maximumSize: Dimension
- Definition Classes
- UIElement
-
def
maximumSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
-
def
menuBar: MenuBar
The menu bar of this frame or
NoMenuBar
if no menu bar is set. -
def
menuBar_=(m: MenuBar): Unit
Set the current menu bar of this frame.
Set the current menu bar of this frame. Pass
NoMenuBar
if this frame should not show a menu bar. -
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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(): RichWindow.this.type
- Definition Classes
- Window
-
def
preferredSize: Dimension
- Definition Classes
- UIElement
-
def
preferredSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
-
def
publish(e: Event): Unit
Notify all registered reactions.
Notify all registered reactions.
- Definition Classes
- Publisher
-
val
reactions: Reactions
All reactions of this reactor.
All reactions of this reactor.
- Definition Classes
- Reactor
-
def
repaint(rect: Rectangle): Unit
- Definition Classes
- UIElement
-
def
repaint(): Unit
- Definition Classes
- UIElement
- def resizable: Boolean
- def resizable_=(b: Boolean): Unit
-
def
self: java.awt.Component
- 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
- def title_=(s: String): Unit
-
def
toString(): String
- Definition Classes
- Proxy → Any
-
def
toolkit: Toolkit
- Definition Classes
- UIElement
-
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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )