├── .classpath ├── .gitignore ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── README.md ├── bin └── pack │ ├── Applet.class │ ├── FR.class │ ├── Html.class │ ├── Immatriculation.class │ ├── LUX.class │ ├── Main.class │ ├── Pays.class │ ├── TN.class │ └── USA.class ├── class (1).png ├── class_diag.ucls ├── doc ├── allclasses-index.html ├── allclasses.html ├── allpackages-index.html ├── constant-values.html ├── deprecated-list.html ├── element-list ├── help-doc.html ├── index-files │ ├── index-1.html │ ├── index-2.html │ ├── index-3.html │ ├── index-4.html │ ├── index-5.html │ ├── index-6.html │ ├── index-7.html │ ├── index-8.html │ └── index-9.html ├── index.html ├── jquery │ ├── external │ │ └── jquery │ │ │ └── jquery.js │ ├── images │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_dadada_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ └── ui-icons_cd0a0a_256x240.png │ ├── jquery-3.4.1.js │ ├── jquery-ui.css │ ├── jquery-ui.js │ ├── jquery-ui.min.css │ ├── jquery-ui.min.js │ ├── jquery-ui.structure.css │ ├── jquery-ui.structure.min.css │ ├── jszip-utils │ │ └── dist │ │ │ ├── jszip-utils-ie.js │ │ │ ├── jszip-utils-ie.min.js │ │ │ ├── jszip-utils.js │ │ │ └── jszip-utils.min.js │ └── jszip │ │ └── dist │ │ ├── jszip.js │ │ └── jszip.min.js ├── member-search-index.js ├── member-search-index.zip ├── overview-tree.html ├── pack │ ├── Applet.html │ ├── FR.html │ ├── Html.html │ ├── Immatriculation.html │ ├── LUX.html │ ├── Main.html │ ├── Pays.html │ ├── TN.html │ ├── USA.html │ ├── class-use │ │ ├── Applet.html │ │ ├── FR.html │ │ ├── Html.html │ │ ├── Immatriculation.html │ │ ├── LUX.html │ │ ├── Main.html │ │ ├── Pays.html │ │ ├── TN.html │ │ └── USA.html │ ├── package-summary.html │ ├── package-tree.html │ └── package-use.html ├── package-search-index.js ├── package-search-index.zip ├── resources │ ├── glass.png │ └── x.png ├── script.js ├── search.js ├── stylesheet.css ├── type-search-index.js └── type-search-index.zip └── src └── pack ├── Applet.java ├── FR.java ├── Html.java ├── Immatriculation.java ├── LUX.java ├── Main.java ├── Pays.java ├── TN.java └── USA.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ############################## 2 | ## Java 3 | ############################## 4 | .mtj.tmp/ 5 | *.class 6 | *.jar 7 | *.war 8 | *.ear 9 | *.nar 10 | hs_err_pid* 11 | 12 | ############################## 13 | ## Maven 14 | ############################## 15 | target/ 16 | pom.xml.tag 17 | pom.xml.releaseBackup 18 | pom.xml.versionsBackup 19 | pom.xml.next 20 | pom.xml.bak 21 | release.properties 22 | dependency-reduced-pom.xml 23 | buildNumber.properties 24 | .mvn/timing.properties 25 | .mvn/wrapper/maven-wrapper.jar 26 | 27 | ############################## 28 | ## Gradle 29 | ############################## 30 | bin/ 31 | build/ 32 | .gradle 33 | .gradletasknamecache 34 | gradle-app.setting 35 | !gradle-wrapper.jar 36 | 37 | ############################## 38 | ## IntelliJ 39 | ############################## 40 | out/ 41 | .idea/ 42 | .idea_modules/ 43 | *.iml 44 | *.ipr 45 | *.iws 46 | 47 | ############################## 48 | ## Eclipse 49 | ############################## 50 | .settings/ 51 | bin/ 52 | tmp/ 53 | .metadata 54 | .classpath 55 | .project 56 | *.tmp 57 | *.bak 58 | *.swp 59 | *~.nib 60 | local.properties 61 | .loadpath 62 | .factorypath 63 | 64 | ############################## 65 | ## NetBeans 66 | ############################## 67 | nbproject/private/ 68 | build/ 69 | nbbuild/ 70 | dist/ 71 | nbdist/ 72 | nbactions.xml 73 | nb-configuration.xml 74 | 75 | ############################## 76 | ## Visual Studio Code 77 | ############################## 78 | .vscode/ 79 | .code-workspace 80 | 81 | ############################## 82 | ## OS X 83 | ############################## 84 | .DS_Store 85 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | DS 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=11 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning 13 | org.eclipse.jdt.core.compiler.release=enabled 14 | org.eclipse.jdt.core.compiler.source=11 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # ==>> Strategy behaviour pattern impl <<== 3 | #### Written in Java <3 <3 4 | 5 | ### We have come to a conclusion that Strategy pattern is the ideal solution to resolve the problem assigned for us 6 | 7 | - class(1) => Class diagram of the Strategy pattern (based on the problem) 8 | 9 | ![class (1)](https://user-images.githubusercontent.com/40203497/108915617-70065080-762d-11eb-8ccb-87249c26de5a.png) 10 | 11 | -------------------------------------------------------------------------------- /bin/pack/Applet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/Applet.class -------------------------------------------------------------------------------- /bin/pack/FR.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/FR.class -------------------------------------------------------------------------------- /bin/pack/Html.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/Html.class -------------------------------------------------------------------------------- /bin/pack/Immatriculation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/Immatriculation.class -------------------------------------------------------------------------------- /bin/pack/LUX.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/LUX.class -------------------------------------------------------------------------------- /bin/pack/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/Main.class -------------------------------------------------------------------------------- /bin/pack/Pays.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/Pays.class -------------------------------------------------------------------------------- /bin/pack/TN.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/TN.class -------------------------------------------------------------------------------- /bin/pack/USA.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/bin/pack/USA.class -------------------------------------------------------------------------------- /class (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/class (1).png -------------------------------------------------------------------------------- /class_diag.ucls: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 51 | 52 | 54 | 55 | 56 | 57 | 58 | 60 | 61 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 97 | 98 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /doc/allclasses-index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | All Classes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 39 | 42 |
43 | 99 |
100 |
101 |
102 |

All Classes

103 |
104 |
105 | 152 |
153 |
154 | 199 | 200 | 201 | -------------------------------------------------------------------------------- /doc/allclasses.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | All Classes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 |

All Classes

22 |
23 | 34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /doc/allpackages-index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | All Packages 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

All Packages

97 |
98 |
99 | 116 |
117 |
118 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /doc/constant-values.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Constant Field Values 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Constant Field Values

97 |
98 |

Contents

99 |
100 |
101 |
102 | 147 | 148 | 149 | -------------------------------------------------------------------------------- /doc/deprecated-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Deprecated List 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Deprecated API

97 |

Contents

98 |
99 |
100 | 145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/element-list: -------------------------------------------------------------------------------- 1 | pack 2 | -------------------------------------------------------------------------------- /doc/index-files/index-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | A-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

A

99 |
100 |
Applet - Class in pack
101 |
 
102 |
Applet() - Constructor for class pack.Applet
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index-files/index-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | F-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

F

99 |
100 |
FR - Class in pack
101 |
 
102 |
FR() - Constructor for class pack.FR
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index-files/index-3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | H-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

H

99 |
100 |
Html - Class in pack
101 |
 
102 |
Html() - Constructor for class pack.Html
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index-files/index-4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | I-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

I

99 |
100 |
Immatriculation - Class in pack
101 |
 
102 |
Immatriculation() - Constructor for class pack.Immatriculation
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index-files/index-5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | L-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

L

99 |
100 |
LUX - Class in pack
101 |
 
102 |
LUX() - Constructor for class pack.LUX
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index-files/index-6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | M-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

M

99 |
100 |
main(String[]) - Static method in class pack.Main
101 |
102 |
We just need to add a new country and implement the Pays interface
103 |
104 |
Main - Class in pack
105 |
 
106 |
Main() - Constructor for class pack.Main
107 |
 
108 |
myPays() - Method in class pack.FR
109 |
 
110 |
myPays() - Method in class pack.LUX
111 |
 
112 |
myPays() - Method in interface pack.Pays
113 |
114 |
this method which is responsible for invocation by Immatriculation in main method
115 |
116 |
myPays() - Method in class pack.TN
117 |
 
118 |
myPays() - Method in class pack.USA
119 |
 
