Skip navigation links
A B C D E F G H I J M N O P R S T U V W 

D

DateHeader - Class in tools
Simple utility code to provide a header for test files
DateHeader() - Constructor for class tools.DateHeader
 
dateString() - Static method in class tools.DateHeader
 
DEFAULT_LEFT_VALUE - Static variable in class models.Domino
The value for the left side of the domino constructed by default
DEFAULT_RIGHT_VALUE - Static variable in class models.Domino
The value for the right side of the domino constructed by default
domino - Variable in class controllers.DominoButtonController
The domino to be randomized when the button is pressed
Domino - Class in models
Implementation of a domino (DominoSpecification)
Tested by JUnit_Domino and ValidationDomino
Domino() - Constructor for class models.Domino
The default constructor for the domino, sets both side values to MIN
Tested by JUnit_Domino.test_DefaultConstructor()
Domino(DominoSpecification) - Constructor for class models.Domino
A copy constructor - makes a new domino object which is a copy of the given domino Tested by JUnit_Domino.test_CopyConstructorOK() and JUnit_Domino.test_CopyConstructorKO()
Domino(int, int) - Constructor for class models.Domino
Construct a domino from the given left and right values
Tested by JUnit_Domino.test_Constructor() and JUnit_Domino.test_ConstructorException()
Domino(Random) - Constructor for class models.Domino
Construct a valid random domino.
Tested by JUnit_Domino.test_RandomConstructor() .
domino - Variable in class models.ObservableDomino
 
domino - Variable in class views.DominoPanel
 
DOMINO_MAX - Static variable in class views.DominoImages
 
DominoButtonController - Class in controllers
A controller for a domino (DominoSpecification providing 2 buttons in its own frame: switching the domino left and right values setting the left and right values randomly It is a controller in the MVC design DominoMVC
DominoButtonController(ObservableDomino, int, int) - Constructor for class controllers.DominoButtonController
A 2-button controller for a domino: Button for switching the domino around (swapping left and right values) Button for randomly selecting a new domino
DominoFrame - Class in views
The frame in which a domino image will be drawn in a single canvas (the same size as the frame)
DominoFrame(ObservableDomino, int, int) - Constructor for class views.DominoFrame
 
DominoImages - Class in views
The class for downloading and images files and storing them for later use by the GUI of the dominoes applications
The images need to be stored in a subdirectory called "imagesDominos" and each file must be named: "0-0.jpg" "0-1.jpg" ...
DominoImages() - Constructor for class views.DominoImages
 
dominoImages - Variable in class views.DominoImages
 
dominoImages - Variable in class views.DominoPanel
 
DominoMVC - Class in applications
A simple Model View Controller implementation of an application which displays the state of a domino in a frame, and provides a controller frame with 2 buttons for switching or randomizing the domino
DominoMVC() - Constructor for class applications.DominoMVC
 
dominoPanel - Variable in class views.DominoFrame
The single panel in the frame used to draw a single domino
DominoPanel - Class in views
The panel has a blue background and the the domino image is centralised in the canvas
DominoPanel(ObservableDomino, int, int) - Constructor for class views.DominoPanel
 
DominoSpecification - Interface in specifications
A simple domino from a traditional set: 0:0 0:1 0:2 0:3 0:4 0:5 0:6 1:1 1:2 1:3 1:4 1:5 1:6 2:2 2:3 2:4 2:5 2:6 3:3 3:4 3:5 3:6 4:4 4:5 4:6 5:5 5:6 6:6 Note: we consider domino x:y to be equal to domino y:x, and must override DominoSpecification.equals(java.lang.Object) and DominoSpecification.hashCode() methods appropriately
Tested by JUnit_DominoSpecification
dominoUnderTest - Variable in class tests.JUnit_DominoSpecification
 
doubleMax - Variable in class tests.JUnit_DominoSpecification
 
A B C D E F G H I J M N O P R S T U V W 
Skip navigation links