Class Summary |
AbsoluteConstraints |
An object that encapsulates position and (optionally) size for
Absolute positioning of components. |
AbsoluteLayout |
AbsoluteLayout is a LayoutManager that works as a replacement for "null" layout to
allow placement of components in absolute positions. |
Card |
This class represents an individual playing card, which can have one of four suits and one of thirteen values. |
Desktop |
This class is an extension of JPanel that displays cards in a pile arrangement. |
FileFilter |
This class is a file filter for XML specification files. |
Game |
This class deals with the running of a Solitaire game - the user manipulates the game from the GUI
drawn by this class.
The class is an extension of a JFrame to provide a graphical user interface. |
Interpreter |
This class interprets an XML file for use in the main program. |
Main |
The Main class begins the running of the program. |
Move |
A Move is a specification of a move made, including the ID values of the source and target
piles along with a copy of the card that was moved. |
Pile |
A class that represents a pile in a Solitaire game. |
Solver |
The Solver class takes in a root state and expands a tree of possible future states. |
State |
This class represents a collection of Piles - it holds a specific state in a Solitaire game. |
StateStack |
This class stores a LinkedList of states with references to their parents. |
StateWriter |
The StateWriter outputs a representation of a state to an XML file so that it can be read
at a later time. |