|
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.BalanceLabel
BalanceLabel displays the user's current cash position.
| 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 |
BalanceLabel(java.lang.String text,
GameDisplay game)
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. |
protected void |
setupLabel(java.lang.String text)
Creates the label display element with the specified text and adds it to the layered pane. |
| Methods inherited from class com.amoebacode.blackjack.display.label.LabelWrapper |
actionPerformed, blinkOff, blinkOn, blinks, clear, getBlinkDelay, getBlinkTimes, getLabelFont, getLabelHeight, getLabelWidth, setBackground, setText, 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 BalanceLabel(java.lang.String text,
GameDisplay game)
text - the String to insert into the labelgame - the GameDisplay parent| Method Detail |
protected void setupLabel(java.lang.String text)
LabelWrappersetupLabel in class LabelWrapperLabelWrapper.setupLabel(String)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 | ||||||||