120 |
121 | A F H I L M P T U 
All Classes All Packages
122 |
123 | 168 | 169 | 170 | -------------------------------------------------------------------------------- /doc/index-files/index-7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | P-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

P

99 |
100 |
pack - package pack
101 |
 
102 |
Pays - Interface in pack
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index-files/index-8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | T-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

T

99 |
100 |
TN - Class in pack
101 |
 
102 |
TN() - Constructor for class pack.TN
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index-files/index-9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | U-Index 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
A F H I L M P T U 
All Classes All Packages 96 | 97 | 98 |

U

99 |
100 |
USA - Class in pack
101 |
 
102 |
USA() - Constructor for class pack.USA
103 |
 
104 |
105 | A F H I L M P T U 
All Classes All Packages
106 |
107 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Generated Documentation (Untitled) 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 |
17 | 20 |

pack/package-summary.html

21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-bg_glass_65_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-bg_glass_65_dadada_1x400.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /doc/jquery/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/jquery/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /doc/jquery/jquery-ui.structure.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI CSS Framework 1.12.1 3 | * http://jqueryui.com 4 | * 5 | * Copyright jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/category/theming/ 10 | */ 11 | /* Layout helpers 12 | ----------------------------------*/ 13 | .ui-helper-hidden { 14 | display: none; 15 | } 16 | .ui-helper-hidden-accessible { 17 | border: 0; 18 | clip: rect(0 0 0 0); 19 | height: 1px; 20 | margin: -1px; 21 | overflow: hidden; 22 | padding: 0; 23 | position: absolute; 24 | width: 1px; 25 | } 26 | .ui-helper-reset { 27 | margin: 0; 28 | padding: 0; 29 | border: 0; 30 | outline: 0; 31 | line-height: 1.3; 32 | text-decoration: none; 33 | font-size: 100%; 34 | list-style: none; 35 | } 36 | .ui-helper-clearfix:before, 37 | .ui-helper-clearfix:after { 38 | content: ""; 39 | display: table; 40 | border-collapse: collapse; 41 | } 42 | .ui-helper-clearfix:after { 43 | clear: both; 44 | } 45 | .ui-helper-zfix { 46 | width: 100%; 47 | height: 100%; 48 | top: 0; 49 | left: 0; 50 | position: absolute; 51 | opacity: 0; 52 | filter:Alpha(Opacity=0); /* support: IE8 */ 53 | } 54 | 55 | .ui-front { 56 | z-index: 100; 57 | } 58 | 59 | 60 | /* Interaction Cues 61 | ----------------------------------*/ 62 | .ui-state-disabled { 63 | cursor: default !important; 64 | pointer-events: none; 65 | } 66 | 67 | 68 | /* Icons 69 | ----------------------------------*/ 70 | .ui-icon { 71 | display: inline-block; 72 | vertical-align: middle; 73 | margin-top: -.25em; 74 | position: relative; 75 | text-indent: -99999px; 76 | overflow: hidden; 77 | background-repeat: no-repeat; 78 | } 79 | 80 | .ui-widget-icon-block { 81 | left: 50%; 82 | margin-left: -8px; 83 | display: block; 84 | } 85 | 86 | /* Misc visuals 87 | ----------------------------------*/ 88 | 89 | /* Overlays */ 90 | .ui-widget-overlay { 91 | position: fixed; 92 | top: 0; 93 | left: 0; 94 | width: 100%; 95 | height: 100%; 96 | } 97 | .ui-autocomplete { 98 | position: absolute; 99 | top: 0; 100 | left: 0; 101 | cursor: default; 102 | } 103 | .ui-menu { 104 | list-style: none; 105 | padding: 0; 106 | margin: 0; 107 | display: block; 108 | outline: 0; 109 | } 110 | .ui-menu .ui-menu { 111 | position: absolute; 112 | } 113 | .ui-menu .ui-menu-item { 114 | margin: 0; 115 | cursor: pointer; 116 | /* support: IE10, see #8844 */ 117 | list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); 118 | } 119 | .ui-menu .ui-menu-item-wrapper { 120 | position: relative; 121 | padding: 3px 1em 3px .4em; 122 | } 123 | .ui-menu .ui-menu-divider { 124 | margin: 5px 0; 125 | height: 0; 126 | font-size: 0; 127 | line-height: 0; 128 | border-width: 1px 0 0 0; 129 | } 130 | .ui-menu .ui-state-focus, 131 | .ui-menu .ui-state-active { 132 | margin: -1px; 133 | } 134 | 135 | /* icon support */ 136 | .ui-menu-icons { 137 | position: relative; 138 | } 139 | .ui-menu-icons .ui-menu-item-wrapper { 140 | padding-left: 2em; 141 | } 142 | 143 | /* left-aligned */ 144 | .ui-menu .ui-icon { 145 | position: absolute; 146 | top: 0; 147 | bottom: 0; 148 | left: .2em; 149 | margin: auto 0; 150 | } 151 | 152 | /* right-aligned */ 153 | .ui-menu .ui-menu-icon { 154 | left: auto; 155 | right: 0; 156 | } 157 | -------------------------------------------------------------------------------- /doc/jquery/jquery-ui.structure.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2018-12-06 2 | * http://jqueryui.com 3 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0} -------------------------------------------------------------------------------- /doc/jquery/jszip-utils/dist/jszip-utils-ie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | JSZipUtils - A collection of cross-browser utilities to go along with JSZip. 4 | 5 | 6 | (c) 2014 Stuart Knightley, David Duponchel 7 | Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. 8 | 9 | */ 10 | ;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o\r\n"+ 18 | "\r\n"; 32 | 33 | // inject VBScript 34 | document.write(IEBinaryToArray_ByteStr_Script); 35 | 36 | global.JSZipUtils._getBinaryFromXHR = function (xhr) { 37 | var binary = xhr.responseBody; 38 | var byteMapping = {}; 39 | for ( var i = 0; i < 256; i++ ) { 40 | for ( var j = 0; j < 256; j++ ) { 41 | byteMapping[ String.fromCharCode( i + (j << 8) ) ] = 42 | String.fromCharCode(i) + String.fromCharCode(j); 43 | } 44 | } 45 | var rawBytes = IEBinaryToArray_ByteStr(binary); 46 | var lastChr = IEBinaryToArray_ByteStr_Last(binary); 47 | return rawBytes.replace(/[\s\S]/g, function( match ) { 48 | return byteMapping[match]; 49 | }) + lastChr; 50 | }; 51 | 52 | // enforcing Stuk's coding style 53 | // vim: set shiftwidth=4 softtabstop=4: 54 | 55 | },{}]},{},[1]) 56 | ; 57 | -------------------------------------------------------------------------------- /doc/jquery/jszip-utils/dist/jszip-utils-ie.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | JSZipUtils - A collection of cross-browser utilities to go along with JSZip. 4 | 5 | 6 | (c) 2014 Stuart Knightley, David Duponchel 7 | Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. 8 | 9 | */ 10 | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); 11 | -------------------------------------------------------------------------------- /doc/jquery/jszip-utils/dist/jszip-utils.js: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | JSZipUtils - A collection of cross-browser utilities to go along with JSZip. 4 | 5 | 6 | (c) 2014 Stuart Knightley, David Duponchel 7 | Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. 8 | 9 | */ 10 | !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o 5 | 6 | (c) 2014 Stuart Knightley, David Duponchel 7 | Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. 8 | 9 | */ 10 | !function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g 2 | 3 | 4 | 5 | 6 | Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Hierarchy For All Packages

