-
Notifications
You must be signed in to change notification settings - Fork 1
/
TutorielAchat.java
54 lines (43 loc) · 1.33 KB
/
TutorielAchat.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import java.awt.Graphics;
import java.awt.Dimension;
/**
* Write a description of class Tutorielachat here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class TutorielAchat extends Tutoriel
{
/**
* Constructor for objects of class Tutorielachat
*/
public TutorielAchat(final String provenance)
{
super(provenance);
this.setPreferredSize(new Dimension(800, 550));
}
public void deroulement(final Graphics g)
{
switch ( aEtape )
{
case 1 :
afficheImageRedim("tutoachat1",0,0,this.getWidth(),this.getHeight(),g);
break;
case 2 :
afficheImageRedim("tutoachat2",0,0,this.getWidth(),this.getHeight(),g);
break;
case 3 :
afficheImageRedim("tutoachat3",0,0,this.getWidth(),this.getHeight(),g);
break;
case 4 :
afficheImageRedim("tutoachat4",0,0,this.getWidth(),this.getHeight(),g);
break;
default :
if(aProvenance == "menu")
{
Slatch.ihm.passageModeMenuPrincipal();
Slatch.ihm.getPanelMenu().departMenuTuto();
}
}
}
}