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

Variable Index

 o flotte
la Floote
 o ivjAcceptMenuItem
 o ivjDisposeBoatsGridLayout
 o ivjDisposeBoatsMenuBar
bare de menu Quitter ou Sauver la Flotte
 o ivjMenuFile
 o ivjMenuGame
 o ivjMyCanvasBoatSet
Le canvas de disposition des bateaux et de jeu
 o ivjQuitterItem
 o joueur
le Jioueur
 o nbJoueur
nombre de joueurs
 o nickName
 o serverHostName
La machine Serveur
 o vectorTir
L'objet RMI

Constructor Index

 o DisposeBoats()
Constructor
 o DisposeBoats(String)
DisposeBoats constructor comment.

Method Index

 o actionPerformed(ActionEvent)
Method to handle events for the ActionListener interface.
 o connEtoC1(WindowEvent)
connEtoC1: (DisposeBoats.window.windowClosing(java.awt.event.WindowEvent) --> DisposeBoats.dispose()V)
 o connEtoM1(ActionEvent)
connEtoM1: (QuitterItem.action.actionPerformed(java.awt.event.ActionEvent) --> DisposeBoats.dispose()V)
 o connEtoM2(ActionEvent)
connEtoM2: (AcceptMenuItem.action.actionPerformed(java.awt.event.ActionEvent) --> MyCanvasBoatSet.saveFlotte()V)
 o createJoueur(String, VectorTireur)
Creation d'un Joueur
 o finir()
 o getAcceptMenuItem()
Return the AcceptMenuItem property value.
 o getBuilderData()
Builder !...
 o getDisposeBoatsGridLayout()
Return the DisposeBoatsGridLayout property value.
 o getDisposeBoatsMenuBar()
Return the DisposeBoatsMenuBar property value.
 o getMenuFile()
Return the MenuFile property value.
 o getMenuGame()
Return the MenuGame property value.
 o getMinimumSize()
This methode was NOT created with visual age
 o getMyCanvasBoatSet()
Return the MyCanvas1 property value.
 o getPreferedSize()
This methode was NOT created with visual age
 o getQuitterItem()
Return the QuitterItem property value.
 o handleException(Throwable)
Called whenever the part throws an exception.
 o initConnections()
Initializes connections
 o initialize()
Initialize the class.
 o main(String[])
main entrypoint - starts the part when it is run as an application
 o setFlotteToJoueur(Vector)
Attribue La flotte au Joueur
 o setNbJoueur(int)
This methode was NOT created with visual age
 o setPseudo(String)
 o showDialog(String, String)
This method was created in VisualAge.
 o showErreur(String)
