ks.common.model
Class Column

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

public class Column
extends Stack

Representation of a stack of cards that will appear either vertically or horizontally placed on the screen, slightly overlapping each other.

Creation date: (9/30/01 10:51:34 PM)


Constructor Summary
Column()
          Create column with default name.
Column(Stack cards)
          Construct a column from the given Stack.
Column(Stack cards, java.lang.String name)
          Construct a column with the specified name from the given Stack.
Column(java.lang.String name)
          Construct a column with the specified name.
 
Method Summary
 java.lang.String toString()
          Return String representation of Column.
 
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

Column

public Column()
Create column with default name.


Column

public Column(Stack cards)
Construct a column from the given Stack.

Creation date: (9/30/01 11:13:53 PM)

Parameters:
cards - Stack of initial cards.

Column

public Column(Stack cards,
              java.lang.String name)
Construct a column with the specified name from the given Stack.

Creation date: (9/30/01 11:13:53 PM)

Parameters:
name - java.lang.String

Column

public Column(java.lang.String name)
Construct a column with the specified name.

Creation date: (9/30/01 11:13:53 PM)

Parameters:
name - java.lang.String
Method Detail

toString

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

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

Overrides:
toString in class Stack
Returns:
int