97 | Package Hierarchies: 98 | 101 |
102 |
103 |
104 |

Class Hierarchy

105 |
    106 |
  • java.lang.Object 107 | 120 |
  • 121 |
122 |
123 |
124 |

Interface Hierarchy

125 |
    126 |
  • pack.Pays
  • 127 |
128 |
129 |
130 |
131 |
132 | 175 |
176 | 177 | 178 | -------------------------------------------------------------------------------- /doc/pack/Applet.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Applet 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 108 |
109 | 110 |
111 |
112 |
Package pack
113 |

Class Applet

114 |
115 |
116 |
    117 |
  • java.lang.Object
  • 118 |
  • 119 | 127 |
  • 128 |
129 |
130 |
    131 |
  • 132 |
    133 |
    public class Applet
    134 | extends Immatriculation
    135 |
  • 136 |
137 |
138 |
139 |
    140 |
  • 141 | 142 |
    143 |
      144 |
    • 145 | 146 | 147 |

      Constructor Summary

      148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 |
      Constructors 
      ConstructorDescription
      Applet() 
      159 |
    • 160 |
    161 |
    162 | 163 |
    164 |
      165 |
    • 166 | 167 | 168 |

      Method Summary

      169 |
        170 |
      • 171 | 172 | 173 |

        Methods inherited from class java.lang.Object

        174 | equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 175 |
      176 |
    • 177 |
    178 |
    179 |
  • 180 |
