A B C D E F G H I J L M N O P R S T U V W _

A

AbstractCardBoardModel - class org.cb.cardboard.AbstractCardBoardModel.
Abstract CardBoardModel implementation.
AbstractCardBoardModel() - Constructor for class org.cb.cardboard.AbstractCardBoardModel
 
AbstractGame - class org.cb.jset.client.AbstractGame.
An abstract SetGame, responsible of the event management.
AbstractGame() - Constructor for class org.cb.jset.client.AbstractGame
 
Assert - class org.cb.util.Assert.
A simple assert tool.
addBoardDataListener(CardBoardModelListener) - Method in class org.cb.cardboard.AbstractCardBoardModel
Adds the specified listener to the instance's listener's list.
addBoardDataListener(CardBoardModelListener) - Method in interface org.cb.cardboard.CardBoardModel
Adds a listener to the list that's notified each time a change to the data model occurs.
addBoardListener(SetGameBoardListener) - Method in class org.cb.jset.BoardImpl
Adds a boardListener to this board.
addBoardListener(SetGameBoardListener) - Method in class org.cb.jset.client.AbstractGame
 
addBoardListener(SetGameBoardListener) - Method in interface org.cb.jset.client.SetGame
 
addBoardSelectionListener(BoardSelectionListener) - Method in interface org.cb.cardboard.BoardSelectionModel
Add a listener to the list that's notified each time a change to the selection occurs.
addBoardSelectionListener(BoardSelectionListener) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
addBoardSelectionListener(BoardSelectionListener) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Adds a listener to the cardBoard that's notified each time a change to the selection occurs.
addCards(CardProperties[]) - Method in class org.cb.jset.BoardImpl
Add the specified cards onto the board.
addCards(CardProperties[]) - Method in class org.cb.jset.client.model.JSetClientBoardModel
Add the specified cards onto the board.
addCards(CardProperties[]) - Method in interface org.cb.jset.client.model.SetGameClientBoard
Add the specified cards onto the board.
addGameListener(SetGameListener) - Method in class org.cb.jset.client.AbstractGame
 
addGameListener(SetGameListener) - Method in interface org.cb.jset.client.SetGame
 
addSelectionInterval(int, int) - Method in interface org.cb.cardboard.BoardSelectionModel
Change the selection to be the set union of the current selection and the indices between index0 and index1 inclusive.
addSelectionInterval(int, int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
addSelectionInterval(int, int) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Sets the selection to be the union of the specified interval with current selection.
assertTrue(boolean, String) - Static method in class org.cb.util.Assert
Assert the expression.

B

BUILD_TIME - Static variable in class org.cb.jset.JSetBuild
 
BoardCardRenderer - interface org.cb.cardboard.BoardCardRenderer.
Interface to a renderer of a card of a board.
BoardException - exception org.cb.jset.BoardException.
Exception to identify problems on the Board.
BoardException(String) - Constructor for class org.cb.jset.BoardException
Constructs an instance of BoardException with the specified detail message.
BoardImpl - class org.cb.jset.BoardImpl.
An implementation of a set game board.
BoardImpl() - Constructor for class org.cb.jset.BoardImpl
 
BoardSelectionEvent - class org.cb.cardboard.BoardSelectionEvent.
An event that characterizes a change in the current selection.
BoardSelectionEvent(Object, int, boolean) - Constructor for class org.cb.cardboard.BoardSelectionEvent
Represents a change in selection status for the specified indexes.
BoardSelectionListener - interface org.cb.cardboard.BoardSelectionListener.
An interface that all Board selection listeners must implement.
BoardSelectionModel - interface org.cb.cardboard.BoardSelectionModel.
The listener that's notified when a board selection value changes.
block() - Method in interface org.cb.jset.SetGamePlayer
Called by a game when the player should be blocked.
block() - Method in interface org.cb.jset.server.RemoteSetGamePlayer
Called by a game when the player should be blocked.

C

CARDSNB - Static variable in class org.cb.jset.CardProperties
Number of cards.
COLOR_BLUE - Static variable in class org.cb.jset.CardProperties
 
COLOR_GREEN - Static variable in class org.cb.jset.CardProperties
 
COLOR_RED - Static variable in class org.cb.jset.CardProperties
 
CONTENTS_CHANGED - Static variable in class org.cb.cardboard.CardBoardEvent
Identifies one or more changes in the lists contents.
Card - interface org.cb.cardboard.Card.
Tag for a card.
CardBoardEvent - class org.cb.cardboard.CardBoardEvent.
An event for a CardBoard.
CardBoardEvent(Object, int, int, int) - Constructor for class org.cb.cardboard.CardBoardEvent
Constructs a CardBoardEvent object.
CardBoardEvent(Object, List) - Constructor for class org.cb.cardboard.CardBoardEvent
Constructs a CardBoardEvent object.
CardBoardEvent.BoardIndexes - interface org.cb.cardboard.CardBoardEvent.BoardIndexes.
A supertype tag for the different indexes implementation.
CardBoardEvent.IndexInterval - class org.cb.cardboard.CardBoardEvent.IndexInterval.
A class that allows to specify BoardIndexes as an interval between two indexes.
CardBoardEvent.IndexList - class org.cb.cardboard.CardBoardEvent.IndexList.
A class that allows to specify BoardIndexes as a list of indexes.
CardBoardModel - interface org.cb.cardboard.CardBoardModel.
This interface defines the methods components like JCardBoard use to get the value of each card in a board and the length of the list.
CardBoardModelListener - interface org.cb.cardboard.CardBoardModelListener.
An interface that all CardBoardModel listeners must implement.
CardBoardUI - class org.cb.cardboard.CardBoardUI.
The JCardBoard pluggable look and feel delegate.
CardBoardUI() - Constructor for class org.cb.cardboard.CardBoardUI
 
CardEvent - class org.cb.jset.client.model.CardEvent.
Event related to the change of state of a card.
CardEvent(Card, int) - Constructor for class org.cb.jset.client.model.CardEvent
Constructs an instance of CardEvent, given the specified source and type.
CardProperties - class org.cb.jset.CardProperties.
Represents a card used in the game.
CardProperties(byte, byte, byte, byte) - Constructor for class org.cb.jset.CardProperties
Creates a new instance of CardProperties, given the specified shape, color number and fill.
CardSet - class org.cb.jset.CardSet.
A CardSet of cards in the game.
CardSet(CardProperties[]) - Constructor for class org.cb.jset.CardSet
Creates a new instance of CardSet given the specified card properties.
CardStack - class org.cb.jset.CardStack.
FIXME document Maybe should be called CardDeck.
CardStack() - Constructor for class org.cb.jset.CardStack
 
Client - class org.cb.jset.client.Client.
FIXME rename.
Client() - Constructor for class org.cb.jset.client.Client
 
cardsAdded(CardProperties[]) - Method in interface org.cb.jset.SetGameBoardListener
Called to notify that the specified cards were added to the board.
cardsAdded(CardProperties[]) - Method in interface org.cb.jset.server.RemoteSetGameBoardListener
Called to notify that the specified cards were added to the board.
clear() - Method in class org.cb.jset.client.model.JSetClientBoardModel
Clear the board.
clearSelection() - Method in interface org.cb.cardboard.BoardSelectionModel
Change the selection to the empty set.
clearSelection() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
clearSelection() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Clears the selection - after calling this method isSelectionEmpty will return true.
close() - Method in class org.cb.jset.JSetGameImpl.GameConnectionImpl
 
close() - Method in interface org.cb.jset.SetGameConnection
Close the game connection, effectively leaving the game.
close() - Method in interface org.cb.jset.server.RemoteSetGameConnection
Close the game connection, effectively leaving the game.
connect(SetGamePlayer) - Method in class org.cb.jset.JSetGameImpl
 
connect(SetGamePlayer) - Method in interface org.cb.jset.SetGame
 
connect(RemoteSetGamePlayer) - Method in class org.cb.jset.server.JSetRemoteGameImpl
 
connect(RemoteSetGamePlayer) - Method in interface org.cb.jset.server.RemoteSetGame
 
contentsChanged(CardBoardEvent) - Method in interface org.cb.cardboard.CardBoardModelListener
Sent when the contents of the board has changed in a way that's too complex to characterize with the previous methods.
createGame(String, int) - Method in class org.cb.jset.server.JSetGameServer
Create a game with the specified number of players.
createGame(String, int) - Method in interface org.cb.jset.server.RemoteSetGameServer
Create a game with the specified number of players.

D

DESELECTED - Static variable in class org.cb.jset.client.model.CardEvent
the type of a deselection event.
DefaultBoardSelectionModel - class org.cb.cardboard.DefaultBoardSelectionModel.
Default data model for board selections.
DefaultBoardSelectionModel() - Constructor for class org.cb.cardboard.DefaultBoardSelectionModel
 
disconnect() - Method in interface org.cb.jset.SetGamePlayer
Called to notify a disconnection from a game.
disconnect() - Method in interface org.cb.jset.server.RemoteSetGamePlayer
Called to notify a disconnection from a game.

E

END - Static variable in class org.cb.jset.client.GameEvent
Used to identify game ends.
empty() - Method in class org.cb.jset.CardStack
 
endTurn() - Method in class org.cb.jset.client.LocalGame
 
endTurn() - Method in class org.cb.jset.client.NetworkGame
 
endTurn() - Method in interface org.cb.jset.client.SetGame
 
equals(Object) - Method in class org.cb.jset.CardProperties
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.cb.jset.JSetCard
 

F

FILL_DOTTED - Static variable in class org.cb.jset.CardProperties
 
FILL_EMPTY - Static variable in class org.cb.jset.CardProperties
 
FILL_FULL - Static variable in class org.cb.jset.CardProperties
 
findCard(CardProperties) - Static method in class org.cb.jset.CardProperties
 
findSets(List) - Method in class org.cb.jset.MatchingSetFinder
Find the matching sets in the specified list of cards.
fireCardsAdded(CardProperties[]) - Method in class org.cb.jset.client.AbstractGame
 
fireContentsChanged(CardBoardEvent) - Method in class org.cb.cardboard.AbstractCardBoardModel
Fire the specified contents changed event
fireGameChange(GameEvent) - Method in class org.cb.jset.client.AbstractGame
 
fireIntervalAdded(CardBoardEvent) - Method in class org.cb.cardboard.AbstractCardBoardModel
Fire the specified interval added event
fireIntervalRemoved(CardBoardEvent) - Method in class org.cb.cardboard.AbstractCardBoardModel
Fire the specified interval removed event
fireSelectionValueChanged(int, int, boolean) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Notifies JCardBoardComponent BoardSelectionListeners that the selection model has changed.
fireSetRemoved(CardSet) - Method in class org.cb.jset.client.AbstractGame
 

G

GameEvent - class org.cb.jset.client.GameEvent.
Represents game events, including start and end.
GameEvent(int) - Constructor for class org.cb.jset.client.GameEvent
Constructs a game event given the specified type.
gameChange(GameEvent) - Method in interface org.cb.jset.client.SetGameListener
Notify the specified change event to this instance.
gameChange(GameEvent) - Method in class org.cb.jset.client.SmartAutoPlayer
 
getAnchorSelectionIndex() - Method in interface org.cb.cardboard.BoardSelectionModel
Return the first index argument from the most recent call to setSelectionInterval(), addSelectionInterval() or removeSelectionInterval().
getAnchorSelectionIndex() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
getAnchorSelectionIndex() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns the first index argument from the most recent addSelectionModel or setSelectionInterval call.
getBoardCardRendererComponent(JCardBoard, Card, int, boolean, boolean) - Method in interface org.cb.cardboard.BoardCardRenderer
Return a component that has been configured to display the specified value.
getBoardIndexes() - Method in class org.cb.cardboard.CardBoardEvent
Return the indexes of the cards modified on the board.
getBoardSelectionListeners() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns an array of all the BoardSelectionListeners added to this JCardBoardComponent with addBoardSelectionListener().
getCard(int) - Static method in class org.cb.jset.CardProperties
Get the card given the specified index.
getCard() - Method in class org.cb.jset.client.ui.JSetCardComponent
 
getCardBounds(JCardBoard, int, int) - Method in class org.cb.cardboard.CardBoardUI
Returns the bounds of the specified item in JCardBoard coordinates, null if index isn't valid.
getCards() - Method in class org.cb.jset.BoardImpl
 
getCards() - Method in class org.cb.jset.CardSet
 
getColor() - Method in class org.cb.jset.CardProperties
 
getCurrentNbPlayers() - Method in class org.cb.jset.JSetGameImpl
 
getCurrentNbPlayers() - Method in interface org.cb.jset.SetGame
 
getCurrentNbPlayers() - Method in class org.cb.jset.server.JSetRemoteGameImpl
 
getCurrentNbPlayers() - Method in interface org.cb.jset.server.RemoteSetGame
 
getElementAt(int) - Method in interface org.cb.cardboard.CardBoardModel
Returns the value at the specified index.
getElementAt(int) - Method in class org.cb.jset.client.model.JSetClientBoardModel
Return the Card element specified by the index on the board.
getElements() - Method in interface org.cb.cardboard.CardBoardModel
 
getElements() - Method in class org.cb.jset.client.model.JSetClientBoardModel
 
getFill() - Method in class org.cb.jset.CardProperties
 
getGame(String, String) - Static method in class org.cb.jset.client.Client
 
getGame(int) - Method in class org.cb.jset.server.JSetGameServer
Returns the game identified by the specified id.
getGame(int) - Method in interface org.cb.jset.server.RemoteSetGameServer
Returns the game identified by the specified id.
getGames() - Method in class org.cb.jset.server.JSetGameServer
 
getGames() - Method in interface org.cb.jset.server.RemoteSetGameServer
 
getID() - Method in class org.cb.jset.JSetGameImpl
 
getID() - Method in interface org.cb.jset.SetGame
 
getID() - Method in class org.cb.jset.server.JSetRemoteGameImpl
 
getID() - Method in interface org.cb.jset.server.RemoteSetGame
 
getIndex0() - Method in class org.cb.cardboard.CardBoardEvent.IndexInterval
 
getIndex1() - Method in class org.cb.cardboard.CardBoardEvent.IndexInterval
 
getIndexesInBoard() - Method in class org.cb.cardboard.CardBoardEvent.IndexList
Returns the list of indexes on the board.
getLeadSelectionIndex() - Method in interface org.cb.cardboard.BoardSelectionModel
Return the second index argument from the most recent call to setSelectionInterval(), addSelectionInterval() or removeSelectionInterval().
getLeadSelectionIndex() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
getLeadSelectionIndex() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns the second index argument from the most recent addSelectionInterval or setSelectionInterval call.
getMaxNbPlayers() - Method in class org.cb.jset.JSetGameImpl
 
getMaxNbPlayers() - Method in interface org.cb.jset.SetGame
 
getMaxNbPlayers() - Method in class org.cb.jset.server.JSetRemoteGameImpl
 
getMaxNbPlayers() - Method in interface org.cb.jset.server.RemoteSetGame
 
getMaxSelectionIndex() - Method in interface org.cb.cardboard.BoardSelectionModel
 
getMaxSelectionIndex() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
getMaxSelectionIndex() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns the largest selected cell index.
getMinSelectionIndex() - Method in interface org.cb.cardboard.BoardSelectionModel
 
getMinSelectionIndex() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
getMinSelectionIndex() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns the smallest selected cell index.
getModel() - Method in class org.cb.jset.client.ui.JSetBoardComponent
 
getName() - Method in class org.cb.jset.JSetGameImpl
 
getName() - Method in interface org.cb.jset.SetGame
 
getName() - Method in interface org.cb.jset.SetGamePlayer
 
getName() - Method in class org.cb.jset.server.JSetRemoteGameImpl
 
getName() - Method in interface org.cb.jset.server.RemoteSetGame
 
getName() - Method in interface org.cb.jset.server.RemoteSetGamePlayer
 
getNbCards() - Method in class org.cb.jset.BoardImpl
 
getNbCards() - Method in class org.cb.jset.client.model.JSetClientBoardModel
 
getNbCards() - Method in interface org.cb.jset.client.model.SetGameClientBoard
 
getNumber() - Method in class org.cb.jset.CardProperties
 
getPlayerName() - Method in class org.cb.jset.client.LocalGame
 
getProperties() - Method in class org.cb.jset.JSetCard
 
getSelectedIndices() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns an array of all of the selected indices in increasing order.
getSelectedValues() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns an array of the values for the selected cells.
getSelectionMode() - Method in interface org.cb.cardboard.BoardSelectionModel
Returns the current selection mode.
getSelectionMode() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
getSelectionMode() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns whether single-item or multiple-item selections are allowed.
getSelectionModel() - Method in class org.cb.jset.client.ui.JSetBoardComponent
 
getShape() - Method in class org.cb.jset.CardProperties
 
getSize() - Method in interface org.cb.cardboard.CardBoardModel
Returns the number of cards on the board.
getSize() - Method in class org.cb.jset.client.model.JSetClientBoardModel
 
getTurnLength() - Method in class org.cb.jset.JSetGameImpl
 
getType() - Method in class org.cb.cardboard.CardBoardEvent
Returns the event _type.
getType() - Method in class org.cb.jset.client.GameEvent
 
getType() - Method in class org.cb.jset.client.model.CardEvent
 
getValueIsAdjusting() - Method in interface org.cb.cardboard.BoardSelectionModel
Returns true if the value is undergoing a series of changes.
getValueIsAdjusting() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 

H

hashCode() - Method in class org.cb.jset.CardProperties
 
hashCode() - Method in class org.cb.jset.JSetCard
 

I

INTERVAL_ADDED - Static variable in class org.cb.cardboard.CardBoardEvent
Identifies the addition of one or more contiguous items to the list.
INTERVAL_REMOVED - Static variable in class org.cb.cardboard.CardBoardEvent
Identifies the removal of one or more contiguous items from the list.
indexToLocation(JCardBoard, int) - Method in class org.cb.cardboard.CardBoardUI
Returns the origin of the specified item in JCardBoard coordinates, null if index isn't valid.
insertIndexInterval(int, int, boolean) - Method in interface org.cb.cardboard.BoardSelectionModel
Insert length indices beginning before/after index.
insertIndexInterval(int, int, boolean) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
intervalAdded(CardBoardEvent) - Method in interface org.cb.cardboard.CardBoardModelListener
Sent after the indices in the index0,index1 interval have been inserted in the data model.
intervalRemoved(CardBoardEvent) - Method in interface org.cb.cardboard.CardBoardModelListener
Sent after the indices in the index0,index1 interval have been removed from the data model.
isBlocked() - Method in interface org.cb.jset.SetGamePlayer
A blocked player doesn't have the right to play.
isBlocked() - Method in class org.cb.jset.client.LocalGame
 
isBlocked() - Method in interface org.cb.jset.server.RemoteSetGamePlayer
A blocked player doesn't have the right to play.
isClosed() - Method in class org.cb.jset.JSetGameImpl.GameConnectionImpl
 
isClosed() - Method in interface org.cb.jset.SetGameConnection
Say wether the game connection is closed or not.
isClosed() - Method in interface org.cb.jset.server.RemoteSetGameConnection
Say wether the game connection is closed or not.
isMatching() - Method in class org.cb.jset.CardSet
 
isSelected() - Method in class org.cb.jset.client.ui.JSetCardComponent
 
isSelectedIndex(int) - Method in interface org.cb.cardboard.BoardSelectionModel
 
isSelectedIndex(int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
isSelectedIndex(int) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns true if the specified index is selected.
isSelectionEmpty() - Method in interface org.cb.cardboard.BoardSelectionModel
 
isSelectionEmpty() - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
isSelectionEmpty() - Method in class org.cb.jset.client.ui.JSetBoardComponent
Returns true if nothing is selected.

J

JCardBoard - interface org.cb.cardboard.JCardBoard.
A tagging interface that graphical card board should implement.
JSetBoardComponent - class org.cb.jset.client.ui.JSetBoardComponent.
The component representing the set board in the graphical client.
JSetBoardComponent(CardBoardModel) - Constructor for class org.cb.jset.client.ui.JSetBoardComponent
Constructs a Board component using the specified dataModel.
JSetBoardComponent(Card[]) - Constructor for class org.cb.jset.client.ui.JSetBoardComponent
Constructs a JCardBoardComponent that displays the elements in the specified array.
JSetBuild - class org.cb.jset.JSetBuild.
Automatically generated.
JSetBuild() - Constructor for class org.cb.jset.JSetBuild
 
JSetCard - class org.cb.jset.JSetCard.
An implementation of a Card for the game.
JSetCard(CardProperties) - Constructor for class org.cb.jset.JSetCard
 
JSetCardComponent - class org.cb.jset.client.ui.JSetCardComponent.
The visual component representing a card on the board.
JSetCardComponent(JSetCard) - Constructor for class org.cb.jset.client.ui.JSetCardComponent
Constructs an instance of JSetCardComponent given the specified card.
JSetClientBoardModel - class org.cb.jset.client.model.JSetClientBoardModel.
A client BoardImpl is a special board that also keeps track of card layout, especially the empty spaces.
JSetClientBoardModel() - Constructor for class org.cb.jset.client.model.JSetClientBoardModel
 
JSetClientUI - class org.cb.jset.client.ui.JSetClientUI.
The main UI for the game.
JSetClientUI(String) - Constructor for class org.cb.jset.client.ui.JSetClientUI
Constructs an instance of JSetClientUI, given the specified title.
JSetGameImpl - class org.cb.jset.JSetGameImpl.
 
JSetGameImpl(String, int) - Constructor for class org.cb.jset.JSetGameImpl
 
JSetGameImpl.GameConnectionImpl - class org.cb.jset.JSetGameImpl.GameConnectionImpl.
A GameConnectionImpl instance acts as a broker between a Player and the Game Useful to keep track which player does what.
JSetGameImpl.GameConnectionImpl(SetGamePlayer) - Constructor for class org.cb.jset.JSetGameImpl.GameConnectionImpl
Creates a new instance of GameConnectionImpl
JSetGameServer - class org.cb.jset.server.JSetGameServer.
Provides accesses to RemoteSetGame implementations.
JSetGameServer() - Constructor for class org.cb.jset.server.JSetGameServer
Creates a new instance of JSetGameServer.
JSetLogo - class org.cb.jset.client.ui.JSetLogo.
A small class to help build a logo.
JSetLogo() - Constructor for class org.cb.jset.client.ui.JSetLogo
Constructs a JSetLogo instance.
JSetRemoteGameImpl - class org.cb.jset.server.JSetRemoteGameImpl.
An implementation of a remote Game.

L

LocalGame - class org.cb.jset.client.LocalGame.
A Game implementation to play localy.
LocalGame() - Constructor for class org.cb.jset.client.LocalGame
 
locationToIndex(JCardBoard, Point) - Method in class org.cb.cardboard.CardBoardUI
Convert a point in JCardBord coordinates to the closest index of the card at that location.

M

MULTIPLE_INTERVAL_SELECTION - Static variable in interface org.cb.cardboard.BoardSelectionModel
A value for the selectionMode property: select one or more contiguous ranges of indices at a time.
MatchingException - exception org.cb.jset.MatchingException.
Exception to symbolize when a set should be matching but is not.
MatchingException(String) - Constructor for class org.cb.jset.MatchingException
Constructs an instance of MatchingException with the specified detail message.
MatchingSetFinder - class org.cb.jset.MatchingSetFinder.
Helps to find sets of matching cards in a List of cards.
MatchingSetFinder() - Constructor for class org.cb.jset.MatchingSetFinder
 
main(String[]) - Static method in class org.cb.jset.CardSet
 
main(String[]) - Static method in class org.cb.jset.client.Client
 
main(String[]) - Static method in class org.cb.jset.client.ui.JSetClientUI
 
main(String[]) - Static method in class org.cb.jset.client.ui.JSetLogo
Start and show the logo.
main(String[]) - Static method in class org.cb.jset.server.JSetGameServer
Starts a JSetGameServer.
matchSet(CardSet) - Method in class org.cb.jset.BoardImpl
Tries to match the specified set on this board.
matchSet(CardSet) - Method in class org.cb.jset.JSetGameImpl.GameConnectionImpl
 
matchSet(CardSet) - Method in interface org.cb.jset.SetGameConnection
Used by a registered player to try to match a set of cards.
matchSet(CardSet) - Method in interface org.cb.jset.server.RemoteSetGameConnection
Used by a registered player to try to match a set of set.

N

NetworkGame - class org.cb.jset.client.NetworkGame.
FIXME document
NetworkGame(String) - Constructor for class org.cb.jset.client.NetworkGame
 
name() - Method in class org.cb.jset.client.SmartAutoPlayer
 
notifyCardEvent(CardEvent) - Method in interface org.cb.jset.client.model.SetGameClientCardListener
Notify that the following event has been sent.

O

org.cb.cardboard - package org.cb.cardboard
A package containing (supposedly) generic classes and interfaces for cardboard games implementations.
org.cb.jset - package org.cb.jset
Classes part of the core of the implementation, used by both the client and the server packages..
org.cb.jset.client - package org.cb.jset.client
The classes making the JSet client.
org.cb.jset.client.model - package org.cb.jset.client.model
The model of the JSet client.
org.cb.jset.client.ui - package org.cb.jset.client.ui
The UI of the JSet client.
org.cb.jset.server - package org.cb.jset.server
The server part of the JSet game.
org.cb.util - package org.cb.util
Util classes and interfaces.

P

paintComponent(Graphics) - Method in class org.cb.jset.client.ui.JSetCardComponent
Paint this card component given the specified graphics.
pop(int) - Method in class org.cb.jset.CardStack
 

R

RemoteSetGame - interface org.cb.jset.server.RemoteSetGame.
Remote interface to the GameServer.
RemoteSetGameBoardListener - interface org.cb.jset.server.RemoteSetGameBoardListener.
Interface that remote Board listeners must implement.
RemoteSetGameConnection - interface org.cb.jset.server.RemoteSetGameConnection.
An interface for Remote SetGameConnection.
RemoteSetGamePlayer - interface org.cb.jset.server.RemoteSetGamePlayer.
Interface for the clients to play remotely a jset game.
RemoteSetGameServer - interface org.cb.jset.server.RemoteSetGameServer.
A Remote server that references the different RemoteSetGame available.
removeBoardDataListener(CardBoardModelListener) - Method in class org.cb.cardboard.AbstractCardBoardModel
Removes the specified listener to the instance's listener's list.
removeBoardDataListener(CardBoardModelListener) - Method in interface org.cb.cardboard.CardBoardModel
Removes a listener from the list that's notified each time a change to the data model occurs.
removeBoardListener(SetGameBoardListener) - Method in class org.cb.jset.BoardImpl
Removes a listener from this board.
removeBoardListener(SetGameBoardListener) - Method in class org.cb.jset.client.AbstractGame
 
removeBoardListener(SetGameBoardListener) - Method in interface org.cb.jset.client.SetGame
 
removeBoardSelectionListener(BoardSelectionListener) - Method in interface org.cb.cardboard.BoardSelectionModel
Remove a listener from the list that's notified each time a change to the selection occurs.
removeBoardSelectionListener(BoardSelectionListener) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
removeBoardSelectionListener(BoardSelectionListener) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Removes a listener from the list that's notified each time a change to the selection occurs.
removeGameListener(SetGameListener) - Method in class org.cb.jset.client.AbstractGame
 
removeGameListener(SetGameListener) - Method in interface org.cb.jset.client.SetGame
 
removeIndexInterval(int, int) - Method in interface org.cb.cardboard.BoardSelectionModel
Remove the indices in the interval index0,index1 (inclusive) from the selection model.
removeIndexInterval(int, int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
removeSelectionInterval(int, int) - Method in interface org.cb.cardboard.BoardSelectionModel
Change the selection to be the set difference of the current selection and the indices between index0 and index1 inclusive.
removeSelectionInterval(int, int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
removeSelectionInterval(int, int) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Sets the selection to be the set difference of the specified interval and the current selection.
removeSet(CardSet) - Method in class org.cb.jset.client.LocalGame
 
removeSet(CardSet) - Method in class org.cb.jset.client.NetworkGame
 
removeSet(CardSet) - Method in interface org.cb.jset.client.SetGame
 
removeSet(CardSet) - Method in class org.cb.jset.client.model.JSetClientBoardModel
Remove the specified matching set from the board.
removeSet(CardSet) - Method in interface org.cb.jset.client.model.SetGameClientBoard
Remove the specified matching set from the board.
run() - Method in class org.cb.jset.JSetGameImpl.GameConnectionImpl
 

S

SELECTED - Static variable in class org.cb.jset.client.model.CardEvent
the type of a selection event.
SHAPE_ODD - Static variable in class org.cb.jset.CardProperties
 
SHAPE_OVALE - Static variable in class org.cb.jset.CardProperties
 
SHAPE_RECTANGLE - Static variable in class org.cb.jset.CardProperties
 
SINGLE_INTERVAL_SELECTION - Static variable in interface org.cb.cardboard.BoardSelectionModel
A value for the selectionMode property: select one contiguous range of indices at a time.
SINGLE_SELECTION - Static variable in interface org.cb.cardboard.BoardSelectionModel
A value for the selectionMode property: select one list index at a time.
START - Static variable in class org.cb.jset.client.GameEvent
Used to identify game starts.
SetGame - interface org.cb.jset.SetGame.
Interface to the game.
SetGame - interface org.cb.jset.client.SetGame.
Interface to a game seen from a client.
SetGameBoardListener - interface org.cb.jset.SetGameBoardListener.
Interface that Board listeners must implement.
SetGameClientBoard - interface org.cb.jset.client.model.SetGameClientBoard.
Interface that SetGameClientBoard implementations must inherit from.
SetGameClientCardListener - interface org.cb.jset.client.model.SetGameClientCardListener.
Interface that card listeners must implement.
SetGameConnection - interface org.cb.jset.SetGameConnection.
An interface for a game connection.
SetGameListener - interface org.cb.jset.client.SetGameListener.
Interface that game listeners must implement.
SetGamePlayer - interface org.cb.jset.SetGamePlayer.
Interface that players of a game must implement.
SmartAutoPlayer - class org.cb.jset.client.SmartAutoPlayer.
A player that finds sets automatically.
SmartAutoPlayer(String) - Constructor for class org.cb.jset.client.SmartAutoPlayer
Creates a new instance with the specified player playerName.
setAnchorSelectionIndex(int) - Method in interface org.cb.cardboard.BoardSelectionModel
Set the anchor selection index.
setAnchorSelectionIndex(int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
setLeadSelectionIndex(int) - Method in interface org.cb.cardboard.BoardSelectionModel
Set the lead selection index.
setLeadSelectionIndex(int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
setModel(CardBoardModel) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Sets a new model for that board.
setRemoteGame(RemoteSetGame) - Method in class org.cb.jset.client.NetworkGame
 
setRemoved(CardSet) - Method in interface org.cb.jset.SetGameBoardListener
Called to notify that the specified set was removed from the board.
setRemoved(CardSet) - Method in interface org.cb.jset.server.RemoteSetGameBoardListener
Called to notify that the specified set was removed from the board.
setSelectedIndex(int) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Selects a single cell.
setSelectedIndices(int[]) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Selects a set of cells.
setSelection(boolean) - Method in class org.cb.jset.client.ui.JSetCardComponent
Set the new internal selection status for the card.
setSelectionInterval(int, int) - Method in interface org.cb.cardboard.BoardSelectionModel
Change the selection to be between index0 and index1 inclusive.
setSelectionInterval(int, int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
setSelectionInterval(int, int) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Selects the specified interval.
setSelectionMode(int) - Method in interface org.cb.cardboard.BoardSelectionModel
Set the selection mode.
setSelectionMode(int) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
setSelectionMode(int) - Method in class org.cb.jset.client.ui.JSetBoardComponent
Determines whether single-item or multiple-item selections are allowed.
setTurnLength(int) - Method in class org.cb.jset.JSetGameImpl
 
setValueIsAdjusting(boolean) - Method in interface org.cb.cardboard.BoardSelectionModel
This property is true if upcoming changes to the value of the model should be considered a single event.
setValueIsAdjusting(boolean) - Method in class org.cb.cardboard.DefaultBoardSelectionModel
 
setWasDisconnected(boolean) - Method in class org.cb.jset.client.NetworkGame
 
shuffle() - Method in class org.cb.jset.CardStack
 
size() - Method in class org.cb.jset.CardStack
 
start() - Method in class org.cb.jset.JSetGameImpl
 
start() - Method in interface org.cb.jset.SetGame
 
start() - Method in class org.cb.jset.client.LocalGame
 
start() - Method in class org.cb.jset.client.NetworkGame
 
start() - Method in interface org.cb.jset.client.SetGame
 
stop() - Method in class org.cb.jset.client.LocalGame
 
stop() - Method in class org.cb.jset.client.NetworkGame
 
stop() - Method in interface org.cb.jset.client.SetGame
 

T

terminate() - Method in class org.cb.jset.JSetGameImpl
 
toString() - Method in class org.cb.cardboard.CardBoardEvent.IndexInterval
Returns a string representation of this IndexInterval.
toString() - Method in class org.cb.cardboard.CardBoardEvent.IndexList
Returns a string representation of this IndexInterval.
toString() - Method in class org.cb.cardboard.CardBoardEvent
Returns a string representation of this CardBoardEvent.
toString() - Method in class org.cb.jset.CardProperties
 
toString(CardProperties[]) - Static method in class org.cb.jset.CardProperties
A helper function that generates a String representation for the specified array of CardProperties.
toString(List) - Static method in class org.cb.jset.CardProperties
A helper function that generates a String representation for the specified list of CardProperties.
toString() - Method in class org.cb.jset.CardSet
 
toString() - Method in class org.cb.jset.JSetCard
 

U

unblock() - Method in interface org.cb.jset.SetGamePlayer
Called by a game when the player should be unblocked.
unblock() - Method in interface org.cb.jset.server.RemoteSetGamePlayer
Called by a game when the player should be unblocked.
updateBorder() - Method in class org.cb.jset.client.ui.JSetCardComponent
Update the border depending on the internal selection status.

V

VERSION - Static variable in class org.cb.jset.JSetBuild
 
valueChanged(BoardSelectionEvent) - Method in interface org.cb.cardboard.BoardSelectionListener
Called whenever the value of the selection changes.

W

wasDisconnected() - Method in class org.cb.jset.client.NetworkGame
 

_

_listenerList - Variable in class org.cb.jset.client.AbstractGame
 

A B C D E F G H I J L M N O P R S T U V W _

Copyright © 2004 CoffeeBreaks. All Rights Reserved.