MainFrame

class MainFrame(gc: GraphicsConfiguration) extends Frame

A frame that can be used for main application windows. It shuts down the framework and quits the application when closed.

A frame that can be used for main application windows. It shuts down the framework and quits the application when closed.

class Frame
class Window
trait PeerContainer
trait RootPanel
trait Container
trait UIElement
trait LazyPublisher
trait Publisher
trait Reactor
trait Proxy
class Object
trait Matchable
class Any

Type members

Inherited classlikes

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

Value members

Concrete methods

override def closeOperation(): Unit
Definition Classes

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 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
Inherited from
Frame
def iconImage_=(i: Image): Unit
Inherited from
Frame
def iconified: Boolean
Inherited from
Frame
def iconify(): Unit
Inherited from
Frame
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
def maximize(): Unit
Inherited from
Frame
def maximized: Boolean
Inherited from
Frame
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
def pack(): MainFrame
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 resizable: Boolean
Inherited from
RichWindow
def resizable_=(b: Boolean): Unit
Inherited from
RichWindow
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
def title: String
Inherited from
RichWindow
def title_=(s: String): Unit
Inherited from
RichWindow
override def toString(): String
Definition Classes
Proxy -> Any
Inherited from
Proxy
def toolkit: Toolkit
Inherited from
UIElement
def uniconify(): Unit
Inherited from
Frame
def unmaximize(): Unit
Inherited from
Frame
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
lazy override val peer: JFrame & InterfaceMixin2
Inherited from
Frame

All reactions of this reactor.

All reactions of this reactor.

Inherited from
Reactor