ggz.cards
Class TableConstraints

java.lang.Object
  extended by ggz.cards.TableConstraints

public class TableConstraints
extends java.lang.Object


Field Summary
static int BUTTON_PANEL
           
static int CARD_IN_HAND
           
static int CARD_IN_TRICK
           
protected  int cardIndex
           
static int NORTH_EAST_CORNER
           
static int NORTH_WEST_CORNER
           
static int PLAYER_LABEL
           
protected  int playerIndex
          The player index for which this component belongs.
static int SOUTH_EAST_CORNER
           
static int SOUTH_WEST_CORNER
           
static int STATUS_LABEL
           
protected  int type
          The purpose of this component.
 
Constructor Summary
TableConstraints(int type)
           
TableConstraints(int type, int playerIndex)
           
TableConstraints(int type, int playerIndex, int cardIndex)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

playerIndex

protected int playerIndex
The player index for which this component belongs.


type

protected int type
The purpose of this component. E.g. player lable, card in hand, card in trick.


cardIndex

protected int cardIndex

PLAYER_LABEL

public static final int PLAYER_LABEL
See Also:
Constant Field Values

CARD_IN_HAND

public static final int CARD_IN_HAND
See Also:
Constant Field Values

CARD_IN_TRICK

public static final int CARD_IN_TRICK
See Also:
Constant Field Values

STATUS_LABEL

public static final int STATUS_LABEL
See Also:
Constant Field Values

BUTTON_PANEL

public static final int BUTTON_PANEL
See Also:
Constant Field Values

SOUTH_EAST_CORNER

public static final int SOUTH_EAST_CORNER
See Also:
Constant Field Values

SOUTH_WEST_CORNER

public static final int SOUTH_WEST_CORNER
See Also:
Constant Field Values

NORTH_EAST_CORNER

public static final int NORTH_EAST_CORNER
See Also:
Constant Field Values

NORTH_WEST_CORNER

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

TableConstraints

public TableConstraints(int type)

TableConstraints

public TableConstraints(int type,
                        int playerIndex)

TableConstraints

public TableConstraints(int type,
                        int playerIndex,
                        int cardIndex)