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

G

getAllCells() - Method in class CellPiles
Returns an array of CardPile objects that represents all of the cells
getCard() - Method in class CardPile
Gets top card from pile, unless pile is empty
getCard(int) - Method in class CellPiles
In order to make checks on a given card, or to see if a card is available, this method helps you out
getCard() - Method in interface ICardPile
Gets top card from stack
getCard() - Method in class SolitaireEvent
Get card for event.
getCard(int) - Method in class TableauPiles
Returns the last card in Tableau numTab.
getCardId() - Method in class Card
Converts a card into printable format, by changing the rank of the card into a string, and concatenating it to the suit.
getCardId() - Method in class GuiCardProxy
Return the id of the card this wraps, or the string of a blank card.
getCardId() - Method in interface IGuiCard
Return a value used in the compsci108 gui Solitaire package, the returned value must obey a contract: it's a two character lowercase string with first character the rank, the second the suit.
getCards() - Method in class CellPiles
Returns all the cards in the cells
getCell(int) - Method in class CellPiles
Returns the cell at index num
getCellArray() - Method in class Freecell
Returns an array of the cells
getCells() - Method in class Freecell
Returns the cell piles
getFactory() - Static method in class CardImageFactory
Return the only (singleton) factory created.
getFoundation(int) - Method in class FoundationPiles
Returns requested foundation
getFoundationArray() - Method in class Freecell
Returns an array of the foundations
getFoundations() - Method in class Freecell
Returns the foundation piles
getHighCards() - Method in class FoundationPiles
Method which returns the high cards of the four foundations
getID() - Method in class GuiPileView
Return the id of the model observed by this view.
getImageIcon(String) - Method in class CardImageFactory
Return the image for a specific card, where the name of the card conforms to contract in IGuiCard or is a constant from GuiConstants
getMaxSize() - Method in class CardPile
Returns maximum size of pile
getNextMove() - Method in class GuiView
This method does nothing in the GuiView implementation because the listeners take care of inputting new moves to the freecell class.
getNextMove() - Method in interface IView
This method gets the next move from the view.
getNextMove() - Method in class Printer
This method handles the input of new moves for the text-based program.
getNumEmpty() - Method in class CellPiles
Gets the number of free cells available to use
getOrientation(int) - Method in class GuiPileView
 
getPile(String) - Static method in class GuiPileView
Get the view associated with some models's id.
getPileID() - Method in class CardPile
Returns the pile's unique ID, e.g., "t2"
getPileID() - Method in interface IGuiPileModel
Return a unique id for a pile, e.g., "t1", "f1".
getPileID() - Method in class SolitaireEvent
Get pile ID (unique) for event.
getProxy(String) - Static method in class GuiCardProxy
Return the GuiCardProxy object for a specific card id --- where the id conforms to the contract described in IGuiCard
getRank() - Method in class Card
Obtains the rank of the Card Object
getSize() - Method in class CardPile
Returns size of pile
getSuit() - Method in class Card
Obtains the suit of the Card Object
getSuit() - Method in class CardPile
Returns suit of pile
getSuit(int) - Method in class FoundationPiles
Returns suit of foundation with index num
getTableau(int) - Method in class TableauPiles
Accesses the num(th) tableau in the array.
getTableauArray() - Method in class Freecell
Returns an array of the tableaus
getTableaus() - Method in class Freecell
Returns the cell piles
getTableaus() - Method in class TableauPiles
Creates a 2-D array of the tableaus.
getTableauSizes() - Method in class TableauPiles
Creates an array containing the size of each tableau at its respective index.
getVisibleCard(int) - Method in class CardPile
Returns the index(th) visible card
getVisibleCard(int) - Method in class Foundation
This method returns the top card of the foundation because only that card can ever be visible.
getVisibleCard(int) - Method in interface IGuiPileModel
Return the ith visible card.
getWrappedCard() - Method in class GuiCardProxy
Return the wrapped IGuiCard for this proxy.
GRID_GAP - Static variable in interface GuiConstants
The gap between piles in a GuiPilePanel.
GuiCardProxy - Class in <Unnamed>
The GUI component that represents a card in the compsci 108 Solitaire package.
GuiCardProxy(String) - Constructor for class GuiCardProxy
Construct a blank-card, e.g., as used on a free-cell pile when there's nothing there.
GuiConstants - Interface in <Unnamed>
 
GuiPilePanel - Class in <Unnamed>
A panel holding several piles.
GuiPilePanel(IGuiPileModel[]) - Constructor for class GuiPilePanel
Construct a panel from the pile models.
GuiPileView - Class in <Unnamed>
A view for a IGuiPileModel which is a simple interface for a solitaire pile.
GuiPileView(int, IGuiPileModel) - Constructor for class GuiPileView
Create a view for the model parameter, and orient the view appropriately.
GuiPileView(IGuiPileModel) - Constructor for class GuiPileView
Create a horizontal view for a model.
GuiView - Class in <Unnamed>
The GuiView class implements a GUI-based view for the game of freecell.
GuiView() - Constructor for class GuiView
 

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