Blackjack

com.amoebacode.blackjack.display.label
Class DecksLabel

java.lang.Object
  |
  +--com.amoebacode.blackjack.display.DisplayElement
        |
        +--com.amoebacode.blackjack.display.label.LabelWrapper
              |
              +--com.amoebacode.blackjack.display.label.DecksLabel
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

class DecksLabel
extends LabelWrapper

DecksLabel displays the current number of decks remaining.

Version:
0.9
Author:
Jason Gurney

Fields inherited from class com.amoebacode.blackjack.display.label.LabelWrapper
BLINK_DELAY, BLINK_TIMES, blinkCount, blinkOn, isBlinking, label, LABEL_HEIGHT, LABEL_WIDTH, timer
 
Fields inherited from class com.amoebacode.blackjack.display.DisplayElement
parent
 
Constructor Summary
protected DecksLabel(DeckDisplay deck)
          Default protected constructor.
 
Method Summary
protected  int getXPos()
          Returns the horizontal position of the select box.
protected  int getYPos()
          Returns the vertical position of the select box.
 
Methods inherited from class com.amoebacode.blackjack.display.label.LabelWrapper
actionPerformed, blinkOff, blinkOn, blinks, clear, getBlinkDelay, getBlinkTimes, getLabelFont, getLabelHeight, getLabelWidth, setBackground, setText, setupLabel, setupLabel, setVisible, startBlinking, stopBlinking, updateLocation
 
Methods inherited from class com.amoebacode.blackjack.display.DisplayElement
executeGameCommand, getDisplayManager, getGameDisplay, getParent, hasParent, playGameClip, queueAction, resumeQueue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

DecksLabel

protected DecksLabel(DeckDisplay deck)
Default protected constructor.
Parameters:
deck - the Deck of cards to be dealt
Method Detail

getXPos

protected int getXPos()
Description copied from class: LabelWrapper
Returns the horizontal position of the select box.
Overrides:
getXPos in class LabelWrapper
See Also:
LabelWrapper.getXPos()

getYPos

protected int getYPos()
Description copied from class: LabelWrapper
Returns the vertical position of the select box.
Overrides:
getYPos in class LabelWrapper
See Also:
LabelWrapper.getYPos()

Blackjack

Copyright © 2002 amoebacode.com.