FaultInOurPong  1
view.Tutorial Class Reference
Inheritance diagram for view.Tutorial:

Public Member Functions

 Tutorial (ImageIcon img)
 Constructor for the tutorial page. More...
 
JButton getBack ()
 gets the button to exit the page More...
 
void addListener (ActionListener listener)
 adds action listener to the button More...
 

Private Attributes

JButton back
 

Constructor & Destructor Documentation

§ Tutorial()

view.Tutorial.Tutorial ( ImageIcon  img)

Constructor for the tutorial page.

Parameters
imgis the image for display

Setups for the window

Add the image to the window

Member Function Documentation

§ addListener()

void view.Tutorial.addListener ( ActionListener  listener)

adds action listener to the button

Parameters
listeneris the action listener

§ getBack()

JButton view.Tutorial.getBack ( )

gets the button to exit the page

Returns
back is the button for going back to welcome page

Member Data Documentation

§ back

JButton view.Tutorial.back
private

Variable declaration for the back button


The documentation for this class was generated from the following file: