A B C D F G H I J L M N O P R S T U V

P

paintComponent(Graphics) - Method in class GuiCardProxy
Paint appropriate image (card, grayed-image, blank, or back) when painting is needed, e.g., when game is displayed or cards moved.
paintComponent(Graphics) - Method in class GuiPileView
 
playAgain() - Method in class Freecell
Asks user if he/she wants to play a new game of freecell
printAll() - Method in class GuiView
This method is only implemented in the text-based program - it is used to completely redraw the view, which is not necessary in the GUI implementation.
printAll() - Method in interface IView
Main print function, which outputs all the cards visible to the user, and their positions.
printAll() - Method in class Printer
Prints state of Freecell board
printCard(Card) - Method in class Printer
Prints card c, by first converting it into a string
printCellHeader() - Method in class Printer
Prints header for cells
printCells() - Method in class Printer
Prints cards contained in cells
printEmpty() - Method in class Printer
Prints empty spot (with no card)
printEnd() - Method in class GuiView
Informs the user they have won and asks if they would like to play again.
printEnd() - Method in interface IView
Prints end of game message
printEnd() - Method in class Printer
 
printEndl() - Method in class Printer
Prints an endline
Printer - Class in <Unnamed>
 
Printer() - Constructor for class Printer
 
printFoundations() - Method in class Printer
Prints highest cards in Foundations
printFoundHeader() - Method in class Printer
Prints header for Foundations
printMoveQuery() - Method in class Printer
Asks user to input where he wants to move cards from/to
printNumOfCardsQuery() - Method in class Printer
Asks user how many cards he wishes to move
printPlayAgainQuery() - Method in class GuiView
Asks the user if they would like to play again and either tells the model to start a new game or quits based on the answer.
printPlayAgainQuery() - Method in interface IView
Asks user if he/she wants to play again
printPlayAgainQuery() - Method in class Printer
 
printSeparator() - Method in class Printer
Prints a separator
printShorterTabSep() - Method in class Printer
Prints a shorter tab separator (after a 10* card)
printTableauHeader() - Method in class Printer
Prints header for tableaus
printTabSep() - Method in class Printer
Prints a tab separator
printTitle() - Method in class GuiView
Prints a title for the game.
printTitle() - Method in interface IView
prints the title of the game
printTitle() - Method in class Printer
 
processSolitaireEvent(SolitaireEvent) - Method in class GuiView
This method is responsible for handling mouse clicks.
processSolitaireEvent(SolitaireEvent) - Method in interface ISolitaireListener
Process an event when a card is clicked.

A B C D F G H I J L M N O P R S T U V