Football2 Docs
Fall 2026
API

# o1.football2.gui

package o1.football2.gui

## Members list

### Type members

#### Classlikes

class MatchPanel(val `isFinished`: Boolean) extends Component

A `MatchPanel` is a GUI component that displays the current status of a single `Match`. It uses one of two color schemes, depending on whether the displayed match has finished or not.

A `MatchPanel` is a GUI component that displays the current status of a single `Match`. It uses one of two color schemes, depending on whether the displayed match has finished or not.

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

## Attributes

Supertypes
  class Component
  trait UIElement
  trait Publisher
  trait Reactor
  trait Proxy
  class Object
  trait Matchable
  class Any
  Show all

open class OngoingMatchDialog(`home`: Club, `away`: Club) extends Dialog

An `OngoingMatchDialog` is a modal dialog that displays the status of an ongoing match in a `MatchPanel` and buttons for adding goals to the match.

An `OngoingMatchDialog` is a modal dialog that displays the status of an ongoing match in a `MatchPanel` and buttons for adding goals to the match.

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

## Attributes

Supertypes
  class Dialog
  trait RichWindow
  class Window
  trait RootPanel
  trait Container
  trait UIElement
  trait Publisher
  trait Reactor
  trait Proxy
  class Object
  trait Matchable
  class Any
  Show all
Self type
  OngoingMatchDialog