Packages

c

o1.robots.gui

TribalRobotWindow

class TribalRobotWindow extends RobotWindow

The class RobotWindow represents GUI windows that serve as the main window of a tribe-enabled Robots application.

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

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

Instance Constructors

  1. new TribalRobotWindow()

Type Members

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

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
    Definition Classes
    RobotWindow
  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
    Definition Classes
    RobotWindow
  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): TribalDisplay
    Attributes
    protected
    Definition Classes
    TribalRobotWindowRobotWindow
  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
    Definition Classes
    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
    Definition Classes
    RobotWindow
  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 next99TurnsButton: Button
    Attributes
    protected
  63. val nextRobotTurnButton: Button
    Attributes
    protected
    Definition Classes
    RobotWindow
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  66. def onFirstSubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  67. def onLastUnsubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  68. def open(): Unit
    Definition Classes
    Window
  69. def owner: Window
    Definition Classes
    Window
  70. def pack(): TribalRobotWindow.this.type
    Definition Classes
    Window
  71. lazy val peer: JFrame with InterfaceMixin
    Definition Classes
    Frame → RichWindow → Window → RootPanel → UIElement
  72. def preferredSize: Dimension
    Definition Classes
    UIElement
  73. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  74. def publish(e: Event): Unit
    Definition Classes
    Publisher
  75. val reactions: Reactions
    Definition Classes
    Reactor
  76. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  77. def repaint(): Unit
    Definition Classes
    UIElement
  78. def resizable: Boolean
    Definition Classes
    RichWindow
  79. def resizable_=(b: Boolean): Unit
    Definition Classes
    RichWindow
  80. def self: Any
    Definition Classes
    UIElement → Proxy
  81. def setLocationRelativeTo(c: UIElement): Unit
    Definition Classes
    Window
  82. def showing: Boolean
    Definition Classes
    UIElement
  83. def size: Dimension
    Definition Classes
    UIElement
  84. def size_=(size: Dimension): Unit
    Definition Classes
    Window
  85. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  86. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  87. def title: String
    Definition Classes
    RichWindow
  88. def title_=(s: String): Unit
    Definition Classes
    RichWindow
  89. def toString: String
    Definition Classes
    Proxy → Any
  90. def toolkit: Toolkit
    Definition Classes
    UIElement
  91. def uniconify(): Unit
    Definition Classes
    Frame
  92. def unmaximize(): Unit
    Definition Classes
    Frame
  93. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  94. def update(world: RobotWorld): AnyVal
    Definition Classes
    RobotWindow
  95. def updateButtons(nextRobot: Option[RobotBody]): Unit
    Attributes
    protected
    Definition Classes
    TribalRobotWindowRobotWindow
  96. def validate(): Unit
    Definition Classes
    UIElement
  97. def visible: Boolean
    Definition Classes
    UIElement
  98. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  99. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  100. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  101. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  102. val wholeWindowScope: Int
    Definition Classes
    Escapable
  103. val worldPane: FlowPanel
    Attributes
    protected
    Definition Classes
    RobotWindow
  104. var worldView: RobotsDisplay
    Attributes
    protected
    Definition Classes
    RobotWindow

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 RobotWindow

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