c

scala.swing

Window

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

Linear Supertypes
RootPanel, Container, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Window
  2. RootPanel
  3. Container
  4. UIElement
  5. LazyPublisher
  6. Publisher
  7. Reactor
  8. Proxy
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Window()

Abstract Value Members

  1. abstract def peer: java.awt.Window with InterfaceMixin

    The underlying Swing peer.

    The underlying Swing peer.

    Definition Classes
    WindowRootPanelUIElement

Concrete Value Members

  1. def background: Color
    Definition Classes
    UIElement
  2. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  3. def bounds: Rectangle
    Definition Classes
    UIElement
  4. def bounds_=(rect: Rectangle): Unit
  5. def centerOnScreen(): Unit
  6. def close(): Unit
  7. def closeOperation(): Unit

    This method is called when the window is closing, after all other window event listeners have been processed.

  8. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  9. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  10. def contents: Seq[Component]

    At most one component.

    At most one component.

    Definition Classes
    RootPanelContainer
  11. def contents_=(c: Component): Unit
    Definition Classes
    WindowRootPanel
  12. def cursor: Cursor
    Definition Classes
    UIElement
  13. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  14. 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
  15. def defaultButton: Option[Button]
  16. def defaultButton_=(b: Option[Button]): Unit
  17. def defaultButton_=(b: Button): Unit
  18. def displayable: Boolean
    Definition Classes
    UIElement
  19. def dispose(): Unit
  20. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  21. def font: Font
    Definition Classes
    UIElement
  22. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  23. def foreground: Color
    Definition Classes
    UIElement
  24. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  25. def hashCode(): Int
    Definition Classes
    Proxy → Any
  26. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  27. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  28. 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
  29. def locale: Locale
    Definition Classes
    UIElement
  30. def location: Point
    Definition Classes
    UIElement
  31. def locationOnScreen: Point
    Definition Classes
    UIElement
  32. def location_=(p: Point): Unit
  33. def maximumSize: Dimension
    Definition Classes
    UIElement
  34. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  35. def minimumSize: Dimension
    Definition Classes
    UIElement
  36. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  37. def open(): Unit
  38. def owner: Window
  39. def pack(): Window.this.type
  40. def preferredSize: Dimension
    Definition Classes
    UIElement
  41. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  42. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  43. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  44. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  45. def repaint(): Unit
    Definition Classes
    UIElement
  46. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  47. def setLocationRelativeTo(c: UIElement): Unit
  48. def showing: Boolean
    Definition Classes
    UIElement
  49. def size: Dimension
    Definition Classes
    UIElement
  50. def size_=(size: Dimension): Unit
  51. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  52. def toString(): String
    Definition Classes
    Proxy → Any
  53. def toolkit: Toolkit
    Definition Classes
    UIElement
  54. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  55. def validate(): Unit
    Definition Classes
    UIElement
  56. def visible: Boolean
    Definition Classes
    UIElement
  57. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement