|
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.OptionsButton
OptionsButton manages the House Rules user button.
| Fields inherited from class com.amoebacode.blackjack.display.button.GameButton |
game |
| Fields inherited from class com.amoebacode.blackjack.display.button.ButtonBase |
button, buttonListener, HEIGHT, WIDTH |
| Fields inherited from class com.amoebacode.blackjack.display.DisplayElement |
parent |
| Constructor Summary | |
protected |
OptionsButton(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()
Performs the action associated with the button (called when it is clicked by the user). |
| 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, getWidth, 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 OptionsButton(GameDisplay game)
game - the GameDisplay parent| Method Detail |
protected java.lang.String getButtonText()
ButtonBasegetButtonText in class ButtonBaseButtonBase.getButtonText()protected int getXPos()
ButtonBasegetXPos in class ButtonBaseButtonBase.getXPos()protected int getYPos()
ButtonBasegetYPos in class ButtonBaseButtonBase.getYPos()public void performAction()
GameButtonperformAction in class GameButtonGameButton.performAction()protected java.lang.String getToolTipText()
ButtonBasegetToolTipText in class ButtonBaseButtonBase.getToolTipText()
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||