abstract class Window extends UIElement with RootPanel with Publisher
A window with decoration such as a title, border, and action buttons.
An AWT window cannot be wrapped dynamically with this class, i.e., you cannot write something like new Window { def peer = myAWTWindow }
- Self Type
- Window
- See also
javax.swing.JFrame
- Alphabetic
- By Inheritance
- Window
- RootPanel
- Container
- UIElement
- LazyPublisher
- Publisher
- Reactor
- Proxy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Window()
Abstract Value Members
-
abstract
def
peer: java.awt.Window with InterfaceMixin
The underlying Swing peer.
Concrete Value Members
-
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
- def centerOnScreen(): Unit
- def close(): Unit
-
def
closeOperation(): Unit
This method is called when the window is closing, after all other window event listeners have been processed.
-
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]
- def defaultButton_=(b: Option[Button]): Unit
- def defaultButton_=(b: Button): Unit
-
def
displayable: Boolean
- Definition Classes
- UIElement
- def dispose(): Unit
-
def
equals(that: Any): Boolean
- Definition Classes
- Proxy → Any
-
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
-
def
hashCode(): Int
- Definition Classes
- Proxy → Any
-
def
ignoreRepaint: Boolean
- Definition Classes
- UIElement
-
def
ignoreRepaint_=(b: Boolean): Unit
- Definition Classes
- 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.- Definition Classes
- Reactor
-
def
locale: Locale
- Definition Classes
- UIElement
-
def
location: Point
- Definition Classes
- UIElement
-
def
locationOnScreen: Point
- Definition Classes
- UIElement
- def location_=(p: Point): Unit
-
def
maximumSize: Dimension
- Definition Classes
- UIElement
-
def
maximumSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
-
def
minimumSize: Dimension
- Definition Classes
- UIElement
-
def
minimumSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
- def open(): Unit
- def owner: Window
- def pack(): Window.this.type
-
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
self: java.awt.Component
- Definition Classes
- UIElement → Proxy
- def setLocationRelativeTo(c: UIElement): Unit
-
def
showing: Boolean
- Definition Classes
- UIElement
-
def
size: Dimension
- Definition Classes
- UIElement
- def size_=(size: Dimension): Unit
-
def
subscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher → Publisher
-
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