| Line 46... |
Line 46... |
| 46 |
|
46 |
|
| 47 |
HtmlContainer titreConteneurHtml = new HtmlContainer();
|
47 |
HtmlContainer titreConteneurHtml = new HtmlContainer();
|
| 48 |
String titreHtml = "<div id='"+ComposantId.DIV_TITRE+"'>{0}</div>";
|
48 |
String titreHtml = "<div id='"+ComposantId.DIV_TITRE+"'>{0}</div>";
|
| Line 49... |
Line -... |
| 49 |
titreConteneurHtml.setHtml(Format.substitute(titreHtml, i18nC.appliNom()));
|
- |
|
| 50 |
|
- |
|
| 51 |
identificationConteneurHtml = new HtmlContainer();
|
- |
|
| 52 |
identificationInfoTpl = "<div id='"+ComposantId.DIV_IDENTIFICATION+"'>{0}</div>";
|
- |
|
| 53 |
identificationConteneurHtml.setHtml(Format.substitute(identificationInfoTpl, (new Params()).add("Mode anonyme")));
|
49 |
titreConteneurHtml.setHtml(Format.substitute(titreHtml, i18nC.appliNom()));
|
| 54 |
|
50 |
|
| 55 |
// Création des écouteurs
|
51 |
// Création des écouteurs
|
| 56 |
SelectionListener<ButtonEvent> boutonEcouteur = new SelectionListener<ButtonEvent>() {
|
52 |
SelectionListener<ButtonEvent> boutonEcouteur = new SelectionListener<ButtonEvent>() {
|
| Line 81... |
Line 77... |
| 81 |
};
|
77 |
};
|
| Line 82... |
Line 78... |
| 82 |
|
78 |
|
| 83 |
barreBoutons = new ButtonBar();
|
79 |
barreBoutons = new ButtonBar();
|
| Line -... |
Line 80... |
| - |
|
80 |
barreBoutons.setAlignment(Style.HorizontalAlignment.RIGHT);
|
| - |
|
81 |
|
| - |
|
82 |
identificationConteneurHtml = new HtmlContainer();
|
| - |
|
83 |
identificationInfoTpl = "<div id='"+ComposantId.DIV_IDENTIFICATION+"'>{0}</div>";
|
| - |
|
84 |
identificationConteneurHtml.setHtml(Format.substitute(identificationInfoTpl, (new Params()).add("Mode anonyme")));
|
| 84 |
barreBoutons.setAlignment(Style.HorizontalAlignment.RIGHT);
|
85 |
barreBoutons.add(identificationConteneurHtml);
|
| 85 |
|
86 |
|
| 86 |
identificationBouton = new Button("Identifiez vous...", boutonEcouteur);
|
87 |
identificationBouton = new Button("Identifiez vous...", boutonEcouteur);
|
| Line 87... |
Line 88... |
| 87 |
identificationBouton.setId(ComposantId.BTN_CONNEXION);
|
88 |
identificationBouton.setId(ComposantId.BTN_CONNEXION);
|
| Line 132... |
Line 133... |
| 132 |
applisBouton.setMenu(menu);
|
133 |
applisBouton.setMenu(menu);
|
| 133 |
applisBouton.setIcon(Images.ICONES.flecheBascule());
|
134 |
applisBouton.setIcon(Images.ICONES.flecheBascule());
|
| 134 |
barreBoutons.add(applisBouton);
|
135 |
barreBoutons.add(applisBouton);
|
| Line 135... |
Line 136... |
| 135 |
|
136 |
|
| 136 |
add(titreConteneurHtml, new RowData(.3, 1));
|
- |
|
| 137 |
add(identificationConteneurHtml, new RowData(.3, 1));
|
137 |
add(titreConteneurHtml, new RowData(.3, 1));
|
| 138 |
add(barreBoutons, new RowData(.4, 1));
|
138 |
add(barreBoutons, new RowData(.7, 1));
|
| Line 139... |
Line 139... |
| 139 |
}
|
139 |
}
|
| 140 |
|
140 |
|
| 141 |
public void rafraichir(Object nouvelleDonnees) {
|
141 |
public void rafraichir(Object nouvelleDonnees) {
|