Packages

c

o1.robots.gui

RobotWindow

class RobotWindow extends MainFrame with Escapable with O1WindowDefaults

The class RobotWindow represents GUI windows that serve as the main window of a RobotApp.

NOTE TO STUDENTS: In this course, you don't need to understand how this class works or can be used.

Linear Supertypes
O1WindowDefaults, O1SwingDefaults, Escapable, MainFrame, Frame, RichWindow, Window, RootPanel, Container, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RobotWindow
  2. O1WindowDefaults
  3. O1SwingDefaults
  4. Escapable
  5. MainFrame
  6. Frame
  7. RichWindow
  8. Window
  9. RootPanel
  10. Container
  11. UIElement
  12. LazyPublisher
  13. Publisher
  14. Reactor
  15. Proxy
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RobotWindow()

Type Members

  1. trait InterfaceMixin extends RichWindow.InterfaceMixin
    Definition Classes
    RichWindow
  2. class RobotsDisplay extends BasicGridDisplay[RobotWorld, Square]
    Attributes
    protected
  3. trait SuperMixin extends Window
    Attributes
    protected
    Definition Classes
    Window

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val advanceFullRoundButton: Button
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def background: Color
    Definition Classes
    UIElement
  7. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  8. def bounds: Rectangle
    Definition Classes
    UIElement
  9. def bounds_=(rect: Rectangle): Unit
    Definition Classes
    Window
  10. val buttonPanel: FlowPanel
  11. def centerOnScreen(): Unit
    Definition Classes
    Window
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. def close(): Unit
    Definition Classes
    Window
  14. def closeOperation(): Unit
    Definition Classes
    MainFrame → Window
  15. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  16. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  17. def contents: Seq[Component]
    Definition Classes
    RootPanel → Container
  18. def contents_=(c: Component): Unit
    Definition Classes
    Window → RootPanel
  19. def createView(world: RobotWorld): RobotsDisplay
    Attributes
    protected
  20. def cursor: Cursor
    Definition Classes
    UIElement
  21. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  22. def deafTo(ps: Publisher*): Unit
    Definition Classes
    Reactor
  23. def defaultButton: Option[Button]
    Definition Classes
    Window
  24. def defaultButton_=(b: Option[Button]): Unit
    Definition Classes
    Window
  25. def defaultButton_=(b: Button): Unit
    Definition Classes
    Window
  26. def displayWorld(world: RobotWorld): RobotWindow
  27. def displayable: Boolean
    Definition Classes
    UIElement
  28. def dispose(): Unit
    Definition Classes
    Window
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  31. val escape: Int
    Definition Classes
    Escapable
  32. val escapeStroke: KeyStroke
    Definition Classes
    Escapable
  33. def focusButton: Button
  34. def font: Font
    Definition Classes
    UIElement
  35. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  36. def foreground: Color
    Definition Classes
    UIElement
  37. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  38. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. def hashCode(): Int
    Definition Classes
    Proxy → Any
  40. def iconImage: Image
    Definition Classes
    Frame
  41. def iconImage_=(i: Image): Unit
    Definition Classes
    Frame
  42. def iconified: Boolean
    Definition Classes
    Frame
  43. def iconify(): Unit
    Definition Classes
    Frame
  44. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  45. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. def listenTo(ps: Publisher*): Unit
    Definition Classes
    Reactor
  48. val listeners: RefSet[Reaction]
    Attributes
    protected
    Definition Classes
    Publisher
  49. def locale: Locale
    Definition Classes
    UIElement
  50. def location: Point
    Definition Classes
    UIElement
  51. def locationOnScreen: Point
    Definition Classes
    UIElement
  52. def location_=(p: Point): Unit
    Definition Classes
    Window
  53. def maximize(): Unit
    Definition Classes
    Frame
  54. def maximized: Boolean
    Definition Classes
    Frame
  55. def maximumSize: Dimension
    Definition Classes
    UIElement
  56. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  57. def menuBar: MenuBar
    Definition Classes
    RichWindow
  58. def menuBar_=(m: MenuBar): Unit
    Definition Classes
    RichWindow
  59. def minimumSize: Dimension
    Definition Classes
    UIElement
  60. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  61. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  62. val nextRobotTurnButton: Button
    Attributes
    protected
  63. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  64. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  65. def onFirstSubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  66. def onLastUnsubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  67. def open(): Unit
    Definition Classes
    Window
  68. def owner: Window
    Definition Classes
    Window
  69. def pack(): RobotWindow.this.type
    Definition Classes
    Window
  70. lazy val peer: JFrame with InterfaceMixin
    Definition Classes
    Frame → RichWindow → Window → RootPanel → UIElement
  71. def preferredSize: Dimension
    Definition Classes
    UIElement
  72. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  73. def publish(e: Event): Unit
    Definition Classes
    Publisher
  74. val reactions: Reactions
    Definition Classes
    Reactor
  75. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  76. def repaint(): Unit
    Definition Classes
    UIElement
  77. def resizable: Boolean
    Definition Classes
    RichWindow
  78. def resizable_=(b: Boolean): Unit
    Definition Classes
    RichWindow
  79. def self: Any
    Definition Classes
    UIElement → Proxy
  80. def setLocationRelativeTo(c: UIElement): Unit
    Definition Classes
    Window
  81. def showing: Boolean
    Definition Classes
    UIElement
  82. def size: Dimension
    Definition Classes
    UIElement
  83. def size_=(size: Dimension): Unit
    Definition Classes
    Window
  84. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  85. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  86. def title: String
    Definition Classes
    RichWindow
  87. def title_=(s: String): Unit
    Definition Classes
    RichWindow
  88. def toString: String
    Definition Classes
    Proxy → Any
  89. def toolkit: Toolkit
    Definition Classes
    UIElement
  90. def uniconify(): Unit
    Definition Classes
    Frame
  91. def unmaximize(): Unit
    Definition Classes
    Frame
  92. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  93. def update(world: RobotWorld): AnyVal
  94. def updateButtons(nextRobot: Option[RobotBody]): AnyVal
    Attributes
    protected
  95. def validate(): Unit
    Definition Classes
    UIElement
  96. def visible: Boolean
    Definition Classes
    UIElement
  97. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  98. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  99. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  100. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. val wholeWindowScope: Int
    Definition Classes
    Escapable
  102. val worldPane: FlowPanel
    Attributes
    protected
  103. var worldView: RobotsDisplay
    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from O1WindowDefaults

Inherited from O1SwingDefaults

Inherited from Escapable

Inherited from MainFrame

Inherited from Frame

Inherited from RichWindow

Inherited from Window

Inherited from RootPanel

Inherited from Container

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped