All Packages Class Hierarchy This Package Previous Next Index
Class scrobble.ClientBoard
java.lang.Object
|
+----scrobble.Board
|
+----scrobble.ClientBoard
- public class ClientBoard
- extends Board
- implements GameLinkListener, ScrobbleConstants
ClientBoard.java
herite de Board et implemente l'interface Displayable
-
boardPanel
-
The panel wich represents the Board
-
debug
- if true, enables the printing of debug informations on the console.
-
ClientBoard(BoardShape)
- Creates e new ClientBoardl
-
frameReceived(Object, LinkFrame)
- Messaged when a new data frame is received by the
GameLinkFilter
object and this frame belongs to the groups the GameLinkListener
asked to listen to.
-
getComponent()
- Returns the GUI component representing this board.
-
verify(WordPositioner)
- Verifies that the given word can be put on the board or not.
boardPanel
JPanel boardPanel
- The panel wich represents the Board
debug
protected boolean debug
- if true, enables the printing of debug informations on the console.
ClientBoard
public ClientBoard(BoardShape shape)
- Creates e new ClientBoardl
verify
public boolean verify(WordPositioner wordp) throws IllegalPositionException
- Verifies that the given word can be put on the board or not.
- Parameters:
- wordp - the WordPositioner to be verified.
- Returns:
- true if the given word can be put on the board, and exception otherwise.
getComponent
public Component getComponent()
- Returns the GUI component representing this board.
frameReceived
public void frameReceived(Object link,
LinkFrame frame)
- Messaged when a new data frame is received by the
GameLinkFilter
object and this frame belongs to the groups the GameLinkListener
asked to listen to.
- Parameters:
- link - the GameLink that actually received the frame.
- frame - the frame that has just been received.
- See Also:
- GameLink, frameReceived
All Packages Class Hierarchy This Package Previous Next Index