scala.swing

class Frame

[source: scala/swing/Frame.scala]

class Frame
extends UIElement with RootPanel with Publisher
A window with decoration such as a title, border, and action buttons.
See Also
javax.swing.JFrame
Direct Known Subclasses:
MainFrame

Value Summary
override lazy val peer : javax.swing.JFrame
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
override def contents_= (c : Component) : Unit
def defaultButton : Option[Button]
def defaultButton_= (b : Option[Button]) : Unit
def defaultButton_= (b : Button) : Unit
def dispose : Unit
def iconImage : java.awt.Image
def iconImage_= (i : java.awt.Image) : Unit
def location_= (p : java.awt.Point) : Unit
def menuBar : MenuBar
def menuBar_= (m : MenuBar) : Unit
def pack : Frame
def setLocationRelativeTo (c : UIElement) : Unit
def title : java.lang.String
def title_= (s : java.lang.String) : Unit
Methods inherited from Publisher
subscribe, unsubscribe, publish
Methods inherited from Reactor
listenTo, deafTo
Methods inherited from RootPanel
contents
Methods inherited from UIElement
self, foreground, foreground_=, background, background_=, minimumSize, minimumSize_=, maximumSize, maximumSize_=, preferredSize, preferredSize_=, preferredSize_=, font, font_=, locationOnScreen, location, bounds, size, size_=, size_=, locale, toolkit, cursor, cursor_=, visible, visible_=, showing, repaint
Methods inherited from Proxy
hashCode, equals, toString
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
override lazy val peer : javax.swing.JFrame
Overrides
UIElement.peer, RootPanel.peer

Method Details
def title : java.lang.String

def title_=(s : java.lang.String) : Unit

override def contents_=(c : Component) : Unit
Overrides
RootPanel.contents_=

def defaultButton : Option[Button]

def defaultButton_=(b : Button) : Unit

def defaultButton_=(b : Option[Button]) : Unit

def dispose : Unit

def pack : Frame

def menuBar : MenuBar

def menuBar_=(m : MenuBar) : Unit

def setLocationRelativeTo(c : UIElement) : Unit

def location_=(p : java.awt.Point) : Unit

def iconImage : java.awt.Image

def iconImage_=(i : java.awt.Image) : Unit