All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class navalBattle.FrameNbJoueurs

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----navalBattle.FrameNbJoueurs

public class FrameNbJoueurs
extends Frame
implements ActionListener, WindowListener
Fenetre de choix du nombre de joueurs si on est serveur


Variable Index

 o frame
 o ivjButtonOk
 o ivjContentsPane
 o ivjFrameNbJoueursBorderLayout
 o ivjLabel1
 o ivjTextField1
 o MAXNBJOUEURS
 o nbJoueurs

Constructor Index

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

Method Index

 o actionPerformed(ActionEvent)
Method to handle events for the ActionListener interface.
 o buttonOk_ActionPerformed(ActionEvent)
Comment
 o connEtoC1(WindowEvent)
connEtoC1: (FrameNbJoueurs.window.windowClosing(java.awt.event.WindowEvent) --> FrameNbJoueurs.dispose()V)
 o connEtoC2(ActionEvent)
connEtoC2: (ButtonOk.action.actionPerformed(java.awt.event.ActionEvent) --> FrameNbJoueurs.buttonOk_ActionPerformed(Ljava.awt.event.ActionEvent;)V)
 o connEtoC3(ActionEvent)
connEtoC3: (TextField1.action.actionPerformed(java.awt.event.ActionEvent) --> FrameNbJoueurs.textField1_ActionPerformed(Ljava.awt.event.ActionEvent;)V)
 o getBuilderData()
 o getButtonOk()
Return the ButtonOk property value.
 o getContentsPane()
Return the ContentsPane property value.
 o getFrameNbJoueursBorderLayout()
Return the FrameNbJoueursBorderLayout property value.
 o getLabel1()
Return the Label1 property value.
 o getMinimumSize()
This method was created in VisualAge.
 o getPreferedSize()
This method was created in VisualAge.
 o getTextField1()
Return the TextField1 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 setFrame(Frame)
This method was created in VisualAge.
 o setNbJoueurs()
This method was created in VisualAge.
 o textField1_ActionPerformed(ActionEvent)
Comment
 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 ivjContentsPane
 private Panel ivjContentsPane
 o ivjLabel1
 private Label ivjLabel1
 o ivjTextField1
 private TextField ivjTextField1
 o nbJoueurs
 private int nbJoueurs
 o MAXNBJOUEURS
 private static int MAXNBJOUEURS
 o ivjFrameNbJoueursBorderLayout
 private BorderLayout ivjFrameNbJoueursBorderLayout
 o frame
 private Frame frame
 o ivjButtonOk
 private Button ivjButtonOk

Constructors

 o FrameNbJoueurs
 public FrameNbJoueurs()
Constructor

 o FrameNbJoueurs
 public FrameNbJoueurs(String title)
FrameNbJoueurs 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 buttonOk_ActionPerformed
 public void buttonOk_ActionPerformed(ActionEvent actionEvent)
Comment

 o connEtoC1
 private void connEtoC1(WindowEvent arg1)
connEtoC1: (FrameNbJoueurs.window.windowClosing(java.awt.event.WindowEvent) --> FrameNbJoueurs.dispose()V)

Parameters:
arg1 - java.awt.event.WindowEvent
 o connEtoC2
 private void connEtoC2(ActionEvent arg1)
connEtoC2: (ButtonOk.action.actionPerformed(java.awt.event.ActionEvent) --> FrameNbJoueurs.buttonOk_ActionPerformed(Ljava.awt.event.ActionEvent;)V)

Parameters:
arg1 - java.awt.event.ActionEvent
 o connEtoC3
 private void connEtoC3(ActionEvent arg1)
connEtoC3: (TextField1.action.actionPerformed(java.awt.event.ActionEvent) --> FrameNbJoueurs.textField1_ActionPerformed(Ljava.awt.event.ActionEvent;)V)

Parameters:
arg1 - java.awt.event.ActionEvent
 o getBuilderData
 private static void getBuilderData()
 o getButtonOk
 private Button getButtonOk()
Return the ButtonOk property value.

Returns:
java.awt.Button
 o getContentsPane
 private Panel getContentsPane()
Return the ContentsPane property value.

Returns:
java.awt.Panel
 o getFrameNbJoueursBorderLayout
 private BorderLayout getFrameNbJoueursBorderLayout()
Return the FrameNbJoueursBorderLayout property value.

Returns:
java.awt.BorderLayout
 o getLabel1
 private Label getLabel1()
Return the Label1 property value.

Returns:
java.awt.Label
 o getMinimumSize
 public Dimension getMinimumSize()
This method was created in VisualAge.

Returns:
java.awt.Dimension
Overrides:
getMinimumSize in class Container
 o getPreferedSize
 public Dimension getPreferedSize()
This method was created in VisualAge.

Returns:
Dimension
 o getTextField1
 private TextField getTextField1()
Return the TextField1 property value.

Returns:
java.awt.TextField
 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 setFrame
 public void setFrame(Frame f)
This method was created in VisualAge.

Parameters:
f - java.awt.Frame
 o setNbJoueurs
 public void setNbJoueurs()
This method was created in VisualAge.

Parameters:
val - java.lang.String
 o textField1_ActionPerformed
 public void textField1_ActionPerformed(ActionEvent actionEvent)
Comment

 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