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
Ordering
- Alphabetic
- By Inheritance
Inherited
- RobotWindow
- O1WindowDefaults
- O1SwingDefaults
- Escapable
- MainFrame
- Frame
- RichWindow
- Window
- RootPanel
- Container
- UIElement
- LazyPublisher
- Publisher
- Reactor
- Proxy
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RobotWindow()
Type Members
- trait InterfaceMixin extends RichWindow.InterfaceMixin
- Definition Classes
- RichWindow
- class RobotsDisplay extends BasicGridDisplay[RobotWorld, Square]
- Attributes
- protected
- trait SuperMixin extends 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
- val advanceFullRoundButton: Button
- Attributes
- protected
- 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
- val buttonPanel: FlowPanel
- def centerOnScreen(): Unit
- Definition Classes
- Window
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def close(): Unit
- Definition Classes
- Window
- def closeOperation(): Unit
- Definition Classes
- MainFrame → Window
- def componentOrientation: ComponentOrientation
- Definition Classes
- UIElement
- def componentOrientation_=(x: ComponentOrientation): Unit
- Definition Classes
- UIElement
- def contents: Seq[Component]
- Definition Classes
- RootPanel → Container
- def contents_=(c: Component): Unit
- Definition Classes
- Window → RootPanel
- def createView(world: RobotWorld): RobotsDisplay
- Attributes
- protected
- def cursor: Cursor
- Definition Classes
- UIElement
- def cursor_=(c: Cursor): Unit
- Definition Classes
- UIElement
- def deafTo(ps: Publisher*): Unit
- 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 displayWorld(world: RobotWorld): RobotWindow
- 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
- val escape: Int
- Definition Classes
- Escapable
- val escapeStroke: KeyStroke
- Definition Classes
- Escapable
- def focusButton: Button
- 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[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- Definition Classes
- Reactor
- val listeners: RefSet[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
- Definition Classes
- RichWindow
- def menuBar_=(m: MenuBar): Unit
- 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
- val nextRobotTurnButton: Button
- Attributes
- protected
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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(): RobotWindow.this.type
- Definition Classes
- Window
- lazy val peer: JFrame with InterfaceMixin
- 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
- Definition Classes
- Publisher
- val reactions: Reactions
- 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: Any
- 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 update(world: RobotWorld): AnyVal
- def updateButtons(nextRobot: Option[RobotBody]): AnyVal
- Attributes
- protected
- def validate(): Unit
- Definition Classes
- UIElement
- def visible: Boolean
- Definition Classes
- UIElement
- def visible_=(b: Boolean): Unit
- Definition Classes
- UIElement
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val wholeWindowScope: Int
- Definition Classes
- Escapable
- val worldPane: FlowPanel
- Attributes
- protected
- var worldView: RobotsDisplay
- Attributes
- protected
Deprecated Value Members
- 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.