RichWindow

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.

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.

Companion
object
class Window
trait PeerContainer
trait RootPanel
trait Container
trait UIElement
trait LazyPublisher
trait Publisher
trait Reactor
trait Proxy
class Object
trait Matchable
class Any
class Dialog
class Frame
class MainFrame

Type members

Classlikes

Inherited classlikes

protected trait InterfaceMixin
Inherited from
Window
protected trait SuperMixin
Inherited from
Window

Value members

Abstract methods

def peer: Window & InterfaceMixin2

Concrete methods

def resizable: Boolean
def resizable_=(b: Boolean): Unit
def title: String
def title_=(s: String): Unit

Inherited methods

Inherited from
UIElement
def background_=(c: Color): Unit
Inherited from
UIElement
Inherited from
UIElement
def bounds_=(rect: Rectangle): Unit
Inherited from
Window
def centerOnScreen(): Unit
Inherited from
Window
def close(): Unit
Inherited from
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.

Inherited from
Window
def componentOrientation: ComponentOrientation
Inherited from
UIElement
def componentOrientation_=(x: ComponentOrientation): Unit
Inherited from
UIElement
def contents: Seq[Component]

At most one component.

At most one component.

Inherited from
RootPanel
override def contents_=(c: Component): Unit
Definition Classes
Inherited from
Window
def cursor: Cursor
Inherited from
UIElement
def cursor_=(c: Cursor): Unit
Inherited from
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.

Inherited from
Reactor
def defaultButton: Option[Button]
Inherited from
Window
def defaultButton_=(b: Option[Button]): Unit
Inherited from
Window
def defaultButton_=(b: Button): Unit
Inherited from
Window
def displayable: Boolean
Inherited from
UIElement
def dispose(): Unit
Inherited from
Window
override def equals(that: Any): Boolean
Definition Classes
Proxy -> Any
Inherited from
Proxy
def font: Font
Inherited from
UIElement
def font_=(f: Font): Unit
Inherited from
UIElement
Inherited from
UIElement
def foreground_=(c: Color): Unit
Inherited from
UIElement
override def hashCode(): Int
Definition Classes
Proxy -> Any
Inherited from
Proxy
def ignoreRepaint: Boolean
Inherited from
UIElement
def ignoreRepaint_=(b: Boolean): Unit
Inherited from
UIElement
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.

Inherited from
Reactor
def locale: Locale
Inherited from
UIElement
Inherited from
UIElement
Inherited from
UIElement
def location_=(p: Point): Unit
Inherited from
Window
Inherited from
UIElement
def maximumSize_=(x: Dimension): Unit
Inherited from
UIElement
Inherited from
UIElement
def minimumSize_=(x: Dimension): Unit
Inherited from
UIElement
def open(): Unit
Inherited from
Window
Inherited from
Window
Inherited from
Window
Inherited from
UIElement
def preferredSize_=(x: Dimension): Unit
Inherited from
UIElement
def publish(e: Event): Unit

Notify all registered reactions.

Notify all registered reactions.

Inherited from
Publisher
def repaint(rect: Rectangle): Unit
Inherited from
UIElement
def repaint(): Unit
Inherited from
UIElement
def self: Any
Inherited from
UIElement
Inherited from
Window
def showing: Boolean
Inherited from
UIElement
Inherited from
UIElement
def size_=(size: Dimension): Unit
Inherited from
Window
override def subscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inherited from
LazyPublisher
override def toString(): String
Definition Classes
Proxy -> Any
Inherited from
Proxy
def toolkit: Toolkit
Inherited from
UIElement
override def unsubscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inherited from
LazyPublisher
def validate(): Unit
Inherited from
UIElement
def visible: Boolean
Inherited from
UIElement
def visible_=(b: Boolean): Unit
Inherited from
UIElement

Inherited fields

protected val listeners: RefSet[Reaction]
Inherited from
Publisher

All reactions of this reactor.

All reactions of this reactor.

Inherited from
Reactor