181 |
182 |
183 |
    184 |
  • 185 | 186 |
    187 |
      188 |
    • 189 | 190 | 191 |

      Constructor Detail

      192 | 193 | 194 | 195 |
        196 |
      • 197 |

        Applet

        198 |
        public Applet()
        199 |
      • 200 |
      201 |
    • 202 |
    203 |
    204 |
  • 205 |
206 |
207 |
208 |
209 | 210 |
211 | 269 |
270 | 271 | 272 | -------------------------------------------------------------------------------- /doc/pack/Html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Html 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 108 |
109 | 110 |
111 |
112 |
Package pack
113 |

Class Html

114 |
115 |
116 |
    117 |
  • java.lang.Object
  • 118 |
  • 119 | 127 |
  • 128 |
129 |
130 |
    131 |
  • 132 |
    133 |
    public class Html
    134 | extends Immatriculation
    135 |
  • 136 |
137 |
138 |
139 |
    140 |
  • 141 | 142 |
    143 |
      144 |
    • 145 | 146 | 147 |

      Constructor Summary

      148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 |
      Constructors 
      ConstructorDescription
      Html() 
      159 |
    • 160 |
    161 |
    162 | 163 |
    164 |
      165 |
    • 166 | 167 | 168 |

      Method Summary

      169 |
        170 |
      • 171 | 172 | 173 |

        Methods inherited from class java.lang.Object

        174 | equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 175 |
      176 |
    • 177 |
    178 |
    179 |
  • 180 |
181 |
182 |
183 |
    184 |
  • 185 | 186 |
    187 |
      188 |
    • 189 | 190 | 191 |

      Constructor Detail

      192 | 193 | 194 | 195 |
        196 |
      • 197 |

        Html

        198 |
        public Html()
        199 |
      • 200 |
      201 |
    • 202 |
    203 |
    204 |
  • 205 |
206 |
207 |
208 |
209 | 210 |
211 | 269 |
270 | 271 | 272 | -------------------------------------------------------------------------------- /doc/pack/class-use/Applet.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.Applet 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.Applet

97 |
98 |
No usage of pack.Applet
99 |
100 |
101 | 144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/pack/class-use/FR.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.FR 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.FR

97 |
98 |
No usage of pack.FR
99 |
100 |
101 | 144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/pack/class-use/Html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.Html 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.Html

97 |
98 |
No usage of pack.Html
99 |
100 |
101 | 144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/pack/class-use/Immatriculation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.Immatriculation 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.Immatriculation

97 |
98 |
99 |
    100 |
  • 101 | 130 |
  • 131 |
132 |
133 |
134 |
135 | 178 |
179 | 180 | 181 | -------------------------------------------------------------------------------- /doc/pack/class-use/LUX.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.LUX 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.LUX

97 |
98 |
No usage of pack.LUX
99 |
100 |
101 | 144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/pack/class-use/Main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.Main 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.Main

97 |
98 |
No usage of pack.Main
99 |
100 |
101 | 144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/pack/class-use/Pays.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Interface pack.Pays 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Interface
pack.Pays

97 |
98 |
99 |
    100 |
  • 101 |
      102 |
    • 103 |
      104 | 105 | 106 |

      Uses of Pays in pack

      107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 |
      Classes in pack that implement Pays 
      Modifier and TypeClassDescription
      class FR 
      class LUX 
      class TN 
      class USA 
      137 |
      138 |
    • 139 |
    140 |
  • 141 |
142 |
143 |
144 |
145 | 188 |
189 | 190 | 191 | -------------------------------------------------------------------------------- /doc/pack/class-use/TN.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.TN 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.TN

97 |
98 |
No usage of pack.TN
99 |
100 |
101 | 144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/pack/class-use/USA.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class pack.USA 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Class
pack.USA

97 |
98 |
No usage of pack.USA
99 |
100 |
101 | 144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/pack/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | pack 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Package pack

