|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.amoebacode.blackjack.display.DisplayElement
|
+--com.amoebacode.blackjack.display.label.LabelWrapper
|
+--com.amoebacode.blackjack.display.label.CurrentScoreLabel
CurrentScoreLabel displays the current score of its corresponding hand.
| 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 |
CurrentScoreLabel(HandDisplay handDisplay)
Default protected constructor. |
| Method Summary | |
private HandDisplay |
getHandDisplay()
Returns the hand display being tracked by this label. |
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 |
|
| Constructor Detail |
protected CurrentScoreLabel(HandDisplay handDisplay)
hand - the Hand being tracked by this label| Method Detail |
private HandDisplay getHandDisplay()
protected int getXPos()
LabelWrappergetXPos in class LabelWrapperLabelWrapper.getXPos()protected int getYPos()
LabelWrappergetYPos in class LabelWrapperLabelWrapper.getYPos()
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||