Subversion Repositories eFlore/Applications.cel

Rev

Rev 408 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 408 Rev 592
Line 212... Line 212...
212
		sousPanneauInfosGenerales.setAutoHeight(true);
212
		sousPanneauInfosGenerales.setAutoHeight(true);
213
		panneauMotsCles.setAutoHeight(true);
213
		panneauMotsCles.setAutoHeight(true);
Line 214... Line 214...
214
 
214
 
215
		panneauInfoGrid.setBorder(false);
215
		panneauInfoGrid.setBorder(false);
-
 
216
		panneauInfoGrid.setAutoHeight(true);
-
 
217
		
-
 
218
		panneauExifGrid.setAutoScroll(true);
Line 216... Line 219...
216
		panneauInfoGrid.setAutoHeight(true);
219
		panneauIptcGrid.setAutoScroll(true);
217
 
220
 
Line 230... Line 233...
230
		ExifGrid = new PropertyGridPanel();
233
		ExifGrid = new PropertyGridPanel();
231
		ExifGrid.setId("meta_exif");
234
		ExifGrid.setId("meta_exif");
232
		ExifGrid.setView(gViewExif);
235
		ExifGrid.setView(gViewExif);
233
		ExifGrid.setNameText("Métadonnées Exif");
236
		ExifGrid.setNameText("Métadonnées Exif");
234
		ExifGrid.setAutoWidth(true);
237
		ExifGrid.setAutoWidth(true);
235
		ExifGrid.setAutoHeight(true);
238
		ExifGrid.setHeight(500);
236
		ExifGrid.setSorted(false);
239
		ExifGrid.setSorted(false);
-
 
240
		ExifGrid.setAutoScroll(true);
Line 237... Line 241...
237
 
241
 
238
		gViewIptc = new GridView();
242
		gViewIptc = new GridView();
Line 239... Line 243...
239
		gViewIptc.setForceFit(true);
243
		gViewIptc.setForceFit(true);
240
 
244
 
241
		IptcGrid = new PropertyGridPanel();
245
		IptcGrid = new PropertyGridPanel();
Line 242... Line 246...
242
		IptcGrid.setId("meta_iptc");
246
		IptcGrid.setId("meta_iptc");
243
		IptcGrid.setView(gViewIptc);
247
		IptcGrid.setView(gViewIptc);
244
 
248
 
245
		IptcGrid.setNameText("Métadonnées IPTC");
249
		IptcGrid.setNameText("Métadonnées IPTC");
-
 
250
		IptcGrid.setAutoWidth(true);
Line 246... Line 251...
246
		IptcGrid.setAutoWidth(true);
251
		IptcGrid.setHeight(500);
247
		IptcGrid.setAutoHeight(true);
252
		IptcGrid.setSorted(false);
Line 248... Line 253...
248
		IptcGrid.setSorted(false);
253
		IptcGrid.setAutoScroll(true);
Line 342... Line 347...
342
					}
347
					}
343
				};
348
				};
Line 344... Line 349...
344
				
349
				
345
				timerRedimensionnement.schedule(300);
350
				timerRedimensionnement.schedule(300);
-
 
351
			}
-
 
352
		});
-
 
353
		
-
 
354
		panneauExifGrid.addListener(new ContainerListenerAdapter() {
-
 
355
			
-
 
356
			public void onResize(BoxComponent component, int adjWidth, int adjHeight,
-
 
357
					int rawWidth, int rawHeight) {
-
 
358
									
-
 
359
				timerRedimensionnement = new Timer() {
-
 
360
					public void run() {
-
 
361
						
-
 
362
						int taille = 500;
-
 
363
						
-
 
364
						taille = Window.getClientHeight() - 150;
-
 
365
						
-
 
366
						ExifGrid.setHeight(taille);
-
 
367
						panneauExifGrid.setHeight(taille);
-
 
368
					}
-
 
369
				};
-
 
370
				
-
 
371
				timerRedimensionnement.schedule(300);
-
 
372
			}
-
 
373
		});
-
 
374
		
-
 
375
		panneauExifGrid.addListener(new ContainerListenerAdapter() {
-
 
376
			
-
 
377
			public void onResize(BoxComponent component, int adjWidth, int adjHeight,
-
 
378
					int rawWidth, int rawHeight) {
-
 
379
									
-
 
380
				timerRedimensionnement = new Timer() {
-
 
381
					public void run() {
-
 
382
						
-
 
383
						int taille = 500;
-
 
384
						
-
 
385
						taille = Window.getClientHeight() - 150;
-
 
386
						
-
 
387
						IptcGrid.setHeight(taille);
-
 
388
						panneauIptcGrid.setHeight(taille);
-
 
389
					}
-
 
390
				};
-
 
391
				
-
 
392
				timerRedimensionnement.schedule(300);
346
			}
393
			}
347
		});
394
		});
Line 348... Line 395...
348
	}
395
	}
349
 
396