Football2 Docs
Fall 2025
API

# o1.football2.gui

package o1.football2.gui

## Members list

### Type members

#### Classlikes

object FootballApp extends App

The singleton object `FootballApp` represents a simple application that a programmer can use to experiment with some methods in the package `o1.football2`.

The singleton object `FootballApp` represents a simple application that a programmer can use to experiment with some methods in the package `o1.football2`.

NOTE TO STUDENTS: In this course, you don’t need to understand how this object works on the inside. It’s enough to know that you can use this file to start the program.

## Attributes

Supertypes
  trait App
  trait DelayedInit
  class Object
  trait Matchable
  class Any
Self type
  FootballApp.type

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