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

S

sameSuit(Card) - Method in class Card
Method used to check whether or not your card has the same suit as the card you are currently comparing it to.
sameSuit(String) - Method in class Card
Method used to check whether or not your card has the same suit as suit s.
setCard(IGuiCard) - Method in class GuiCardProxy
Set the "real" card for which this card is a Gui/proxy.
setCoordinates(int, int, int, int) - Method in class GuiCardProxy
Set coordinates for the bounds of this card.
setFreecell(Freecell) - Method in class GuiView
This method associated the GuiView object with a freecell game f.
setFreecell(Freecell) - Method in interface IView
This method associated the IView object with a freecell game f.
setFreecell(Freecell) - Method in class Printer
This method associated the printer object with a freecell game f.
setID(String) - Method in class CardPile
Sets the ID for the pile model to the String ID
setInvisible() - Method in class Card
 
setMaxSize(int) - Method in class CardPile
Sets maxSize of pile to maxSize
setOrientation(int) - Method in class GuiPileView
 
setPile(GuiPileView) - Method in class GuiCardProxy
Set the pile in which the card wrapped by this proxy is stored.
setSelected(boolean) - Method in class GuiCardProxy
Set selected state (true means gray image).
setSuit(String) - Method in class CardPile
Sets mySuit of pile to suit
setView(IPileView) - Method in class CardPile
Sets the view of the pile
setView(IPileView) - Method in interface IGuiPileModel
Set view for a pile/model.
setVisible() - Method in class Card
 
showError() - Method in class GuiView
Displays an error message if the player attempts an invalid move.
showError() - Method in interface IView
Displays an error message informing the user they have attempted an invalid move.
showError() - Method in class Printer
Prints error message when invalid move is entered
SolitaireEvent - Class in <Unnamed>
A semantic solitaire event storing both the card and the pile in which the card is stored for the card generating the event.
SolitaireEvent(GuiCardProxy, String) - Constructor for class SolitaireEvent
Construct an event from a card and pile (presumably the card is in the pile, but not enforced)
SPADE - Static variable in class Card
 
SPADES - Static variable in interface IGuiCard
The int value for the suit SPADES, useful in accessing suitPrefixes or for other purposes.
startGame() - Method in class Freecell
Starts the game, uses the view to intialize and allow user to play until the game has ended, if the game does end and user wants to start a new game then the user will be asked and according to his/her answer a new game will appear
suitPrefixes - Static variable in interface IGuiCard
String values useful in constructing return values for getCardId.

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