o1.football2.gui

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 or can be used, apart from the fact that you can use this file to start the program.

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.

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.