|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
soc.client.SOCHandPanel
This panel displays a player's information. If the player is us, then more information is displayed than in another player's hand panel. Custom layout: @see #doLayout()
| Nested Class Summary | |
protected class |
SOCHandPanel.HandPanelAutoRollTask
Used for countdown before auto-roll of the current player. |
protected static class |
SOCHandPanel.ResourceTradeMenuItem
Menu item for right-click on resource square to trade with bank/port. |
(package private) static class |
SOCHandPanel.ResourceTradePopupMenu
Menu for right-click on resource square to trade with bank/port. |
(package private) static class |
SOCHandPanel.ResourceTradeTypeMenu
Menu for right-click on resource square to trade one resource type with bank/port. |
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected static java.lang.String |
AUTOROLL_COUNTDOWN
|
static int |
AUTOROLL_TIME
Auto-roll timer countdown, 5 seconds unless changed at program start. |
protected java.util.TimerTask |
autoRollTimerTask
|
protected static java.lang.String |
BANK
|
protected java.awt.Button |
bankBut
|
protected static java.lang.String |
CARD
|
protected java.awt.List |
cardList
|
private boolean |
chatExcepTested
|
static int |
CITIES
|
protected java.awt.Label |
cityLab
|
protected ColorSquare |
citySq
|
static int |
CLAY
|
protected java.awt.Label |
clayLab
|
protected ColorSquare |
claySq
|
protected static java.lang.String |
CLEAR
|
protected java.awt.Button |
clearBut
|
protected SOCPlayerClient |
client
|
protected static java.awt.Color |
COLOR_FOREGROUND
Panel text color, and player name color when not current player |
protected java.awt.Label |
developmentLab
|
protected ColorSquare |
developmentSq
|
protected static java.lang.String |
DONE
|
protected static java.lang.String |
DONE_RESTART
Text of Done button at end of game becomes Restart button |
protected java.awt.Button |
doneBut
"Done" with turn during play; also "Restart" for board reset at end of game |
protected boolean |
doneButIsRestart
True when doneBut's label is Restart (DONE_RESTART) |
protected SOCFaceButton |
faceImg
|
protected SOCGame |
game
|
protected static java.lang.String |
GET
|
protected java.awt.Label |
getLab
|
protected static java.lang.String |
GIVE
|
protected java.awt.Label |
giveLab
|
protected boolean |
inPlay
|
protected boolean |
interactive
When this flag is true, the panel is interactive. |
protected java.awt.Label |
knightsLab
|
protected ColorSquare |
knightsSq
|
static int |
LARGESTARMY
|
protected java.awt.Label |
larmyLab
|
protected static java.lang.String |
LOCKSEAT
|
static int |
LONGESTROAD
|
protected java.awt.Label |
lroadLab
|
static int |
NUMDEVCARDS
|
static int |
NUMKNIGHTS
|
static int |
NUMRESOURCES
|
protected TradeOfferPanel |
offer
Display other players' trade offers and related messages. |
protected boolean |
offerIsDiscardMessage
Board-reset voting: If true, offer is holding a discard message. |
protected boolean |
offerIsMessageWasTrade
Board-reset voting: If true, offer was holding an active trade offer
before offerIsResetMessage or offerIsDiscardMessage was set. |
protected boolean |
offerIsResetMessage
Board-reset voting: If true, offer is holding a message related to a board-reset vote. |
static int |
ORE
|
protected java.awt.Label |
oreLab
|
protected ColorSquare |
oreSq
|
protected java.awt.Button |
playCardBut
|
protected SOCPlayer |
player
|
protected SOCPlayerInterface |
playerInterface
|
protected boolean |
playerIsClient
Does this panel represent our client's own hand? If true, implies interactive. |
protected boolean |
playerIsCurrent
Is this panel's player the game's current player? Used for hilight - set in updateAtTurn() |
protected ColorSquare[] |
playerSend
Checkboxes to send to the other three players. |
protected int[] |
playerSendMap
Three player numbers to send trade offers to. |
protected java.awt.Label |
pname
|
protected java.awt.Color |
pnameActiveBG
Player name background color when current player (foreground does not change) |
protected static java.lang.String |
QUIT
|
protected java.awt.Button |
quitBut
|
protected java.awt.Label |
resourceLab
|
protected ColorSquare |
resourceSq
|
protected int[] |
resourceTradeCost
For right-click resource to trade - If playerIsClient, track cost of bank/port trade per resource. |
protected SOCHandPanel.ResourceTradeTypeMenu[] |
resourceTradeMenu
For right-click resource to trade - If playerIsClient, popup menus to bank/port trade resources. |
protected java.awt.Label |
roadLab
|
static int |
ROADS
|
protected ColorSquare |
roadSq
|
protected static java.lang.String |
ROBOT
|
protected java.awt.Button |
robotBut
|
protected static java.lang.String |
ROLL
|
protected static java.lang.String |
ROLL_OR_PLAY_CARD
|
protected java.awt.Button |
rollBut
|
protected java.awt.Label |
rollPromptCountdownLab
displays auto-roll countdown, or prompts to roll/play card. |
protected boolean |
rollPromptInUse
|
protected java.awt.Button |
seatLockBut
Seat lock/unlock shown in robot handpanels during game play, to prevent/allow humans to join and take over a robot's seat |
protected static java.lang.String |
SEND
|
protected java.awt.Button |
sendBut
|
protected AWTToolTip |
sendButTip
Hint for "Offer" button; non-null only if interactive. |
protected static java.lang.String |
SENDBUTTIP_DIS
|
protected static java.lang.String |
SENDBUTTIP_ENA
|
protected java.awt.Label |
settlementLab
|
static int |
SETTLEMENTS
|
protected ColorSquare |
settlementSq
|
static int |
SHEEP
|
protected java.awt.Label |
sheepLab
|
protected ColorSquare |
sheepSq
|
protected static java.lang.String |
SIT
|
protected java.awt.Button |
sitBut
|
protected boolean |
sitButIsLock
When true, the game is still forming, player has chosen a seat; "Sit Here" button is labeled as "Lock". |
protected static java.lang.String |
SITLOCKED
Before game starts, use pname to show if a seat is no-robots-allowed. |
protected SquaresPanel |
sqPanel
|
protected static java.lang.String |
START
|
protected java.awt.Button |
startBut
|
protected static java.lang.String |
TAKEOVER
|
protected java.awt.Button |
takeOverBut
|
protected static java.lang.String |
TRADEMSG_DISCARD
|
protected static java.lang.String |
UNLOCKSEAT
|
static int |
VICTORYPOINTS
|
protected java.awt.Label |
vpLab
|
protected ColorSquare |
vpSq
|
static int |
WHEAT
|
protected java.awt.Label |
wheatLab
|
protected ColorSquare |
wheatSq
|
static int |
WIDTH_MIN
Minimum desired width, in pixels |
protected static java.lang.String |
WINNER_SUFFIX
If player has won the game, update pname label |
static int |
WOOD
|
protected java.awt.Label |
woodLab
|
protected ColorSquare |
woodSq
|
protected static int[] |
zero
Array of five zeroes; for sqPanel. |
| Fields inherited from class java.awt.Panel |
|
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
SOCHandPanel(SOCPlayerInterface pi,
SOCPlayer pl)
make a new hand panel |
|
SOCHandPanel(SOCPlayerInterface pi,
SOCPlayer pl,
boolean in)
make a new hand panel |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
handle interaction |
void |
addPlayer(java.lang.String name)
DOCUMENT ME! |
void |
addRobotButton()
DOCUMENT ME! |
void |
addSeatLockBut()
Add the "lock" button for when a robot is currently playing in this position. |
void |
addSitButton()
Add the "Sit Here" button. |
void |
addTakeOverBut()
DOCUMENT ME! |
void |
autoRollOrPromptPlayer()
If the player (client) has no playable cards, begin auto-roll countdown, Otherwise, prompt them to roll or pick a card. |
protected void |
autoRollSetupTimer()
Player is client, is current, and has no playable cards, so begin auto-roll countdown. |
void |
changeFace(int id)
Change the face image |
void |
clearDiscardMsg()
Clear the "discarding..." message in the trade panel. |
void |
clearOffer(boolean updateSendCheckboxes)
Clear the current offer. |
void |
clearTradeMsg()
DOCUMENT ME! |
void |
clickPlayCardButton()
Handle a click on the "play card" button, or double-click on an item in the list of cards held. |
void |
clickRollButton()
Handle a click on the roll button. |
protected void |
creation(SOCPlayerInterface pi,
SOCPlayer pl,
boolean in)
Stuff to do when a SOCHandPanel is created. |
void |
destroy()
Remove elements to clean up this panel. |
void |
doLayout()
Custom layout for player hand panel. |
SOCPlayerClient |
getClient()
|
SOCGame |
getGame()
|
SOCPlayer |
getPlayer()
|
SOCPlayerInterface |
getPlayerInterface()
|
boolean |
isClientAndCurrentPlayer()
Is this panel showing the client's player, and is that player the game's current player? |
boolean |
isClientPlayer()
Is this panel showing the client's player? |
protected void |
pnameCalcColors()
During this player's first turn, calculate the player name label's background color for current player. |
void |
rejectOffer()
Show that this player has rejected another player's offer. |
void |
removePlayer()
remove this player |
void |
removeRobotBut()
DOCUMENT ME! |
void |
removeSeatLockBut()
DOCUMENT ME! |
void |
removeSitBut()
Remove the sit-here / lockout-robot button. |
void |
removeSitLockoutBut()
Remove the sit-here/lockout-robot button, only if its label is currently "lockout". |
void |
removeStartBut()
Internal mechanism to remove start button (if visible) and add VP label. |
void |
removeTakeOverBut()
DOCUMENT ME! |
void |
renameSitButLock()
If game is still forming (state NEW), and player has just chosen a seat, can lock empty seats for a game with fewer players/robots. |
void |
resetBoardSetMessage(java.lang.String message)
Show or hide a message related to board-reset voting. |
boolean |
setDiscardMsg()
Show the "discarding..." message in the trade panel. |
protected void |
setLArmy(boolean haveIt)
turn the "largest army" label on or off |
protected void |
setLRoad(boolean haveIt)
turn the "longest road" label on or off |
protected void |
setRollPrompt(java.lang.String prompt)
Set or clear the roll prompt / auto-roll countdown display. |
void |
sqPanelZerosChange(boolean notAllZero)
If enable/disable buttons accordingly. |
private void |
tradeSetMessage(java.lang.String message)
Show or hide a message in the trade-panel. |
void |
updateAtPlay1()
Client is current player; state changed from PLAY to PLAY1. |
void |
updateAtTurn()
Handpanel interface updates at start of each turn (not just our turn). |
void |
updateButtonsAtAdd()
Enable,disable the proper buttons when the client (player) is added to a game. |
void |
updateCurrentOffer()
Display or update this player's trade offer, or hide if none. |
void |
updateDevCards()
DOCUMENT ME! |
void |
updateResourcesVP()
Re-read player's resource info and victory points, update the display and resource trade costs and resourceTradeMenu text. |
void |
updateResourceTradeCosts(boolean doInit)
If playerIsClient, update cost of bank/port trade per resource. |
void |
updateRollButton()
Client is current player, turn has just begun. |
void |
updateSeatLockButton()
update the seat lock button so that it allows a player to lock an unlocked seat and vice versa. |
void |
updateTakeOverButton()
update the takeover button so that it only allows takover when it's not the robot's turn |
void |
updateValue(int vt)
update the value of a player element. |
| Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int WIDTH_MIN
public static final int ROADS
public static final int SETTLEMENTS
public static final int CITIES
public static final int NUMRESOURCES
public static final int NUMDEVCARDS
public static final int NUMKNIGHTS
public static final int VICTORYPOINTS
public static final int LONGESTROAD
public static final int LARGESTARMY
public static final int CLAY
public static final int ORE
public static final int SHEEP
public static final int WHEAT
public static final int WOOD
public static int AUTOROLL_TIME
protected static final int[] zero
sqPanel.
protected static final java.lang.String SITLOCKED
pname to show if a seat is no-robots-allowed.
protected static final java.lang.String SIT
protected static final java.lang.String START
protected static final java.lang.String ROBOT
protected static final java.lang.String TAKEOVER
protected static final java.lang.String LOCKSEAT
protected static final java.lang.String UNLOCKSEAT
protected static final java.lang.String ROLL
protected static final java.lang.String QUIT
protected static final java.lang.String DONE
protected static final java.lang.String DONE_RESTART
protected static final java.lang.String CLEAR
protected static final java.lang.String SEND
protected static final java.lang.String BANK
protected static final java.lang.String CARD
protected static final java.lang.String GIVE
protected static final java.lang.String GET
protected static final java.lang.String AUTOROLL_COUNTDOWN
protected static final java.lang.String ROLL_OR_PLAY_CARD
protected static final java.lang.String SENDBUTTIP_ENA
protected static final java.lang.String SENDBUTTIP_DIS
protected static final java.lang.String TRADEMSG_DISCARD
protected static final java.lang.String WINNER_SUFFIX
protected static final java.awt.Color COLOR_FOREGROUND
protected java.awt.Color pnameActiveBG
protected java.awt.Button sitBut
protected java.awt.Button robotBut
protected java.awt.Button startBut
protected java.awt.Button takeOverBut
protected java.awt.Button seatLockBut
protected boolean sitButIsLock
protected SOCFaceButton faceImg
protected java.awt.Label pname
protected java.awt.Label vpLab
protected ColorSquare vpSq
protected java.awt.Label larmyLab
protected java.awt.Label lroadLab
protected ColorSquare claySq
protected ColorSquare oreSq
protected ColorSquare sheepSq
protected ColorSquare wheatSq
protected ColorSquare woodSq
protected java.awt.Label clayLab
protected java.awt.Label oreLab
protected java.awt.Label sheepLab
protected java.awt.Label wheatLab
protected java.awt.Label woodLab
protected int[] resourceTradeCost
SOCResourceConstants.CLAY, etc. Highest index is 5.
Null, unless playerIsClient and addPlayer has been called.
protected SOCHandPanel.ResourceTradeTypeMenu[] resourceTradeMenu
SOCResourceConstants.CLAY, etc. Highest index is 5.
Null, unless playerIsClient and addPlayer has been called.
protected ColorSquare settlementSq
protected ColorSquare citySq
protected ColorSquare roadSq
protected java.awt.Label settlementLab
protected java.awt.Label cityLab
protected java.awt.Label roadLab
protected ColorSquare resourceSq
protected java.awt.Label resourceLab
protected ColorSquare developmentSq
protected java.awt.Label developmentLab
protected ColorSquare knightsSq
protected java.awt.Label knightsLab
protected java.awt.List cardList
protected java.awt.Button playCardBut
protected SquaresPanel sqPanel
protected java.awt.Label giveLab
protected java.awt.Label getLab
protected java.awt.Button sendBut
protected AWTToolTip sendButTip
SENDBUTTIP_DIS,
SENDBUTTIP_ENA,
interactiveprotected java.awt.Button clearBut
protected java.awt.Button bankBut
protected ColorSquare[] playerSend
playerSendMapprotected java.awt.Label rollPromptCountdownLab
setRollPrompt(String)protected boolean rollPromptInUse
protected java.util.TimerTask autoRollTimerTask
protected java.awt.Button rollBut
protected java.awt.Button doneBut
protected boolean doneButIsRestart
doneBut's label is Restart (DONE_RESTART)
protected java.awt.Button quitBut
protected SOCPlayerInterface playerInterface
protected SOCPlayerClient client
protected SOCGame game
protected SOCPlayer player
protected boolean playerIsClient
interactive.
protected boolean playerIsCurrent
protected boolean inPlay
protected int[] playerSendMap
playerSendprotected TradeOfferPanel offer
offerIsResetMessage,
offerIsDiscardMessageprotected boolean offerIsResetMessage
offer is holding a message related to a board-reset vote.
protected boolean offerIsDiscardMessage
offer is holding a discard message.
protected boolean offerIsMessageWasTrade
offer was holding an active trade offer
before offerIsResetMessage or offerIsDiscardMessage was set.
protected boolean interactive
playerIsClient true, implies interactive.
private boolean chatExcepTested
| Constructor Detail |
public SOCHandPanel(SOCPlayerInterface pi,
SOCPlayer pl,
boolean in)
pi - the interface that this panel is a part ofpl - the player associated with this panelin - the interactive flag setting
public SOCHandPanel(SOCPlayerInterface pi,
SOCPlayer pl)
pi - the interface that this panel is a part ofpl - the player associated with this panel| Method Detail |
protected void creation(SOCPlayerInterface pi,
SOCPlayer pl,
boolean in)
pi - player interfacepl - the player datain - the interactive flag settingpublic SOCPlayerInterface getPlayerInterface()
public SOCPlayer getPlayer()
public SOCPlayerClient getClient()
public SOCGame getGame()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void clickPlayCardButton()
public void clickRollButton()
public void addSeatLockBut()
public void addTakeOverBut()
public void addSitButton()
public void addRobotButton()
public void changeFace(int id)
id - the id of the imagepublic void removePlayer()
public void destroy()
public void addPlayer(java.lang.String name)
name - DOCUMENT ME!protected void autoRollSetupTimer()
autoRollOrPromptPlayer()public void updateAtTurn()
updateTakeOverButton(), and checks if current player (for hilight).
Called from client when server sends SOCMessage.TURN.
Called also at start of game by SOCPlayerInterface.updateAtGameState(),
because the server sends no TURN between the last road (gamestate START2B)
and the first player's turn (state PLAY).
public void updateAtPlay1()
public void updateButtonsAtAdd()
protected void pnameCalcColors()
public void sqPanelZerosChange(boolean notAllZero)
public void autoRollOrPromptPlayer()
updateAtTurn(),
autoRollSetupTimer()public void updateDevCards()
public void removeSeatLockBut()
public void removeTakeOverBut()
public void removeSitBut()
public void removeSitLockoutBut()
public void renameSitButLock()
public void removeRobotBut()
public void removeStartBut()
public void updateCurrentOffer()
offer). In that case
the trade offer will be refreshed after the reset is cancelled.
public void rejectOffer()
public void clearTradeMsg()
public void clearOffer(boolean updateSendCheckboxes)
updateSendCheckboxes - If true, and player is client, update the
selection checkboxes for which opponents are sent the offer.
If it's currently our turn, check all boxes where the seat isn't empty.
Otherwise, check only the box for the opponent whose turn it is.private void tradeSetMessage(java.lang.String message)
message - Message to show, or null to hide (and return tradepanel to previous display, if any)
public void resetBoardSetMessage(java.lang.String message)
throws java.lang.IllegalStateException
message - Message to show, or null to hide
java.lang.IllegalStateException - if offerIsDiscardMessage true when calledpublic boolean setDiscardMsg()
updateValue(int) for NUMRESOURCES,
because that's what the server sends all other players on discard.
clearDiscardMsg(),
TRADEMSG_DISCARDpublic void clearDiscardMsg()
setDiscardMsg()public void updateTakeOverButton()
public void updateRollButton()
public void updateSeatLockButton()
protected void setLArmy(boolean haveIt)
haveIt - true if this player has the largest armyprotected void setLRoad(boolean haveIt)
haveIt - true if this player has the longest roadpublic void updateValue(int vt)
vt - the type of valuepublic void updateResourcesVP()
public void updateResourceTradeCosts(boolean doInit)
doInit - If true, fill resourceTradeMenu[] with newly constructed menus.public boolean isClientPlayer()
isClientAndCurrentPlayer()public boolean isClientAndCurrentPlayer()
protected void setRollPrompt(java.lang.String prompt)
prompt - The message to display, or null to clear it.public void doLayout()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||