solitairemodel
Class Tableau

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<AbstractCardStack>
              extended by solitairemodel.Location
                  extended by solitairemodel.Tableau
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<AbstractCardStack>, java.util.Collection<AbstractCardStack>, java.util.List<AbstractCardStack>, java.util.RandomAccess

public class Tableau
extends Location

Contains the Tableaus (CardColumns).

Author:
Andrew
See Also:
Serialized Form

Field Summary
static int SIZE
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Tableau()
          create a new Table of the default size (8),
Tableau(CardColumn[] tab)
          make a Tableau from a CardColumn[]
 
Method Summary
 void dealDeck(CardDeck d)
          deal the cards onto the Tableau
 
Methods inherited from class solitairemodel.Location
clear, parseLocation, parseNumber, update
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

SIZE

public static final int SIZE
See Also:
Constant Field Values
Constructor Detail

Tableau

public Tableau()
create a new Table of the default size (8),


Tableau

public Tableau(CardColumn[] tab)
make a Tableau from a CardColumn[]

Method Detail

dealDeck

public void dealDeck(CardDeck d)
deal the cards onto the Tableau

Parameters:
d - the Deck being dealt