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

A

AbsConstr - Class in jagafa.util.view
An that encapsulates position and (optionally) size for Absolute positioning of components.
AbsConstr(Point) - Constructor for class jagafa.util.view.AbsConstr
Creates a new AbsoluteConstraints for specified position.
AbsConstr(int, int) - Constructor for class jagafa.util.view.AbsConstr
Creates a new AbsoluteConstraints for specified position.
AbsConstr(Point, Dimension) - Constructor for class jagafa.util.view.AbsConstr
Creates a new AbsoluteConstraints for specified position and size.
AbsConstr(int, int, int, int) - Constructor for class jagafa.util.view.AbsConstr
Creates a new AbsoluteConstraints for specified position and size.
AbsoluteLayout - Class in jagafa.util.view
AbsoluteLayout is a LayoutManager that works as a replacement for "null" layout to allow placement of components in absolute positions.
AbsoluteLayout() - Constructor for class jagafa.util.view.AbsoluteLayout
 
AbstractScoreTable - Class in jagafa.scores
 
AbstractScoreTable() - Constructor for class jagafa.scores.AbstractScoreTable
 
actionPerformed(ActionEvent) - Method in class jagafa.GameController
 
actionPerformed(ActionEvent) - Method in class jagafa.util.dump.DumpPanel
 
actionPerformed(ActionEvent) - Method in class jagafa.util.view.TimedDialog
 
actionPerformed(ActionEvent) - Method in class jagafa.view.FullScreenWindow
 
actionPerformed(ActionEvent) - Method in class jagafa.view.HandPanel
Called when a cardButton has been pressed
actionPerformed(ActionEvent) - Method in class jagafa.view.newui.JassRoundPanel
 
actionPerformed(ActionEvent) - Method in class jagafa.view.newui.RoundController2
Called by the top-level UI's cardPressed() method
actionPerformed(ActionEvent) - Method in class jagafa.view.newui.RuleChoicePanel
 
activateRule(RuleSet) - Method in class jagafa.scores.AbstractScoreTable
 
activateRule(RuleSet) - Method in interface jagafa.scores.ScoreTable
Activate a RuleSet.
activeBoard() - Method in class jagafa.JassRoundCore
Returns the active Board
activePlayer() - Method in class jagafa.JassRoundCore
Returns the active Player
activePlayerNr() - Method in class jagafa.JassRoundCore
Returns the active Players' id
add(Card) - Method in class jagafa.object.CardList
Add a card to the CardList
add(Component, int) - Method in class jagafa.util.view.GridPanel
Override super methods for safety reasons
add(Component, Object, int) - Method in class jagafa.util.view.GridPanel
 
add(Component, Object) - Method in class jagafa.util.view.GridPanel
 
add(Component) - Method in class jagafa.util.view.GridPanel
 
add(String, Component) - Method in class jagafa.util.view.GridPanel
 
addAll(CardList) - Method in class jagafa.object.CardList
Adds all Card from the CardList given to the CardList
addCard(Card, Player) - Method in class jagafa.object.Board
Adds a Card to the Board
addCardListener(ActionListener) - Method in class jagafa.view.newui.JassRoundPanel
 
addComponent(JComponent) - Method in class jagafa.util.view.RowPanel
Adds a component to the next free column in the row
addHandListener(ActionListener) - Method in class jagafa.view.HandPanel
Add Listeners to all Cards in the Hand
addLayoutComponent(String, Component) - Method in class jagafa.util.view.AbsoluteLayout
Adds the specified component with the specified name to the layout.
addLayoutComponent(Component, Object) - Method in class jagafa.util.view.AbsoluteLayout
Adds the specified component to the layout, using the specified constraint object.
addPlayer(Player) - Method in class jagafa.JassRoundCore
 
addRow(int) - Method in class jagafa.util.view.GridPanel
Add a new row with n columns
addRow() - Method in class jagafa.util.view.GridPanel
Add a row with a single column
addRow(RowPanel) - Method in class jagafa.util.view.GridPanel
Add the RowPanel specified
addScore(int) - Method in class jagafa.object.Player
Zählt points zum aktuellen Punktestand dazu
addScores(int[], RuleSet) - Method in class jagafa.scores.AbstractScoreTable
 
addScores(int[], RuleSet) - Method in class jagafa.scores.CoiffeurScoreTable
Deprecated.  
addScores(int[], RuleSet) - Method in class jagafa.scores.SchieberScoreTable
 
addScores(int[], RuleSet) - Method in interface jagafa.scores.ScoreTable
Add scores achieved with a specific RuleSet to the table.
addTurn(Board, Player) - Method in class jagafa.object.GoneCardHeap
Adds the turn to the GoneCardHeap
AI_THROWCOLOR_MULTIPLICATOR - Static variable in class jagafa.flags.AIFlags
 
AIFlags - Class in jagafa.flags
 
AIFlags() - Constructor for class jagafa.flags.AIFlags
 
aiStrategyDump_ - Static variable in class jagafa.flags.TestingFlags
 
AITest - Class in jagafa.ai
 
AITest() - Constructor for class jagafa.ai.AITest
 
aiTimer_ - Variable in class jagafa.JassRoundCore
 
automatedTest_ - Static variable in class jagafa.flags.TestingFlags
 

B

Board - Class in jagafa.object
The Board object holds alls the cards played including the information which Player played which Card (Is also a CardList)
Board() - Constructor for class jagafa.object.Board
Constructor: Init the board and init playerList
Board(Board) - Constructor for class jagafa.object.Board
Copy Constructor: Init the board and init playerList
BoardPanel - Class in jagafa.view
A Panel with four CardButton objects that represent the current active Board
BoardPanel() - Constructor for class jagafa.view.BoardPanel
Constructor: Set Layout and init CardButtons

C

canChangeChoosingPlayer() - Method in class jagafa.scores.AbstractScoreTable
 
