|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--de.kosi.gui.view.View | +--de.kosi.gui.view.GameView | +--de.kosi.gui.view.TableView
The TableView extends the GameView to display additional information. This includes player names, watchers and a rubber score table. After each game the table displays a dialog showing the result of the last game.
ChangeLog:
$Log: TableView.java,v $ Revision 1.29 2001/08/21 11:48:06 madmanmoon Windows Look And Feel Bug resolved in LookAndFeelManager, ContractComponent clears double/redouble, menu item and dialog for starting computer players added. Revision 1.28 2001/07/24 12:45:18 madmanmoon MainWindow extends CWindow instead of CDialog now. Revision 1.27 2001/07/20 14:37:08 jiriki Fixed Bug 440605 Revision 1.26 2001/07/17 09:19:14 jiriki Fixed Bug 440612. Revision 1.25 2001/07/13 10:49:04 jiriki Started fix for Bugs 440155 and 440333. Revision 1.24 2001/07/04 12:34:30 uid30828 - Rubber score implemented - Inviting now working Revision 1.23 2001/06/27 11:16:20 tanni Finished Play Now. Revision 1.22 2001/06/25 14:49:13 jiriki - Added better Exception handling to the client - Removed unused source Revision 1.21 2001/06/22 15:06:09 jiriki Started Implementation of invite Revision 1.20 2001/06/22 13:24:32 jiriki Implemented kicking Revision 1.19 2001/06/15 15:24:56 jiriki Leaving table now possible. Revision 1.18 2001/06/15 15:01:12 jiriki Cards are displayed after game Revision 1.17 2001/06/15 14:20:30 jiriki Trying to Display result Revision 1.16 2001/06/15 13:42:30 jiriki Tricks are displayed during the game. Revision 1.15 2001/06/14 14:41:01 jiriki Code maintanance (Updated docs, removed unused code, improved code style)
Inner classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
static java.lang.String |
INVITE
|
static java.lang.String |
KICK
|
static java.lang.String |
LEAVE
|
static java.lang.String |
START_COMPUTER_PLAYER
|
Fields inherited from class de.kosi.gui.view.GameView |
CLAIM, playHistory |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
TableView(MainWindow parent,
Foyer foyer,
int direction,
boolean isPublic)
Creates a new table view. |
|
TableView(MainWindow parent,
Table table,
int direction)
Joins a given table and creates a view for it. |
Method Summary | |
javax.swing.ActionMap |
getNamedActionsMap()
Returns a map of actions, this component can perform. |
Methods inherited from class de.kosi.gui.view.GameView |
addTab, createActions, getCardPane, getGame, getParentDialog, getPreferredSize, isDeclarer, isDummy, removeTab, setCards, setChatChannel, setDirection, setGame, toOrientation |
Methods inherited from class de.kosi.gui.view.View |
getViewContainer, lookAndFeelChanged, setViewContainer |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, paramString, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String LEAVE
public static final java.lang.String INVITE
public static final java.lang.String KICK
public static final java.lang.String START_COMPUTER_PLAYER
Constructor Detail |
public TableView(MainWindow parent, Foyer foyer, int direction, boolean isPublic) throws UserAlreadyPlayingException
parent
- Parent dialog of this component.foyer
- Foyer the table is created in.direction
- Direction the table is joined in
(One of the constants Player.NORTH, Player.EAST,
Player.SOUTH or Player.WEST)isPublic
- Wether this table is public (visible in the table list)UserAlreadyPlayingException
- If the user is already playing
at another table or in another tournament.public TableView(MainWindow parent, Table table, int direction) throws UserAlreadyPlayingException, TableSeatTakenException
parent
- Parent dialog of this component.table
- Table that is joined.direction
- Direction the table is joined in
(One of the constants Player.NORTH, Player.EAST,
Player.SOUTH or Player.WEST)UserAlreadyPlayingException
- If the user is already playing
at another table or in another tournament.TableSeatTakenException
- If the table seat is already taken.Method Detail |
public javax.swing.ActionMap getNamedActionsMap()
View
getNamedActionsMap
in class GameView
de.kosi.gui.view.View
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |