|
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.button.ButtonBase
|
+--com.amoebacode.blackjack.display.button.GameButton
|
+--com.amoebacode.blackjack.display.button.SaveButton
|
+--com.amoebacode.blackjack.display.button.SavePreferencesButton
SavePreferencesButton manages the Save Preferences user button.
| Fields inherited from class com.amoebacode.blackjack.display.button.SaveButton |
WIDTH |
| Fields inherited from class com.amoebacode.blackjack.display.button.GameButton |
game |
| Fields inherited from class com.amoebacode.blackjack.display.button.ButtonBase |
button, buttonListener, HEIGHT |
| Fields inherited from class com.amoebacode.blackjack.display.DisplayElement |
parent |
| Constructor Summary | |
protected |
SavePreferencesButton(GameDisplay game)
Default protected constructor. |
| Method Summary | |
protected java.lang.String |
getButtonText()
Returns the button text. |
protected java.lang.String |
getToolTipText()
Returns the help text that appears when the user mouses over the button. |
protected int |
getXPos()
Returns the horizontal position of the button. |
protected int |
getYPos()
Returns the vertical position of the button. |
void |
performAction()
Saves the current preferences (called when the button is clicked). |
| Methods inherited from class com.amoebacode.blackjack.display.button.SaveButton |
getWidth |
| Methods inherited from class com.amoebacode.blackjack.display.button.GameButton |
actionPreamble, setupButton |
| Methods inherited from class com.amoebacode.blackjack.display.button.ButtonBase |
activate, clear, disable, displayDisable, getButtonListener, getHeight, hide, setMouseEnteredBackground, setMouseExitedBackground |
| 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 SavePreferencesButton(GameDisplay game)
game - the GameDisplay parent| Method Detail |
protected java.lang.String getButtonText()
getButtonText in class ButtonBaseprotected int getXPos()
getXPos in class ButtonBaseprotected int getYPos()
getYPos in class ButtonBasepublic void performAction()
performAction in class GameButtonprotected java.lang.String getToolTipText()
getToolTipText in class ButtonBase
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||