This method was created in VisualAge.
 o windowActivated(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowClosed(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowClosing(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowDeactivated(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowDeiconified(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowIconified(WindowEvent)
Method to handle events for the WindowListener interface.
 o windowOpened(WindowEvent)
Method to handle events for the WindowListener interface.

Variables

 o ivjDisposeBoatsMenuBar
 private MenuBar ivjDisposeBoatsMenuBar
bare de menu Quitter ou Sauver la Flotte

 o ivjMyCanvasBoatSet
 private MyCanvas ivjMyCanvasBoatSet
Le canvas de disposition des bateaux et de jeu

 o nbJoueur
 private int nbJoueur
nombre de joueurs

 o ivjDisposeBoatsGridLayout
 private GridLayout ivjDisposeBoatsGridLayout
 o ivjAcceptMenuItem
 private MenuItem ivjAcceptMenuItem
 o ivjMenuFile
 private Menu ivjMenuFile
 o ivjMenuGame
 private Menu ivjMenuGame
 o ivjQuitterItem
 private MenuItem ivjQuitterItem
 o joueur
 private Joueur joueur
le Jioueur

See Also:
Joueur
 o nickName
 private String nickName
 o serverHostName
 private String serverHostName
La machine Serveur

 o vectorTir
 private VectorTir vectorTir
L'objet RMI

 o flotte
 private Vector flotte
la Floote

Constructors

 o DisposeBoats
 public DisposeBoats()
Constructor

 o DisposeBoats
 public DisposeBoats(String title)
DisposeBoats constructor comment.

Parameters:
title - java.lang.String

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
Method to handle events for the ActionListener interface.

Parameters:
e - java.awt.event.ActionEvent
 o connEtoC1
 private void connEtoC1(WindowEvent arg1)
connEtoC1: (DisposeBoats.window.windowClosing(java.awt.event.WindowEvent) --> DisposeBoats.dispose()V)

Parameters:
arg1 - java.awt.event.WindowEvent
 o connEtoM1
 private void connEtoM1(ActionEvent arg1)
connEtoM1: (QuitterItem.action.actionPerformed(java.awt.event.ActionEvent) --> DisposeBoats.dispose()V)

Parameters:
arg1 - java.awt.event.ActionEvent
 o connEtoM2
 private void connEtoM2(ActionEvent arg1)
connEtoM2: (AcceptMenuItem.action.actionPerformed(java.awt.event.ActionEvent) --> MyCanvasBoatSet.saveFlotte()V)

Parameters:
arg1 - java.awt.event.ActionEvent
 o 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
 o finir
 public void finir()
 o getAcceptMenuItem
 private MenuItem getAcceptMenuItem()
Return the AcceptMenuItem property value.

Returns:
java.awt.MenuItem
 o getBuilderData
 private static void getBuilderData()
Builder !...

 o getDisposeBoatsGridLayout
 private GridLayout getDisposeBoatsGridLayout()
Return the DisposeBoatsGridLayout property value.

Returns:
java.awt.GridLayout
 o getDisposeBoatsMenuBar
 private MenuBar getDisposeBoatsMenuBar()
Return the DisposeBoatsMenuBar property value.

Returns:
java.awt.MenuBar
 o getMenuFile
 private Menu getMenuFile()
Return the MenuFile property value.

Returns:
java.awt.Menu
 o getMenuGame
 private Menu getMenuGame()
Return the MenuGame property value.

Returns:
java.awt.Menu
 o getMinimumSize
 public Dimension getMinimumSize()
This methode was NOT created with visual age

Returns:
java.awt.Dimension
Overrides:
getMinimumSize in class Container
 o getMyCanvasBoatSet
 private MyCanvas getMyCanvasBoatSet()
Return the MyCanvas1 property value.

Returns:
NavalBattle.MyCanvas
 o getPreferedSize
 public Dimension getPreferedSize()
This methode was NOT created with visual age

Returns:
Dimension
 o getQuitterItem
 private MenuItem getQuitterItem()
Return the QuitterItem property value.

Returns:
java.awt.MenuItem
 o handleException
 private void handleException(Throwable exception)
Called whenever the part throws an exception.

Parameters:
exception - java.lang.Throwable
 o initConnections
 private void initConnections()
Initializes connections

 o initialize
 private void initialize()
Initialize the class.

 o main
 public static void main(String args[])
main entrypoint - starts the part when it is run as an application

Parameters:
args - java.lang.String[]
 o setFlotteToJoueur
 public void setFlotteToJoueur(Vector vFlotte)
Attribue La flotte au Joueur

Parameters:
vFlotte - java.util.Vector
 o setNbJoueur
 public void setNbJoueur(int nbj)
This methode was NOT created with visual age

Parameters:
nbj - int
 o setPseudo
 public void setPseudo(String pseudo)
Parameters:
pseudo - java.lang.String
 o showDialog
 public void showDialog(String msg,
                        String titre)
This method was created in VisualAge.

Parameters:
titre - java.lang.String
msg - java.lang.String
 o showErreur
 public void showErreur(String msg)
This method was created in VisualAge.

Parameters:
msg - java.lang.String
 o windowActivated
 public void windowActivated(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowClosed
 public void windowClosed(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowClosing
 public void windowClosing(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowDeactivated
 public void windowDeactivated(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o windowIconified
 public void windowIconified(WindowEvent e)
Method to handle events for the WindowListener interface.

Parameters:
e - java.awt.event.WindowEvent
 o 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