Football4 Docs
Fall 2024
API

# o1.football4.gui

package o1.football4.gui

## Members list

### Type members

#### Classlikes

object FootballApp extends SimpleSwingApplication

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

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

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
  class SimpleSwingApplication
  class SwingApplication
  trait Reactor
  class Object
  trait Matchable
  class Any
  Show all
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

class OngoingMatchDialog(`owner`: Window, `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