canChangeChoosingPlayer() - Method in interface jagafa.scores.ScoreTable
 
Card - Class in jagafa.object
Klasse Card: Enthält eine Karte mit Farbe und Kartenwert
Card(int, int) - Constructor for class jagafa.object.Card
Erstellt ein neues Kartenobjekt
CARD_HEIGHT - Static variable in class jagafa.flags.TestingFlags
 
CARD_OVERLAP - Static variable in class jagafa.flags.TestingFlags
 
CARD_RATIO - Static variable in class jagafa.flags.TestingFlags
 
CardButton - Class in jagafa.view
A JButton with a Card image
CardButton(String, int) - Constructor for class jagafa.view.CardButton
Constructor: Create a new CardButton with the Card specified (as a string) and the card orientation (HORIZONTAL or VERTICAL)
CardList - Class in jagafa.object
Object to store a list of Card Objects Attention: Does not implement java.util.List
CardList() - Constructor for class jagafa.object.CardList
Constructor: Init the list
CardNames - Class in jagafa.naming
CardNames is a utility class for constructing user-friendly readable string-representations of cards
CardNames() - Constructor for class jagafa.naming.CardNames
 
cardsPlayed() - Method in class jagafa.object.Board
Get the number of cards on the board
CardTool - Class in jagafa.stats
CardTool contains some helper Methods to deal with cards and CardLists
CardTool() - Constructor for class jagafa.stats.CardTool
 
CHANGE_TRESHOLD - Static variable in class jagafa.flags.AIFlags
 
changeChoosingPlayer() - Method in class jagafa.scores.AbstractScoreTable
Does nothing by default
changeChoosingPlayer() - Method in class jagafa.scores.CoiffeurScoreTable
Deprecated.  
changeChoosingPlayer() - Method in class jagafa.scores.SchieberScoreTable
Schieben, falls noch möglich
changeChoosingPlayer() - Method in interface jagafa.scores.ScoreTable
Change internally the player which can choose the RuleSet.
chooseRuleSet() - Method in class jagafa.ai.CoreAI
 
chooseRuleSet() - Method in interface jagafa.ai.JassAI
Choose a RuleSet out of the available Sets of a given scoreTable
chooseRuleSet() - Method in class jagafa.ai.ProbabilityAI
 
chooseRuleSet(Player, JassRound) - Static method in class jagafa.ai.RuleSetChoiceAI
 
chooseRuleSet() - Method in class jagafa.ai.SimpleAI
 
choosingPlayer_ - Variable in class jagafa.scores.AbstractScoreTable
 
clear() - Method in class jagafa.object.CardList
Clear the CardList
clear() - Static method in class jagafa.util.dump.Dump
 
clear() - Method in class jagafa.util.dump.DumpPanel
 
clearBoard() - Method in class jagafa.object.Board
Clear the Board
CoiffeurRules - Class in jagafa.rule
 
CoiffeurRules() - Constructor for class jagafa.rule.CoiffeurRules
 
CoiffeurScoreTable - Class in jagafa.scores
Deprecated.  
CoiffeurScoreTable(int) - Constructor for class jagafa.scores.CoiffeurScoreTable
Deprecated.  
columnCount() - Method in class jagafa.util.view.RowPanel
Get the number of columns in the row
compareHigher(Card, Board) - Method in class jagafa.rule.CoiffeurRules
 
compareHigher(Card, Board) - Method in class jagafa.rule.KijRules
 
compareHigher(Card, Board) - Method in class jagafa.rule.ObenRules
 
compareHigher(Card, Board) - Method in interface jagafa.rule.RuleSet
Check wether a card beats all the cards on a board given
compareHigher(Card, Board) - Method in class jagafa.rule.SlalomObenStartRules
 
compareHigher(Card, Board) - Method in class jagafa.rule.TrumpfRules
 
compareHigher(Card, Board) - Method in class jagafa.rule.UntenRules
 
computeCard() - Method in class jagafa.ai.CoreAI
 
computeCard() - Method in interface jagafa.ai.JassAI
Compute a card to be played by the player
computeCard() - Method in class jagafa.ai.ProbabilityAI
 
computeCard() - Method in class jagafa.ai.SimpleAI
 
constraints - Variable in class jagafa.util.view.AbsoluteLayout
A mapping
contains(Card) - Method in class jagafa.object.CardList
Checks wether the CardList contains the Card given
copy() - Method in class jagafa.object.Card
Get a exact copy of the card
CoreAI - Class in jagafa.ai
AI - Yet only for Oben-, Unten- and Coiffeur-RuleSet Uses the ProbabilityTable for the Throw/Bring strategy only TODO: Extend probability table usage to other strategys
CoreAI() - Constructor for class jagafa.ai.CoreAI
 
countColorCards(int) - Method in class jagafa.stats.PlayerStats
 
create() - Method in class jagafa.view.newui.SimpleSTPanel
 

D

deactivateRule(RuleSet) - Method in class jagafa.scores.AbstractScoreTable
 
deactivateRule(RuleSet) - Method in interface jagafa.scores.ScoreTable
Deactivate a RuleSet.
displayMessage(String, JComponent) - Static method in class jagafa.util.dump.Dump
 
distributeCardsTo(List<Player>) - Static method in class jagafa.object.Distributor
Distrubute the Cards to the Players in the List given
Distributor - Class in jagafa.object
Distrubutor shuffles the cards and distributes them to a list of Players Abstract helper class (cannot be instantiated)
Distributor() - Constructor for class jagafa.object.Distributor
 
doComputer() - Method in class jagafa.JassRound
Do all computer movements
Dump - Class in jagafa.util.dump
 
Dump() - Constructor for class jagafa.util.dump.Dump
 
dump(String) - Method in class jagafa.util.dump.DumpPanel
 
DumpPanel - Class in jagafa.util.dump
 
DumpPanel() - Constructor for class jagafa.util.dump.DumpPanel
 

E

EColorNames - Enum in jagafa.naming
EColorNames holds the card color names
EMPTY_IMAGE - Static variable in class jagafa.flags.TestingFlags
 
equals(Card) - Method in class jagafa.object.Card
 
equals(Object) - Method in class jagafa.object.Player
 
estimateScore(RuleSet) - Static method in class jagafa.ai.RuleSetChoiceAI
 
ESwissColorNames - Enum in jagafa.naming
EColorNames holds the card color names
ESwissValueNames - Enum in jagafa.naming
EValueNames holds the cards value names
EValueNames - Enum in jagafa.naming
EValueNames holds the cards value names

F

FAST_AI_DELAY - Static variable in class jagafa.flags.TestingFlags
 
FAST_UI_REFRESH_DELAY - Static variable in class jagafa.flags.TestingFlags
 
FullScreenWindow - Class in jagafa.view
 
FullScreenWindow() - Constructor for class jagafa.view.FullScreenWindow
 

G

Game - Class in jagafa
 
Game() - Constructor for class jagafa.Game
 
GameController - Class in jagafa
GameController skeleton
GameController() - Constructor for class jagafa.GameController
 
get(int) - Method in class jagafa.object.CardList
Get a card out of the CardList at a position specified
getAI() - Method in class jagafa.object.Player
Get the players AI instance
getAllOfColor(CardList, int) - Static method in class jagafa.stats.CardTool
Get all Cards in the CardList with the color given
getBoard(int) - Method in class jagafa.object.GoneCardHeap
 
getBoardPanel() - Method in class jagafa.view.newui.JassRoundPanel
Returns the BoardPanel object
getBockList() - Method in class jagafa.stats.PlayerStats
 
getCardProb(Player, Card) - Method in class jagafa.ai.ProbabilityTable
Get the probability of a Player having a specific card
getChoosingPlayer() - Method in class jagafa.scores.CoiffeurScoreTable
Deprecated.  
getChoosingPlayer() - Method in class jagafa.scores.SchieberScoreTable
 
getChoosingPlayer() - Method in interface jagafa.scores.ScoreTable
Get the player which can choose the ruleSet for the next round
getColor() - Method in class jagafa.object.Card
Get the color of the card
getColorList() - Method in class jagafa.stats.PlayerStats
 
getColorProb(Player, int) - Method in class jagafa.ai.ProbabilityTable
Get the probability of a Player having cards of a specific color
getColorRank(Card, Board) - Method in class jagafa.rule.CoiffeurRules
 
getColorRank(Card, Board) - Method in class jagafa.rule.KijRules
 
getColorRank(Card, Board) - Method in class jagafa.rule.ObenRules
 
getColorRank(Card, Board) - Method in interface jagafa.rule.RuleSet
Liefert den internen Wert der Farbe der Karte bei gegebenem Board
getColorRank(Card, Board) - Method in class jagafa.rule.SlalomObenStartRules
 
getColorRank(Card, Board) - Method in class jagafa.rule.TrumpfRules
 
getColorRank(Card, Board) - Method in class jagafa.rule.UntenRules
 
getComponent(int) - Method in class jagafa.util.view.GridPanel
Returns the component at the n-th row
getComponent(int) - Method in class jagafa.util.view.RowPanel
Get the component at the n-th column of the row
getComponentCount() - Method in class jagafa.util.view.GridPanel
 
getComponents() - Method in class jagafa.util.view.GridPanel
 
getDumpPanel() - Static method in class jagafa.util.dump.Dump
 
getFirstCard() - Method in class jagafa.object.Board
Get the first card played
getFirstColor() - Method in class jagafa.object.Board
Get the color of the first card played
getGoneHeap() - Method in class jagafa.JassRoundCore
Returns the Gone Card Heap
getGoneList() - Method in class jagafa.stats.RoundStats
 
getGoneOfColor(int) - Method in class jagafa.object.CardList
Dummy method: Used in GoneCardHeap only
getGoneOfColor(int) - Method in class jagafa.object.GoneCardHeap
 
getHand() - Method in class jagafa.object.Player
Get the players hand object
getHeight() - Method in class jagafa.util.view.AbsConstr
 
getHigherCard(Card, Card) - Method in class jagafa.rule.CoiffeurRules
 
getHigherCard(Card, Card) - Method in class jagafa.rule.KijRules
 
getHigherCard(Card, Card) - Method in class jagafa.rule.ObenRules
 
getHigherCard(Card, Card) - Method in interface jagafa.rule.RuleSet
Gibt die bessere der beiden Karten zurück
getHigherCard(Card, Card) - Method in class jagafa.rule.SlalomObenStartRules
 
getHigherCard(Card, Card) - Method in class jagafa.rule.TrumpfRules
 
getHigherCard(Card, Card) - Method in class jagafa.rule.UntenRules
 
getID() - Method in class jagafa.object.Player
 
getLastTurnWinner() - Method in class jagafa.JassRoundCore
Returns the Player which was the winner of the previous turn
getLayoutAlignmentX(Container) - Method in class jagafa.util.view.AbsoluteLayout
Returns the alignment along the x axis.
getLayoutAlignmentY(Container) - Method in class jagafa.util.view.AbsoluteLayout
Returns the alignment along the y axis.
getMultiplier(RuleSet) - Method in class jagafa.scores.CoiffeurScoreTable
Deprecated.  
getMultiplier(RuleSet) - Method in class jagafa.scores.SchieberScoreTable
 
getMultiplier(RuleSet) - Method in interface jagafa.scores.ScoreTable
Returns the multiplier of an activated RuleSet.
getName(Card) - Static method in class jagafa.naming.CardNames
Get a user-friendly name of the card
getName(int) - Static method in enum jagafa.naming.EColorNames
 
getName(int) - Static method in enum jagafa.naming.ESwissColorNames
 
getName(int) - Static method in enum jagafa.naming.ESwissValueNames
 
getName(int) - Static method in enum jagafa.naming.EValueNames
 
getName() - Method in class jagafa.object.Player
Get the player name
getName() - Method in class jagafa.rule.CoiffeurRules
 
getName() - Method in class jagafa.rule.KijRules
 
getName() - Method in class jagafa.rule.ObenRules
 
getName() - Method in interface jagafa.rule.RuleSet
Liefert den Namen des RuleSet
getName() - Method in class jagafa.rule.SlalomObenStartRules
 
getName() - Method in class jagafa.rule.TrumpfRules
 
getName() - Method in class jagafa.rule.UntenRules
 
getNameList() - Method in class jagafa.util.InsertSort
 
getOpponents(Player) - Method in class jagafa.JassRoundCore
Returns the opponents of the Player p
getPartner(Player) - Method in class jagafa.JassRoundCore
Returns the Partner of Player pl
getPlayedCard(Player, Board) - Method in class jagafa.object.GoneCardHeap
Get the card a specific Player played on a specific Board
getPlayer(int) - Method in class jagafa.JassRoundCore
Returns the player with the id given
getPlayer() - Method in class jagafa.stats.PlayerStats
 
getPlayerNr(Player) - Method in class jagafa.JassRoundCore
Returns an id for the player p
getPlayerOfPos(int) - Method in class jagafa.object.Board
Get the Player who played the n-th card
getPower(Card, Board) - Method in class jagafa.rule.CoiffeurRules
 
getPower(Card, Board) - Method in class jagafa.rule.KijRules
 
getPower(Card, Board) - Method in class jagafa.rule.ObenRules
 
getPower(Card, Board) - Method in interface jagafa.rule.RuleSet
Liefert den Wert der Karte relativ zum liegenden Board
getPower(Card, Board) - Method in class jagafa.rule.SlalomObenStartRules
 
getPower(Card, Board) - Method in class jagafa.rule.TrumpfRules
 
getPower(Card, Board) - Method in class jagafa.rule.UntenRules
 
getRound() - Method in class jagafa.view.newui.RoundController2
Get the round instance of the controller
getRoundPanel() - Method in class jagafa.view.newui.RoundController2
Get the rounds UI panel
getRuleChoicePanel() - Method in class jagafa.view.newui.RoundController2
Get the RuleChoice panel
getRules() - Method in class jagafa.JassRoundCore
Returns the RuleSet
getRules() - Method in class jagafa.scores.AbstractScoreTable
 
getRules() - Method in interface jagafa.scores.ScoreTable
Get a list of all activated RuleSets
getScore(Board) - Method in class jagafa.JassRoundCore
Counts the score on a board
getScore() - Method in class jagafa.object.Player
Get the players score
getScore(Card) - Method in class jagafa.rule.CoiffeurRules
 
getScore(Card) - Method in class jagafa.rule.KijRules
 
getScore(Card) - Method in class jagafa.rule.ObenRules
 
getScore(Card) - Method in interface jagafa.rule.RuleSet
Liefert den Punktewert der Karte
getScore(Card) - Method in class jagafa.rule.SlalomObenStartRules
 
getScore(Card) - Method in class jagafa.rule.TrumpfRules
 
getScore(Card) - Method in class jagafa.rule.UntenRules
 
getScores() - Method in class jagafa.scores.AbstractScoreTable
 
getScores() - Method in interface jagafa.scores.ScoreTable
Get all the players scores from all the rounds played
getScoreTable() - Method in class jagafa.JassRoundCore
Get the score table
getScoreTeam1() - Method in class jagafa.stats.RoundStats
 
getScoreTeam2() - Method in class jagafa.stats.RoundStats
 
getStartPlayer() - Method in class jagafa.scores.AbstractScoreTable
 
getStartPlayer() - Method in class jagafa.scores.SchieberScoreTable
 
getStartPlayer() - Method in interface jagafa.scores.ScoreTable
Get the player which can start the next round
getStatsPanel() - Method in class jagafa.view.newui.RoundController2
Get the stats panel
getSTPanel() - Method in class jagafa.view.newui.RoundController2
 
getTrumpfList() - Method in class jagafa.stats.PlayerStats
 
getValidCards(Hand, Board, RuleSet) - Static method in class jagafa.stats.CardTool
Get all Valid Cards out of the Hand for the board with the Ruleset specified
getValidList() - Method in class jagafa.stats.PlayerStats
 
getValue() - Method in class jagafa.object.Card
Get the value of the card
getValueRank(Card, Board) - Method in class jagafa.rule.CoiffeurRules
 
getValueRank(Card, Board) - Method in class jagafa.rule.KijRules
 
getValueRank(Card, Board) - Method in class jagafa.rule.ObenRules
 
getValueRank(Card, Board) - Method in interface jagafa.rule.RuleSet
Liefert den internen Wert des Wertes der Karte bei gegebenem Board
getValueRank(Card, Board) - Method in class jagafa.rule.SlalomObenStartRules
 
getValueRank(Card, Board) - Method in class jagafa.rule.TrumpfRules
 
getValueRank(Card, Board) - Method in class jagafa.rule.UntenRules
 
getView() - Method in class jagafa.stats.PlayerStats
 
getView() - Method in class jagafa.stats.RoundStats
 
getView() - Method in class jagafa.view.newui.RoundStatsPanel
 
getWidth() - Method in class jagafa.util.view.AbsConstr
 
getWinner(Board) - Method in class jagafa.JassRoundCore
Returns the winning Player of the board given
getWinner(int) - Method in class jagafa.object.GoneCardHeap
 
getWinningScore() - Method in class jagafa.scores.CoiffeurScoreTable
Deprecated.  
getWinningScore() - Method in class jagafa.scores.SchieberScoreTable
 
getWinningScore() - Method in interface jagafa.scores.ScoreTable
 
getX() - Method in class jagafa.util.view.AbsConstr
 
getY() - Method in class jagafa.util.view.AbsConstr
 
GoneCardHeap - Class in jagafa.object
GoneCardHeap is a CardList which holds all Cards that have been played during a Game, including the winners of every turn
GoneCardHeap() - Constructor for class jagafa.object.GoneCardHeap
Constructor: Init the winner and board Lists
GRADE_WEIGHT - Static variable in class jagafa.flags.AIFlags
 
gradeRuleSet(RuleSet) - Static method in class jagafa.ai.RuleSetChoiceAI
 
GridPanel - Class in jagafa.util.view
 
GridPanel() - Constructor for class jagafa.util.view.GridPanel
 

H

Hand - Class in jagafa.object
Hand is a CardList holding all the Cards in a Players hand
Hand() - Constructor for class jagafa.object.Hand
Constructor: Create a new Hand
Hand(CardList) - Constructor for class jagafa.object.Hand
Constructor: Init the Hand with the Cards in the CardList
HandPanel - Class in jagafa.view
HandPanel is a Panel holding the CardButtons of a Players Hand
HandPanel(int, int) - Constructor for class jagafa.view.HandPanel
Constructor: Create a new HandPanel with the orientation given orientation = HORIZONTAL or VERTICAL
hashCode() - Method in class jagafa.object.Card
 
hashCode() - Method in class jagafa.object.Player
 
hashCode() - Method in class jagafa.rule.CoiffeurRules
 
hashCode() - Method in class jagafa.rule.KijRules
 
hashCode() - Method in class jagafa.rule.ObenRules
 
hashCode() - Method in class jagafa.rule.SlalomObenStartRules
 
hashCode() - Method in class jagafa.rule.TrumpfRules
 
hashCode() - Method in class jagafa.rule.UntenRules
 
hasPlayedColorIn(Player, Board) - Method in class jagafa.object.GoneCardHeap
 
Heap<T> - Class in jagafa.util
 
Heap() - Constructor for class jagafa.util.Heap
 
height - Variable in class jagafa.util.view.AbsConstr
The height of the component or -1 if the component's preferred height should be used
hideHand(int) - Method in class jagafa.view.newui.JassRoundPanel
 
HORIZONTAL - Static variable in class jagafa.view.HandPanel
 

I

IMAGE_EXTENSION - Static variable in class jagafa.flags.TestingFlags
 
init(Player, JassRound) - Method in class jagafa.ai.CoreAI
 
init(Player, JassRound) - Method in interface jagafa.ai.JassAI
Initializes the AI with the Player and the Game object
init(Player, JassRound) - Method in class jagafa.ai.ProbabilityAI
 
init(Player, JassRound) - Method in class jagafa.ai.SimpleAI
 
initPlayers() - Method in class jagafa.JassRound
Initialize all the players TODO: initPlayers() should be externalized or at least parameterized
initPlayers() - Method in class jagafa.JassRoundCore
 
insert(int, T) - Method in class jagafa.util.Heap
 
insertFirst(T) - Method in class jagafa.util.Heap
 
insertLast(T) - Method in class jagafa.util.Heap
 
InsertSort<VAL_TYPE,NAME_TYPE> - Class in jagafa.util
Sorts a list in descending order (highest first).
InsertSort(List<VAL_TYPE>, List<NAME_TYPE>) - Constructor for class jagafa.util.InsertSort
 
invalidateLayout(Container) - Method in class jagafa.util.view.AbsoluteLayout
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
isBock(int, Card, CardList, RuleSet) - Static method in class jagafa.stats.CardTool
Check wether the card is a Bock of level n or not
isComputer() - Method in class jagafa.object.Player
Checks wether the player is AI-driven or not
isEmpty() - Method in class jagafa.object.CardList
Checks wether the CardList is empty or not
isGameOver() - Method in class jagafa.scores.CoiffeurScoreTable
Deprecated.  
isGameOver() - Method in class jagafa.scores.SchieberScoreTable
 
isGameOver() - Method in interface jagafa.scores.ScoreTable
Check wether the Game is over or not
isGone(Card) - Method in class jagafa.object.GoneCardHeap
 
isRoundOver() - Method in class jagafa.JassRoundCore
Returns true if the game is over
isRuleAvailable(RuleSet) - Method in class jagafa.scores.AbstractScoreTable
 
isRuleAvailable(RuleSet) - Method in interface jagafa.scores.ScoreTable
 
isRunning() - Method in class jagafa.JassRoundCore
 
isValid(Card, Hand, Board) - Method in class jagafa.rule.CoiffeurRules
 
isValid(Card, Hand, Board) - Method in class jagafa.rule.KijRules
 
isValid(Card, Hand, Board) - Method in class jagafa.rule.ObenRules
 
isValid(Card, Hand, Board) - Method in interface jagafa.rule.RuleSet
Prüft die Gültigkeit der Karte bei gegebenem Board und Hand
isValid(Card, Hand, Board) - Method in class jagafa.rule.SlalomObenStartRules
 
isValid(Card, Hand, Board) - Method in class jagafa.rule.TrumpfRules
 
isValid(Card, Hand, Board) - Method in class jagafa.rule.UntenRules
 
isValidPlay(Card) - Method in class jagafa.JassRoundCore
Checks wether a card is valid to play on the active Board or not
iterator() - Method in class jagafa.object.CardList
Converts the CardList to a java.util.iterator object

J

jagafa - package jagafa
 
jagafa.ai - package jagafa.ai
 
jagafa.flags - package jagafa.flags
 
jagafa.naming - package jagafa.naming
 
jagafa.object - package jagafa.object
 
jagafa.rule - package jagafa.rule
 
jagafa.scores - package jagafa.scores
 
jagafa.stats - package jagafa.stats
 
jagafa.util - package jagafa.util
 
jagafa.util.dump - package jagafa.util.dump
 
jagafa.util.view - package jagafa.util.view
 
jagafa.view - package jagafa.view
 
jagafa.view.newui - package jagafa.view.newui
 
JassAI - Interface in jagafa.ai
General interface defining the functions available to the game for computing cards by AI
JassRound - Class in jagafa
 
JassRound(RuleSet) - Constructor for class jagafa.JassRound
Constructor: init the game with the ruleSet given
JassRoundCore - Class in jagafa
 
JassRoundCore(RuleSet) - Constructor for class jagafa.JassRoundCore
Initialize a new game using the RuleSet given
JassRoundPanel - Class in jagafa.view.newui
JassFrame is a Frame holding the four HandPanel and the BoardPanel Panels
JassRoundPanel() - Constructor for class jagafa.view.newui.JassRoundPanel
 

K

KijRules - Class in jagafa.rule
 
KijRules(int) - Constructor for class jagafa.rule.KijRules
 

L

label - Variable in class jagafa.util.view.TimedDialog
 
layoutContainer(Container) - Method in class jagafa.util.view.AbsoluteLayout
Lays out the container in the specified panel.
list() - Method in class jagafa.object.CardList
Convert the CardList to a java.util.list object

M

main(String[]) - Static method in class jagafa.ai.AITest
 
main(String[]) - Static method in class jagafa.Game
 
main(String[]) - Static method in class jagafa.NewViewTest
 
main(String[]) - Static method in class jagafa.view.Test
 
maximumLayoutSize(Container) - Method in class jagafa.util.view.AbsoluteLayout
Returns the maximum size of this component.
maxRepeats_ - Static variable in class jagafa.flags.TestingFlags
 
minimumLayoutSize(Container) - Method in class jagafa.util.view.AbsoluteLayout
Calculates the minimum dimension for the specified panel given the components in the specified parent container.

N

NewViewTest - Class in jagafa
 
NewViewTest() - Constructor for class jagafa.NewViewTest
 
nextPlayer() - Method in class jagafa.JassRoundCore
Sets the active player to the next
NORMAL_AI_DELAY - Static variable in class jagafa.flags.TestingFlags
 

O

ObenRules - Class in jagafa.rule
 
ObenRules() - Constructor for class jagafa.rule.ObenRules
 
over - Variable in class jagafa.view.newui.SimpleSTPanel
 

P

paintComponent(Graphics) - Method in class jagafa.view.CardButton
Paints the component in VERTICAL or HORIZONTAL orientation
paused_ - Static variable in class jagafa.flags.TestingFlags
 
playCard(Card, Player) - Method in class jagafa.JassRound
Adds a card of Player p to the active Board, if valid
playCard(int, JassRound) - Method in class jagafa.object.Player
Spielt die ite Karte aus der hand des Spielers auf das Board von game
playCard(Card, JassRound) - Method in class jagafa.object.Player
Spielt eine Karte aus der hand des Spielers auf das Board von game
Player - Class in jagafa.object
The Player class holds the hand and the AI of a player.
Player(int, boolean) - Constructor for class jagafa.object.Player
Erstellt neues Spielerobjekt
Player(int, boolean, JassAI) - Constructor for class jagafa.object.Player
 
playerIsHuman_ - Static variable in class jagafa.flags.TestingFlags
 
PlayerStats - Class in jagafa.stats
 
PlayerStats(JassRound, Player) - Constructor for class jagafa.stats.PlayerStats
 
PlayerStats(RuleSet, Player) - Constructor for class jagafa.stats.PlayerStats
 
preferredLayoutSize(Container) - Method in class jagafa.util.view.AbsoluteLayout
Calculates the preferred dimension for the specified panel given the components in the specified parent container.
printHand() - Method in class jagafa.object.Player
Gibt die Handkarten auf dem Bildschirm aus
printScores() - Method in class jagafa.JassRound
Print the score to stdout
ProbabilityAI - Class in jagafa.ai
AI - Yet only for Oben-, Unten- and Coiffeur-RuleSet Uses the ProbabilityTable for the Throw/Bring strategy only TODO: Extend probability table usage to other strategys
ProbabilityAI() - Constructor for class jagafa.ai.ProbabilityAI
 
ProbabilityTable - Class in jagafa.ai
ProbabylityTable provides functions to calculate probabilities for all players having cards of a color or having a specific card (all from the view of a Player) ProbabilityTable is the core of the ProbabilityAI AI implementation
ProbabilityTable(Player, JassRound) - Constructor for class jagafa.ai.ProbabilityTable
Constructor: Create the ProbabilityTable and init all values
probAIDump_ - Static variable in class jagafa.flags.TestingFlags
 
probTableDump_ - Static variable in class jagafa.flags.TestingFlags
 

R

redirectSystemOut_ - Static variable in class jagafa.flags.TestingFlags
 
refreshTimer_ - Variable in class jagafa.JassRoundCore
 
remove(Card) - Method in class jagafa.object.CardList
Remove a card from the CardList
remove(int) - Method in class jagafa.object.CardList
Remove a card from the CardList
removeComponent(int) - Method in class jagafa.util.view.RowPanel
Remove the component at the column specified
removeLayoutComponent(Component) - Method in class jagafa.util.view.AbsoluteLayout
Removes the specified component from the layout.
removeRow(int) - Method in class jagafa.util.view.GridPanel
Remove the row at index i
repeatedTest_ - Static variable in class jagafa.flags.TestingFlags
 
repeats_ - Static variable in class jagafa.flags.TestingFlags
 
reportScores() - Method in class jagafa.JassRoundCore
Update the score table after a round is finished (Report round scores to top-level game)
reset() - Method in class jagafa.JassRoundCore
Reset everything
resetPlayerCount() - Static method in class jagafa.object.Player
 
resetScore() - Method in class jagafa.object.Player
Setzt Punktzahl auf Null zurück
resetScores() - Method in class jagafa.scores.AbstractScoreTable
 
resetScores() - Method in interface jagafa.scores.ScoreTable
Reset all scores to 0
RESOURCE_DIR - Static variable in class jagafa.flags.TestingFlags
 
RESOURCE_DIR2 - Static variable in class jagafa.flags.TestingFlags
 
RESTART_DELAY - Static variable in class jagafa.flags.TestingFlags
 
riskReadiness_ - Static variable in class jagafa.flags.AIFlags
 
RoundController2 - Class in jagafa.view.newui
RoundController2 collects UI actions from the view and sends it to the round object.
RoundController2() - Constructor for class jagafa.view.newui.RoundController2
Constructor does nothing.
roundsPlayed() - Method in class jagafa.scores.AbstractScoreTable
 
roundsPlayed() - Method in interface jagafa.scores.ScoreTable
 
RoundStats - Class in jagafa.stats
GameStats takes a Game object and collects some statistics about it Mainly from the view of the active Player!
RoundStats(JassRound) - Constructor for class jagafa.stats.RoundStats
 
RoundStatsPanel - Class in jagafa.view.newui
StatView is a Frame displaying some game information including team scores, Bock lists and gone cards of every color
RoundStatsPanel(JassRound) - Constructor for class jagafa.view.newui.RoundStatsPanel
 
rowCount() - Method in class jagafa.util.view.GridPanel
Get the number of rows in the panel
RowPanel - Class in jagafa.util.view
 
RowPanel(int) - Constructor for class jagafa.util.view.RowPanel
 
RuleChoicePanel - Class in jagafa.view.newui
 
RuleChoicePanel(JassRound, JComponent) - Constructor for class jagafa.view.newui.RuleChoicePanel
 
RuleSet - Interface in jagafa.rule
Interface for defining a RuleSet (eg.
RuleSetChoiceAI - Class in jagafa.ai
 
RuleSetChoiceAI() - Constructor for class jagafa.ai.RuleSetChoiceAI
 
ruleSetChoiceDump_ - Static variable in class jagafa.flags.TestingFlags
 
runAutomated() - Method in class jagafa.view.newui.RoundController2
 
running_ - Variable in class jagafa.JassRoundCore
 

S

SchieberScoreTable - Class in jagafa.scores
 
SchieberScoreTable(int) - Constructor for class jagafa.scores.SchieberScoreTable
 
ScoreTable - Interface in jagafa.scores
 
scoreTable_ - Variable in class jagafa.JassRoundCore
 
serialVersionUID - Static variable in class jagafa.util.view.AbsConstr
generated Serialized Version UID
serialVersionUID - Static variable in class jagafa.util.view.AbsoluteLayout
generated Serialized Version UID
setActivePlayer(Player) - Method in class jagafa.JassRoundCore
Set the active player
setAI(JassAI) - Method in class jagafa.object.Player
 
setCanChangePlayer(boolean) - Method in class jagafa.scores.AbstractScoreTable
 
setCardName(String) - Method in class jagafa.view.CardButton
Set a new cardname and reinitialize the card image
setChoosingPlayer(int) - Method in class jagafa.scores.AbstractScoreTable
 
setColor(int) - Method in class jagafa.object.Card
Setzt die Farbe der Karte
setComponent(int, int, JComponent) - Method in class jagafa.util.view.GridPanel
Set the component at (column, row) to the component specified
setComponent(int, JComponent) - Method in class jagafa.util.view.RowPanel
Set the component at column i to the component specified
setLastTurnWinner(Player) - Method in class jagafa.JassRoundCore
 
setPlayer(Player) - Method in class jagafa.stats.PlayerStats
 
setRound(JassRound) - Method in class jagafa.stats.PlayerStats
 
setRound(JassRound) - Method in class jagafa.stats.RoundStats
 
setRound(JassRound) - Method in class jagafa.view.newui.RoundStatsPanel
 
setRound(JassRound) - Method in class jagafa.view.newui.RuleChoicePanel
 
setRoundUI(JFrame) - Method in class jagafa.view.newui.RuleChoicePanel
 
setRules(RuleSet) - Method in class jagafa.JassRoundCore
Set the RuleSet
setScoreTable(ScoreTable) - Method in class jagafa.JassRoundCore
Sets the score table
setStartPlayer(int) - Method in class jagafa.scores.AbstractScoreTable
 
setStartPlayer(int) - Method in interface jagafa.scores.ScoreTable
Set the player which can start the next round
setValue(int) - Method in class jagafa.object.Card
Setzt den Wert der Karte
showAllHands_ - Static variable in class jagafa.flags.TestingFlags
 
showHand(int) - Method in class jagafa.view.newui.JassRoundPanel
 
showHand_ - Static variable in class jagafa.flags.TestingFlags
 
showRoundStats_ - Static variable in class jagafa.flags.TestingFlags
 
silentTest_ - Static variable in class jagafa.flags.TestingFlags
 
SimpleAI - Class in jagafa.ai
A simple (quite stupid) AI implementation
SimpleAI() - Constructor for class jagafa.ai.SimpleAI
 
SimpleSTPanel - Class in jagafa.view.newui
 
SimpleSTPanel(ScoreTable) - Constructor for class jagafa.view.newui.SimpleSTPanel
 
size() - Method in class jagafa.object.CardList
Get the number of cards in the CardList
SlalomObenStartRules - Class in jagafa.rule
 
SlalomObenStartRules() - Constructor for class jagafa.rule.SlalomObenStartRules
 
sort(RuleSet) - Method in class jagafa.object.Hand
Sort the Hand according to the RuleSet
sort(List<VAL_TYPE>) - Method in class jagafa.util.InsertSort
 
specialColor() - Method in class jagafa.rule.CoiffeurRules
 
specialColor() - Method in class jagafa.rule.KijRules
 
specialColor() - Method in class jagafa.rule.ObenRules
 
specialColor() - Method in interface jagafa.rule.RuleSet
Liefert die Spezialfarbe falls benötigt
specialColor() - Method in class jagafa.rule.SlalomObenStartRules
 
specialColor() - Method in class jagafa.rule.TrumpfRules
 
specialColor() - Method in class jagafa.rule.UntenRules
 
speedUp_ - Static variable in class jagafa.flags.TestingFlags
 
start(Player) - Method in class jagafa.JassRound
 
start() - Method in class jagafa.JassRound
Start the game by installing the main and refresh timers Only if the RuleSet is set!
startGame(ScoreTable) - Method in class jagafa.GameController
 
startRound(ScoreTable) - Method in class jagafa.view.newui.RoundController2
Starts the game with the ruleSet given
stateChanged(ChangeEvent) - Method in class jagafa.view.newui.TestingFlagsPanel
 
stop() - Method in class jagafa.JassRoundCore
 

T

TabbedView - Class in jagafa.view.newui
 
TabbedView(RoundController2) - Constructor for class jagafa.view.newui.TabbedView
 
Test - Class in jagafa.view
 
Test() - Constructor for class jagafa.view.Test
 
TestingFlags - Class in jagafa.flags
 
TestingFlags() - Constructor for class jagafa.flags.TestingFlags
 
TestingFlagsPanel - Class in jagafa.view.newui
 
TestingFlagsPanel() - Constructor for class jagafa.view.newui.TestingFlagsPanel
 
TimedDialog - Class in jagafa.util.view
 
TimedDialog(String) - Constructor for class jagafa.util.view.TimedDialog
 
TimedDialog(String, JComponent) - Constructor for class jagafa.util.view.TimedDialog
 
TimedDialog(String, JComponent, int) - Constructor for class jagafa.util.view.TimedDialog
 
toggleNoify() - Method in class jagafa.view.newui.RoundController2
 
toggleNotify() - Method in class jagafa.JassRoundCore
Notify observers and fire all action-listeners
toString() - Method in class jagafa.ai.ProbabilityTable
 
toString() - Method in class jagafa.object.Card
Liefert einen String mit Farbe und Wert der Karte
toString() - Method in class jagafa.object.CardList
 
toString() - Method in class jagafa.object.Player
 
toString() - Method in class jagafa.scores.AbstractScoreTable
 
toString() - Method in class jagafa.util.view.AbsConstr
 
TrumpfRules - Class in jagafa.rule
 
TrumpfRules(int) - Constructor for class jagafa.rule.TrumpfRules
 
turns() - Method in class jagafa.object.GoneCardHeap
 
turnsPlayed() - Method in class jagafa.stats.RoundStats
 

U

UI_REFRESH_DELAY - Static variable in class jagafa.flags.TestingFlags
 
UntenRules - Class in jagafa.rule
 
UntenRules() - Constructor for class jagafa.rule.UntenRules
 
update() - Method in class jagafa.ai.ProbabilityTable
Update the table
update(Observable, Object) - Method in class jagafa.GameController
 
update() - Method in class jagafa.stats.PlayerStats
Update the stats
update() - Method in class jagafa.stats.RoundStats
Update the stats
update(Observable, Object) - Method in class jagafa.view.newui.RoundController2
Update the UI when an observable calls this observer
update() - Method in class jagafa.view.newui.RoundStatsPanel
 
update(Player) - Method in class jagafa.view.newui.RoundStatsPanel
 
update() - Method in class jagafa.view.newui.SimpleSTPanel
 
updateAfterTurn() - Method in class jagafa.rule.CoiffeurRules
 
updateAfterTurn() - Method in class jagafa.rule.KijRules
 
updateAfterTurn() - Method in class jagafa.rule.ObenRules
 
updateAfterTurn() - Method in interface jagafa.rule.RuleSet
Update the RuleSet after each turn (for automatic Changes)
updateAfterTurn() - Method in class jagafa.rule.SlalomObenStartRules
 
updateAfterTurn() - Method in class jagafa.rule.TrumpfRules
 
updateAfterTurn() - Method in class jagafa.rule.UntenRules
 
updateBoardUI(Board) - Method in class jagafa.view.BoardPanel
Reset the CardButtons to the buttons in the Board given
updateHandPanel(Hand, int) - Method in class jagafa.view.newui.JassRoundPanel
 
updateHandUI(Hand) - Method in class jagafa.view.HandPanel
Update the panel with the cards in the hand given
updateRuleLabel() - Method in class jagafa.view.newui.RuleChoicePanel
 
updateStats() - Method in class jagafa.view.newui.RoundController2
 

V

valueOf(String) - Static method in enum jagafa.naming.EColorNames
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jagafa.naming.ESwissColorNames
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jagafa.naming.ESwissValueNames
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jagafa.naming.EValueNames
Returns the enum constant of this type with the specified name.
values() - Static method in enum jagafa.naming.EColorNames
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum jagafa.naming.ESwissColorNames
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum jagafa.naming.ESwissValueNames
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum jagafa.naming.EValueNames
Returns an array containing the constants of this enum type, in the order they're declared.
VERTICAL - Static variable in class jagafa.view.HandPanel
 

W

width - Variable in class jagafa.util.view.AbsConstr
The width of the component or -1 if the component's preferred width should be used

X

x - Variable in class jagafa.util.view.AbsConstr
The X position of the component

Y

y - Variable in class jagafa.util.view.AbsConstr
The Y position of the component

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

Copyright 2005 MA Software. All Rights Reserved.