97 |
98 |
99 |
    100 |
  • 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 |
    Interface Summary 
    InterfaceDescription
    Pays 
    114 |
  • 115 |
  • 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 |
    Class Summary 
    ClassDescription
    Applet 
    FR 
    Html 
    Immatriculation 
    LUX 
    Main 
    TN 
    USA 
    157 |
  • 158 |
159 |
160 |
161 |
162 | 205 |
206 | 207 | 208 | -------------------------------------------------------------------------------- /doc/pack/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | pack Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Hierarchy For Package pack

97 |
98 |
99 |
100 |

Class Hierarchy

101 |
    102 |
  • java.lang.Object 103 | 116 |
  • 117 |
118 |
119 |
120 |

Interface Hierarchy

121 |
    122 |
  • pack.Pays
  • 123 |
124 |
125 |
126 |
127 |
128 | 171 |
172 | 173 | 174 | -------------------------------------------------------------------------------- /doc/pack/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Package pack 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 33 | 36 |
37 | 93 |
94 |
95 |
96 |

Uses of Package
pack

97 |
98 |
99 |
    100 |
  • 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 |
    Classes in pack used by pack 
    ClassDescription
    Immatriculation 
    Pays 
    120 |
  • 121 |
122 |
123 |
124 |
125 | 168 |
169 | 170 | 171 | -------------------------------------------------------------------------------- /doc/package-search-index.js: -------------------------------------------------------------------------------- 1 | packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"pack"}] -------------------------------------------------------------------------------- /doc/package-search-index.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/package-search-index.zip -------------------------------------------------------------------------------- /doc/resources/glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/resources/glass.png -------------------------------------------------------------------------------- /doc/resources/x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/resources/x.png -------------------------------------------------------------------------------- /doc/script.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | var moduleSearchIndex; 27 | var packageSearchIndex; 28 | var typeSearchIndex; 29 | var memberSearchIndex; 30 | var tagSearchIndex; 31 | function loadScripts(doc, tag) { 32 | createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); 33 | createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); 34 | if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || 35 | window.navigator.userAgent.indexOf('Edge/') > 0) { 36 | createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); 37 | } 38 | createElem(doc, tag, 'search.js'); 39 | 40 | $.get(pathtoroot + "module-search-index.zip") 41 | .done(function() { 42 | JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { 43 | var zip = new JSZip(data); 44 | zip.load(data); 45 | moduleSearchIndex = JSON.parse(zip.file("module-search-index.json").asText()); 46 | }); 47 | }); 48 | $.get(pathtoroot + "package-search-index.zip") 49 | .done(function() { 50 | JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { 51 | var zip = new JSZip(data); 52 | zip.load(data); 53 | packageSearchIndex = JSON.parse(zip.file("package-search-index.json").asText()); 54 | }); 55 | }); 56 | $.get(pathtoroot + "type-search-index.zip") 57 | .done(function() { 58 | JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { 59 | var zip = new JSZip(data); 60 | zip.load(data); 61 | typeSearchIndex = JSON.parse(zip.file("type-search-index.json").asText()); 62 | }); 63 | }); 64 | $.get(pathtoroot + "member-search-index.zip") 65 | .done(function() { 66 | JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { 67 | var zip = new JSZip(data); 68 | zip.load(data); 69 | memberSearchIndex = JSON.parse(zip.file("member-search-index.json").asText()); 70 | }); 71 | }); 72 | $.get(pathtoroot + "tag-search-index.zip") 73 | .done(function() { 74 | JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { 75 | var zip = new JSZip(data); 76 | zip.load(data); 77 | tagSearchIndex = JSON.parse(zip.file("tag-search-index.json").asText()); 78 | }); 79 | }); 80 | if (!moduleSearchIndex) { 81 | createElem(doc, tag, 'module-search-index.js'); 82 | } 83 | if (!packageSearchIndex) { 84 | createElem(doc, tag, 'package-search-index.js'); 85 | } 86 | if (!typeSearchIndex) { 87 | createElem(doc, tag, 'type-search-index.js'); 88 | } 89 | if (!memberSearchIndex) { 90 | createElem(doc, tag, 'member-search-index.js'); 91 | } 92 | if (!tagSearchIndex) { 93 | createElem(doc, tag, 'tag-search-index.js'); 94 | } 95 | $(window).resize(function() { 96 | $('.navPadding').css('padding-top', $('.fixedNav').css("height")); 97 | }); 98 | } 99 | 100 | function createElem(doc, tag, path) { 101 | var script = doc.createElement(tag); 102 | var scriptElement = doc.getElementsByTagName(tag)[0]; 103 | script.src = pathtoroot + path; 104 | scriptElement.parentNode.insertBefore(script, scriptElement); 105 | } 106 | 107 | function show(type) { 108 | count = 0; 109 | for (var key in data) { 110 | var row = document.getElementById(key); 111 | if ((data[key] & type) !== 0) { 112 | row.style.display = ''; 113 | row.className = (count++ % 2) ? rowColor : altColor; 114 | } 115 | else 116 | row.style.display = 'none'; 117 | } 118 | updateTabs(type); 119 | } 120 | 121 | function updateTabs(type) { 122 | for (var value in tabs) { 123 | var sNode = document.getElementById(tabs[value][0]); 124 | var spanNode = sNode.firstChild; 125 | if (value == type) { 126 | sNode.className = activeTableTab; 127 | spanNode.innerHTML = tabs[value][1]; 128 | } 129 | else { 130 | sNode.className = tableTab; 131 | spanNode.innerHTML = "" + tabs[value][1] + ""; 132 | } 133 | } 134 | } 135 | 136 | function updateModuleFrame(pFrame, cFrame) { 137 | top.packageFrame.location = pFrame; 138 | top.classFrame.location = cFrame; 139 | } 140 | -------------------------------------------------------------------------------- /doc/type-search-index.js: -------------------------------------------------------------------------------- 1 | typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"pack","l":"Applet"},{"p":"pack","l":"FR"},{"p":"pack","l":"Html"},{"p":"pack","l":"Immatriculation"},{"p":"pack","l":"LUX"},{"p":"pack","l":"Main"},{"p":"pack","l":"Pays"},{"p":"pack","l":"TN"},{"p":"pack","l":"USA"}] -------------------------------------------------------------------------------- /doc/type-search-index.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SelimHorri/strategy-pattern/ffd8d6bed2ba037b6c363207c6c535d5c07e7b34/doc/type-search-index.zip -------------------------------------------------------------------------------- /src/pack/Applet.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class Applet extends Immatriculation { 4 | 5 | public Applet() { 6 | System.err.println("in APPLET"); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/pack/FR.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class FR implements Pays { 4 | 5 | @Override 6 | public void myPays() { 7 | System.out.println("this is FR"); 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/pack/Html.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class Html extends Immatriculation { 4 | 5 | public Html() { 6 | System.err.println("in HTML"); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/pack/Immatriculation.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class Immatriculation { 4 | 5 | /** 6 | * this attribute resolves the complexity of adding more implementations (Immatriculation / Html or Applet) 7 | */ 8 | Pays pays; 9 | 10 | void displayPays() { 11 | pays.myPays(); 12 | } 13 | 14 | void setPays(Pays pays) { 15 | this.pays = pays; 16 | } 17 | 18 | } 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/pack/LUX.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class LUX implements Pays { 4 | 5 | @Override 6 | public void myPays() { 7 | System.out.println("this is LUX"); 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/pack/Main.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class Main { 4 | 5 | /** 6 | * We just need to add a new country and implement the Pays interface 7 | * @param args 8 | */ 9 | public static void main(String[] args) { 10 | 11 | Immatriculation imm = new Html(); 12 | imm.setPays(new LUX()); 13 | imm.displayPays(); 14 | 15 | 16 | 17 | Immatriculation imm2 = new Applet(); 18 | imm2.setPays(new USA()); 19 | imm2.displayPays(); 20 | 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/pack/Pays.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public interface Pays { 4 | 5 | /** 6 | * this method which is responsible for invocation by Immatriculation in main method 7 | */ 8 | void myPays(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/pack/TN.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class TN implements Pays { 4 | 5 | @Override 6 | public void myPays() { 7 | System.out.println("this is TN"); 8 | } 9 | 10 | 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/pack/USA.java: -------------------------------------------------------------------------------- 1 | package pack; 2 | 3 | public class USA implements Pays { 4 | 5 | @Override 6 | public void myPays() { 7 | System.out.println("this is USA"); 8 | } 9 | 10 | } 11 | --------------------------------------------------------------------------------