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
-
frame
-
-
ivjButtonOk
-
-
ivjContentsPane
-
-
ivjFrameNbJoueursBorderLayout
-
-
ivjLabel1
-
-
ivjTextField1
-
-
MAXNBJOUEURS
-
-
nbJoueurs
-
-
FrameNbJoueurs()
- Constructor
-
FrameNbJoueurs(String)
- FrameNbJoueurs constructor comment.
-
actionPerformed(ActionEvent)
- Method to handle events for the ActionListener interface.
-
buttonOk_ActionPerformed(ActionEvent)
- Comment
-
connEtoC1(WindowEvent)
- connEtoC1: (FrameNbJoueurs.window.windowClosing(java.awt.event.WindowEvent) --> FrameNbJoueurs.dispose()V)
-
connEtoC2(ActionEvent)
- connEtoC2: (ButtonOk.action.actionPerformed(java.awt.event.ActionEvent) --> FrameNbJoueurs.buttonOk_ActionPerformed(Ljava.awt.event.ActionEvent;)V)
-
connEtoC3(ActionEvent)
- connEtoC3: (TextField1.action.actionPerformed(java.awt.event.ActionEvent) --> FrameNbJoueurs.textField1_ActionPerformed(Ljava.awt.event.ActionEvent;)V)
-
getBuilderData()
-
-
getButtonOk()
- Return the ButtonOk property value.
-
getContentsPane()
- Return the ContentsPane property value.
-
getFrameNbJoueursBorderLayout()
- Return the FrameNbJoueursBorderLayout property value.
-
getLabel1()
- Return the Label1 property value.
-
getMinimumSize()
- This method was created in VisualAge.
-
getPreferedSize()
- This method was created in VisualAge.
-
getTextField1()
- Return the TextField1 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
-
setFrame(Frame)
- This method was created in VisualAge.
-
setNbJoueurs()
- This method was created in VisualAge.
-
textField1_ActionPerformed(ActionEvent)
- Comment
-
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.
ivjContentsPane
private Panel ivjContentsPane
ivjLabel1
private Label ivjLabel1
ivjTextField1
private TextField ivjTextField1
nbJoueurs
private int nbJoueurs
MAXNBJOUEURS
private static int MAXNBJOUEURS
ivjFrameNbJoueursBorderLayout
private BorderLayout ivjFrameNbJoueursBorderLayout
frame
private Frame frame
ivjButtonOk
private Button ivjButtonOk
FrameNbJoueurs
public FrameNbJoueurs()
- Constructor
FrameNbJoueurs
public FrameNbJoueurs(String title)
- FrameNbJoueurs 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
buttonOk_ActionPerformed
public void buttonOk_ActionPerformed(ActionEvent actionEvent)
- Comment
connEtoC1
private void connEtoC1(WindowEvent arg1)
- connEtoC1: (FrameNbJoueurs.window.windowClosing(java.awt.event.WindowEvent) --> FrameNbJoueurs.dispose()V)
- Parameters:
- arg1 - java.awt.event.WindowEvent
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
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
getBuilderData
private static void getBuilderData()
getButtonOk
private Button getButtonOk()
- Return the ButtonOk property value.
- Returns:
- java.awt.Button
getContentsPane
private Panel getContentsPane()
- Return the ContentsPane property value.
- Returns:
- java.awt.Panel
getFrameNbJoueursBorderLayout
private BorderLayout getFrameNbJoueursBorderLayout()
- Return the FrameNbJoueursBorderLayout property value.
- Returns:
- java.awt.BorderLayout
getLabel1
private Label getLabel1()
- Return the Label1 property value.
- Returns:
- java.awt.Label
getMinimumSize
public Dimension getMinimumSize()
- This method was created in VisualAge.
- Returns:
- java.awt.Dimension
- Overrides:
- getMinimumSize in class Container
getPreferedSize
public Dimension getPreferedSize()
- This method was created in VisualAge.
- Returns:
- Dimension
getTextField1
private TextField getTextField1()
- Return the TextField1 property value.
- Returns:
- java.awt.TextField
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[]
setFrame
public void setFrame(Frame f)
- This method was created in VisualAge.
- Parameters:
- f - java.awt.Frame
setNbJoueurs
public void setNbJoueurs()
- This method was created in VisualAge.
- Parameters:
- val - java.lang.String
textField1_ActionPerformed
public void textField1_ActionPerformed(ActionEvent actionEvent)
- Comment
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