ks.common.model
Class Pile

java.lang.Object
  extended byks.common.model.Element
      extended byks.common.model.Stack
          extended byks.common.model.Pile

public class Pile
extends Stack

Represents a stack of cards where only the topmost card is visible.

Creation date: (10/27/01 1:14:50 PM)


Constructor Summary
Pile()
          Construct a default Pile object.
Pile(java.lang.String name)
          Construct a Pile with the given name.
 
Method Summary
 java.lang.String toString()
          Return String representation of Pile.
 
Methods inherited from class ks.common.model.Stack
add, alternatingColors, alternatingColors, ascending, ascending, count, descending, descending, deselect, empty, get, getNumSelectedCards, getSelected, peek, peek, push, rank, removeAll, sameColor, sameColor, sameRank, sameRank, sameSuit, sameSuit, select, select, suit
 
Methods inherited from class ks.common.model.Element
getListener, getName, setListener, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pile

public Pile()
Construct a default Pile object.


Pile

public Pile(java.lang.String name)
Construct a Pile with the given name.

Parameters:
name - java.lang.String
Method Detail

toString

public java.lang.String toString()
Return String representation of Pile.

Creation date: (9/30/01 10:54:11 PM)

Overrides:
toString in class Stack
Returns:
int