class MainFrame extends Frame
A frame that can be used for main application windows. Shuts down the framework and quits the application when closed.
- Alphabetic
- By Inheritance
- MainFrame
- Frame
- RichWindow
- Window
- RootPanel
- Container
- UIElement
- LazyPublisher
- Publisher
- Reactor
- Proxy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MainFrame(gc: GraphicsConfiguration = null)
Type Members
-
trait
InterfaceMixin extends RichWindow.InterfaceMixin
- Definition Classes
- RichWindow
-
trait
SuperMixin extends java.awt.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: 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.
-
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
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
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
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
The menu bar of this frame or
NoMenuBar
if no menu bar is set.The menu bar of this frame or
NoMenuBar
if no menu bar is set.- Definition Classes
- RichWindow
-
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.- 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()
-
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(): MainFrame.this.type
- Definition Classes
- Window
-
lazy val
peer: JFrame with InterfaceMixin
The underlying Swing peer.
The underlying Swing peer.
- 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
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
- Definition Classes
- RichWindow
-
def
resizable_=(b: Boolean): Unit
- Definition Classes
- RichWindow
-
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
- 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(): 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( ... )