-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTutorielCapture.java
55 lines (43 loc) · 1.34 KB
/
TutorielCapture.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
55
import java.awt.Graphics;
import java.awt.Dimension;
/**
* Write a description of class Tutorielcapture here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class TutorielCapture extends Tutoriel
{
/**
* Constructor for objects of class Tutorielcapture
*/
public TutorielCapture(final String provenance)
{
super(provenance);
this.setPreferredSize(new Dimension(800, 550));
}
public void deroulement(final Graphics g)
{
switch ( aEtape )
{
case 1 :
afficheImageRedim("tutocapture1",0,0,this.getWidth(),this.getHeight(),g);
break;
case 2 :
afficheImageRedim("tutocapture2",0,0,this.getWidth(),this.getHeight(),g);
break;
case 3 :
afficheImageRedim("tutocapture3",0,0,this.getWidth(),this.getHeight(),g);
break;
case 4 :
afficheImageRedim("tutocapture4",0,0,this.getWidth(),this.getHeight(),g);
break;
default :
if(aProvenance == "menu")
{
Slatch.ihm.passageModeMenuPrincipal();
Slatch.ihm.getPanelMenu().departMenuTuto();
}
}
}
}