All Packages Class Hierarchy This Package Previous Next Index
Class navalBattle.DisposeBoats
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----navalBattle.DisposeBoats
- public class DisposeBoats
- extends Frame
- implements ActionListener, WindowListener
-
flotte
- la Floote
-
ivjAcceptMenuItem
-
-
ivjDisposeBoatsGridLayout
-
-
ivjDisposeBoatsMenuBar
- bare de menu
Quitter ou Sauver la Flotte
-
ivjMenuFile
-
-
ivjMenuGame
-
-
ivjMyCanvasBoatSet
- Le canvas de disposition des bateaux et de jeu
-
ivjQuitterItem
-
-
joueur
- le Jioueur
-
nbJoueur
- nombre de joueurs
-
nickName
-
-
serverHostName
- La machine Serveur
-
vectorTir
- L'objet RMI
-
DisposeBoats()
- Constructor
-
DisposeBoats(String)
- DisposeBoats constructor comment.
-
actionPerformed(ActionEvent)
- Method to handle events for the ActionListener interface.
-
connEtoC1(WindowEvent)
- connEtoC1: (DisposeBoats.window.windowClosing(java.awt.event.WindowEvent) --> DisposeBoats.dispose()V)
-
connEtoM1(ActionEvent)
- connEtoM1: (QuitterItem.action.actionPerformed(java.awt.event.ActionEvent) --> DisposeBoats.dispose()V)
-
connEtoM2(ActionEvent)
- connEtoM2: (AcceptMenuItem.action.actionPerformed(java.awt.event.ActionEvent) --> MyCanvasBoatSet.saveFlotte()V)
-
createJoueur(String, VectorTireur)
- Creation d'un Joueur
-
finir()
-
-
getAcceptMenuItem()
- Return the AcceptMenuItem property value.
-
getBuilderData()
- Builder !...
-
getDisposeBoatsGridLayout()
- Return the DisposeBoatsGridLayout property value.
-
getDisposeBoatsMenuBar()
- Return the DisposeBoatsMenuBar property value.
-
getMenuFile()
- Return the MenuFile property value.
-
getMenuGame()
- Return the MenuGame property value.
-
getMinimumSize()
- This methode was NOT created with visual age
-
getMyCanvasBoatSet()
- Return the MyCanvas1 property value.
-
getPreferedSize()
- This methode was NOT created with visual age
-
getQuitterItem()
- Return the QuitterItem property value.
-
handleException(Throwable)
- Called whenever the part throws an exception.
-
initConnections()
- Initializes connections
-
initialize()
- Initialize the class.
-
main(String[])
- main entrypoint - starts the part when it is run as an application
-
setFlotteToJoueur(Vector)
- Attribue La flotte au Joueur
-
setNbJoueur(int)
- This methode was NOT created with visual age
-
setPseudo(String)
-
-
showDialog(String, String)
- This method was created in VisualAge.
-
showErreur(String)
- This method was created in VisualAge.
-
windowActivated(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowClosed(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowClosing(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowDeactivated(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowDeiconified(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowIconified(WindowEvent)
- Method to handle events for the WindowListener interface.
-
windowOpened(WindowEvent)
- Method to handle events for the WindowListener interface.
ivjDisposeBoatsMenuBar
private MenuBar ivjDisposeBoatsMenuBar
- bare de menu
Quitter ou Sauver la Flotte
ivjMyCanvasBoatSet
private MyCanvas ivjMyCanvasBoatSet
- Le canvas de disposition des bateaux et de jeu
nbJoueur
private int nbJoueur
- nombre de joueurs
ivjDisposeBoatsGridLayout
private GridLayout ivjDisposeBoatsGridLayout
ivjAcceptMenuItem
private MenuItem ivjAcceptMenuItem
ivjMenuFile
private Menu ivjMenuFile
ivjMenuGame
private Menu ivjMenuGame
ivjQuitterItem
private MenuItem ivjQuitterItem
joueur
private Joueur joueur
- le Jioueur
- See Also:
- Joueur
nickName
private String nickName
serverHostName
private String serverHostName
- La machine Serveur
vectorTir
private VectorTir vectorTir
- L'objet RMI
flotte
private Vector flotte
- la Floote
DisposeBoats
public DisposeBoats()
- Constructor
DisposeBoats
public DisposeBoats(String title)
- DisposeBoats constructor comment.
- Parameters:
- title - java.lang.String
actionPerformed
public void actionPerformed(ActionEvent e)
- Method to handle events for the ActionListener interface.
- Parameters:
- e - java.awt.event.ActionEvent
connEtoC1
private void connEtoC1(WindowEvent arg1)
- connEtoC1: (DisposeBoats.window.windowClosing(java.awt.event.WindowEvent) --> DisposeBoats.dispose()V)
- Parameters:
- arg1 - java.awt.event.WindowEvent
connEtoM1
private void connEtoM1(ActionEvent arg1)
- connEtoM1: (QuitterItem.action.actionPerformed(java.awt.event.ActionEvent) --> DisposeBoats.dispose()V)
- Parameters:
- arg1 - java.awt.event.ActionEvent
connEtoM2
private void connEtoM2(ActionEvent arg1)
- connEtoM2: (AcceptMenuItem.action.actionPerformed(java.awt.event.ActionEvent) --> MyCanvasBoatSet.saveFlotte()V)
- Parameters:
- arg1 - java.awt.event.ActionEvent
createJoueur
public void createJoueur(String nom,
VectorTireur vTir)
- Creation d'un Joueur
- Parameters:
- nom - java.lang.String
- id - int
- vflotte - java.util.Vector
- vTir - navalBattle.VectorTir
- See Also:
- Joueur
finir
public void finir()
getAcceptMenuItem
private MenuItem getAcceptMenuItem()
- Return the AcceptMenuItem property value.
- Returns:
- java.awt.MenuItem
getBuilderData
private static void getBuilderData()
- Builder !...
getDisposeBoatsGridLayout
private GridLayout getDisposeBoatsGridLayout()
- Return the DisposeBoatsGridLayout property value.
- Returns:
- java.awt.GridLayout
getDisposeBoatsMenuBar
private MenuBar getDisposeBoatsMenuBar()
- Return the DisposeBoatsMenuBar property value.
- Returns:
- java.awt.MenuBar
getMenuFile
private Menu getMenuFile()
- Return the MenuFile property value.
- Returns:
- java.awt.Menu
getMenuGame
private Menu getMenuGame()
- Return the MenuGame property value.
- Returns:
- java.awt.Menu
getMinimumSize
public Dimension getMinimumSize()
- This methode was NOT created with visual age
- Returns:
- java.awt.Dimension
- Overrides:
- getMinimumSize in class Container
getMyCanvasBoatSet
private MyCanvas getMyCanvasBoatSet()
- Return the MyCanvas1 property value.
- Returns:
- NavalBattle.MyCanvas
getPreferedSize
public Dimension getPreferedSize()
- This methode was NOT created with visual age
- Returns:
- Dimension
getQuitterItem
private MenuItem getQuitterItem()
- Return the QuitterItem property value.
- Returns:
- java.awt.MenuItem
handleException
private void handleException(Throwable exception)
- Called whenever the part throws an exception.
- Parameters:
- exception - java.lang.Throwable
initConnections
private void initConnections()
- Initializes connections
initialize
private void initialize()
- Initialize the class.
main
public static void main(String args[])
- main entrypoint - starts the part when it is run as an application
- Parameters:
- args - java.lang.String[]
setFlotteToJoueur
public void setFlotteToJoueur(Vector vFlotte)
- Attribue La flotte au Joueur
- Parameters:
- vFlotte - java.util.Vector
setNbJoueur
public void setNbJoueur(int nbj)
- This methode was NOT created with visual age
- Parameters:
- nbj - int
setPseudo
public void setPseudo(String pseudo)
- Parameters:
- pseudo - java.lang.String
showDialog
public void showDialog(String msg,
String titre)
- This method was created in VisualAge.
- Parameters:
- titre - java.lang.String
- msg - java.lang.String
showErreur
public void showErreur(String msg)
- This method was created in VisualAge.
- Parameters:
- msg - java.lang.String
windowActivated
public void windowActivated(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowClosed
public void windowClosed(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowClosing
public void windowClosing(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowIconified
public void windowIconified(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowOpened
public void windowOpened(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
All Packages Class Hierarchy This Package Previous Next Index