Index
A C D F G H I J M N O P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addObserver(IObserver) - Method in interface fr.uga.miage.pc.dilemme.front.IObservable
-
Add a
IObserverto the list - addObserver(IObserver) - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- addObserver(IObserver) - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- afficheMenu() - Method in class fr.uga.miage.pc.dilemme.front.TournoiFrame
-
Deprecated.
- ApiDilemme - Class in fr.uga.miage.pc.dilemme.back
-
This class is used like an API, it give the possibilty to the front class to call the method of the back-end
- ApiDilemme() - Constructor for class fr.uga.miage.pc.dilemme.back.ApiDilemme
C
- clear() - Method in interface fr.uga.miage.pc.dilemme.back.strategie.IStrategie
-
Reset all the attributes of the strategie
- clear() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Reset all the attributes of the strategie
- clone(IStrategie) - Static method in class fr.uga.miage.pc.dilemme.back.strategie.CloneHelper
-
Create the a clone of the Strategie with the Strategie given in parameter
- clone(String) - Static method in class fr.uga.miage.pc.dilemme.back.strategie.CloneHelper
-
Create the a clone of the Strategie with the code given in parameter
- CloneHelper - Class in fr.uga.miage.pc.dilemme.back.strategie
-
This class is used in order to create a clone of a Strategie for the creation of Confrontation
- CloneHelper() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.CloneHelper
- cloneTest(IStrategie) - Static method in class fr.uga.miage.pc.dilemme.back.strategie.CloneHelper
-
Deprecated.This system isn't finished yet
- closeWindow() - Method in class fr.uga.miage.pc.dilemme.front.FrameBase
- Confrontation - Class in fr.uga.miage.pc.dilemme.back
-
This class allows to construct a object fight.
- Confrontation(IStrategie, IStrategie) - Constructor for class fr.uga.miage.pc.dilemme.back.Confrontation
-
Constructs the fight with the two opponents given in parameter
- Confrontation.ConfrontationConstants - Interface in fr.uga.miage.pc.dilemme.back
-
This is interface is here to define all the constants associated to the class Confrontation
- confrontationHtml(int, Confrontation) - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Return a sum up of the confrontation given in parameter in HTML
- confrontationText(int, Confrontation) - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Return a sum up of the confrontation given in parameter
- createConfrontation(IStrategie, IStrategie) - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a confrontation between two Strategies
- createDonnantDonnant() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of DonnantDonnant
- createDonnantDonnantDur() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of DonnantDonnantDur
- createGentille() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of Gentille
- createListStrategie(int...) - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a list of the Strategie in function of the choice made by the user
- createListStrategie(List<Integer>) - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a list of the Strategie in function of the choice made by the user
- createMechante() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of Mechante
- createMefiante() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of Mefiante
- createPerGentille() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of PerGentille
- createPerMechante() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of PerMechant
- createRancuniere() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Create a new instance of Rancuniere
- createTournoi(List<IStrategie>, int) - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
D
- DonnantDonnant - Class in fr.uga.miage.pc.dilemme.back.strategie
- DonnantDonnant() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.DonnantDonnant
- DonnantDonnantDur - Class in fr.uga.miage.pc.dilemme.back.strategie
- DonnantDonnantDur() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.DonnantDonnantDur
F
- findValue(String) - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Return True if the value is in the list
- fr.uga.miage.pc.dilemme - package fr.uga.miage.pc.dilemme
- fr.uga.miage.pc.dilemme.back - package fr.uga.miage.pc.dilemme.back
- fr.uga.miage.pc.dilemme.back.strategie - package fr.uga.miage.pc.dilemme.back.strategie
- fr.uga.miage.pc.dilemme.front - package fr.uga.miage.pc.dilemme.front
- FrameBase - Class in fr.uga.miage.pc.dilemme.front
- FrameBase() - Constructor for class fr.uga.miage.pc.dilemme.front.FrameBase
- FrameBase(int, int) - Constructor for class fr.uga.miage.pc.dilemme.front.FrameBase
- FrameBase(int, int, String) - Constructor for class fr.uga.miage.pc.dilemme.front.FrameBase
- FrameBase(int, int, String, int) - Constructor for class fr.uga.miage.pc.dilemme.front.FrameBase
G
- Gentille - Class in fr.uga.miage.pc.dilemme.back.strategie
- Gentille() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.Gentille
- getConfrontation(int) - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Get the Confrontation at the index position of the list
- getConfrontations() - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Give the fight's tournament list
- getDescription() - Method in interface fr.uga.miage.pc.dilemme.back.strategie.IStrategie
-
Give the description
- getDescription() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Give the description
- getFinalScore(int) - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Give the final score of the first or second strategie
- getFinalScoreS1() - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Deprecated.Use getFinalScore(int numStrategie) instead
- getFinalScoreS2() - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Deprecated.Use getFinalScore(int numStrategie) instead
- getInstance() - Static method in class fr.uga.miage.pc.dilemme.front.JDilemme
- getInstance() - Static method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- getInstance() - Static method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- getInstance() - Static method in class fr.uga.miage.pc.dilemme.front.TournoiFrame
-
Deprecated.
- getLaunchButton() - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- getList() - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- getListCheckSelected() - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- getNbTours() - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Return the number of round for each fight in the tournament
- getNbTours() - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- getNbTours() - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- getNom() - Method in interface fr.uga.miage.pc.dilemme.back.strategie.IStrategie
-
Return the name of the strategie
- getNom() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Return the name of the strategie
- getObservers() - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- getOppPlay(int) - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Return the action played by the opponent
- getPlay() - Method in interface fr.uga.miage.pc.dilemme.back.strategie.IStrategie
-
Give the action played at the current round
- getPlay() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Give the action played at the current round
- getStrategie(int) - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Give the first or the second strategie in function of the number given in parameter
- getStrategie(int) - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Give the opponent saved at the index position of the list
- getStrategie1() - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Deprecated.Use getStrategie(int numStrategie) instead
- getStrategie2() - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Deprecated.Use getStrategie(int numStrategie)
- getStrategies() - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Give all the opponent
H
- hasMoreElements() - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Allows to know if the tournament still have fight
I
- initButtons() - Method in class fr.uga.miage.pc.dilemme.front.FrameBase
- initButtons() - Method in class fr.uga.miage.pc.dilemme.front.JDilemme
- initButtons() - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- initListeners() - Method in class fr.uga.miage.pc.dilemme.front.FrameBase
- initListeners() - Method in class fr.uga.miage.pc.dilemme.front.JDilemme
- initListeners() - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- initParametres() - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- IObservable - Interface in fr.uga.miage.pc.dilemme.front
-
This interface is used in order to respect the design patter Observer.
- IObserver - Interface in fr.uga.miage.pc.dilemme.front
-
This interface is used in order to respect the design patter Observer.
- IStrategie - Interface in fr.uga.miage.pc.dilemme.back.strategie
-
This interface allows to create object which can represent a players or others in a tournament or during games.
J
- JDilemme - Class in fr.uga.miage.pc.dilemme.front
-
This class create an instance of
JFrameused to show theTournoiand his datas to the user. - JParamTournoi - Class in fr.uga.miage.pc.dilemme.front
M
- main(String[]) - Static method in class fr.uga.miage.pc.dilemme.Main
- Main - Class in fr.uga.miage.pc.dilemme
- Main() - Constructor for class fr.uga.miage.pc.dilemme.Main
- Mechante - Class in fr.uga.miage.pc.dilemme.back.strategie
- Mechante() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.Mechante
- Mefiante - Class in fr.uga.miage.pc.dilemme.back.strategie
- Mefiante() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.Mefiante
N
- nextElement() - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Launch the next fight of the tournament and give a sum up of this last at the end
- notifier() - Method in interface fr.uga.miage.pc.dilemme.front.IObserver
-
Action made by the Observer when the Observeable notify it
- notifier() - Method in class fr.uga.miage.pc.dilemme.front.JDilemme
- notifier() - Method in class fr.uga.miage.pc.dilemme.front.TournoiFrame
-
Deprecated.Action made by the Observer when the Observeable notify it
- notifierAll() - Method in interface fr.uga.miage.pc.dilemme.front.IObservable
-
Notify all the Observer of the list
- notifierAll() - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- notifierAll() - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- numTour - Variable in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
O
- openWebPage(String) - Method in class fr.uga.miage.pc.dilemme.front.TournoiFrame
-
Deprecated.
P
- ParamFrame - Class in fr.uga.miage.pc.dilemme.front
-
Deprecated.
- PerGentille - Class in fr.uga.miage.pc.dilemme.back.strategie
- PerGentille() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.PerGentille
- PerMechant - Class in fr.uga.miage.pc.dilemme.back.strategie
- PerMechant() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.PerMechant
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.DonnantDonnant
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.DonnantDonnantDur
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Gentille
-
Launch and save the action played by the strategie
- play() - Method in interface fr.uga.miage.pc.dilemme.back.strategie.IStrategie
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Mechante
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Mefiante
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.PerGentille
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.PerMechant
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Rancuniere
-
Launch and save the action played by the strategie
- play() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Launch and save the action played by the strategie
R
- Rancuniere - Class in fr.uga.miage.pc.dilemme.back.strategie
- Rancuniere() - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.Rancuniere
- removeObserver(IObserver) - Method in interface fr.uga.miage.pc.dilemme.front.IObservable
-
Remove a
IObserverfrom the list - removeObserver(IObserver) - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- removeObserver(IObserver) - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- reset() - Method in class fr.uga.miage.pc.dilemme.front.JParamTournoi
- reset() - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
S
- setList(String[]) - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- setNbTours(int) - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Set the number of round for the tournament
- setNbTours(int) - Method in class fr.uga.miage.pc.dilemme.front.ParamFrame
-
Deprecated.
- setOppPlay(String) - Method in interface fr.uga.miage.pc.dilemme.back.strategie.IStrategie
-
Add the action played by the opponent at the current round
- setOppPlay(String) - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Add the action played by the opponent at the current round
- setPlay(String) - Method in interface fr.uga.miage.pc.dilemme.back.strategie.IStrategie
-
Change the action played by the strategie
- setPlay(String) - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Change the action played by the strategie
- setStrategie(int, IStrategie) - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Set the first or second Strategie of the confrontation
- setStrategie1(IStrategie) - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Deprecated.Use setStrategie(int numStrategie, IStrategie strategie)
- setStrategie2(IStrategie) - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Deprecated.Use setStrategie(int numStrategie, IStrategie strategie) instead
- setStrategies(List<IStrategie>) - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Set the different opponent and theirs fights too
- showErrorFrame(String, Exception) - Method in class fr.uga.miage.pc.dilemme.front.FrameBase
- showFrame() - Method in class fr.uga.miage.pc.dilemme.front.FrameBase
- showInfoFrame(String) - Method in class fr.uga.miage.pc.dilemme.front.FrameBase
- sizeOppPlay() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Return the number of action played by the opponent in the memory of the Strategie
- start(int) - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Start the fight between the two opponents
- Strategie - Class in fr.uga.miage.pc.dilemme.back.strategie
-
This class constructs a object Strategie which implements the interface IStrategie.
- Strategie(String, String) - Constructor for class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Constructs a Strategie with it name and it description
- STRATEGIE_1 - Static variable in interface fr.uga.miage.pc.dilemme.back.Confrontation.ConfrontationConstants
- STRATEGIE_2 - Static variable in interface fr.uga.miage.pc.dilemme.back.Confrontation.ConfrontationConstants
- StringHelper - Class in fr.uga.miage.pc.dilemme.back
- StringHelper() - Constructor for class fr.uga.miage.pc.dilemme.back.StringHelper
- sumUpConfrontation(boolean, int, Confrontation) - Static method in class fr.uga.miage.pc.dilemme.back.StringHelper
-
Give the sum up of the confrontation on a text
- sumUpTournoi(boolean, Tournoi) - Static method in class fr.uga.miage.pc.dilemme.back.StringHelper
-
Give the sum up of the tournament on a text
- sumUpTournoiHtml() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Return a sum up of the score of the tournament in HTML
- sumUpTournoiText() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Return a sum up of the score of the tournament
T
- toString() - Method in class fr.uga.miage.pc.dilemme.back.Confrontation
-
Give a brief description of the fight
- toString() - Method in class fr.uga.miage.pc.dilemme.back.strategie.Strategie
-
Give the name and a description of the Strategie
- toString() - Method in class fr.uga.miage.pc.dilemme.back.Tournoi
-
Return the confrontation of the tournament
- tournoi(boolean, Tournoi) - Static method in class fr.uga.miage.pc.dilemme.back.StringHelper
-
Give the configuration of the tournament on a text
- Tournoi - Class in fr.uga.miage.pc.dilemme.back
-
This class allows to construct a object tournament.
- Tournoi(int, List<IStrategie>) - Constructor for class fr.uga.miage.pc.dilemme.back.Tournoi
-
Constructs a tournament with the number of round for the fight and a participant's list.
- TournoiFrame - Class in fr.uga.miage.pc.dilemme.front
-
Deprecated.
- tournoiHtml() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Return a sum up of the configuration of the tournament in HTML
- tournoiText() - Static method in class fr.uga.miage.pc.dilemme.back.ApiDilemme
-
Return a sum up of the configuration of the tournament
All Classes All Packages