|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.model.Element
ks.common.model.Stack
ks.common.model.Pile
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 |
public Pile()
public Pile(java.lang.String name)
name
- java.lang.StringMethod Detail |
public java.lang.String toString()
Creation date: (9/30/01 10:54:11 PM)
toString
in class Stack
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |