예제 #1
0
 public ImagePanel(final String id, final ImageDef imageDef, final String tooltip) {
   super(id, null);
   addImage(new TooltipImage(IMAGE_ID, imageDef.getPath(), tooltip));
 }
예제 #2
0
 public ImagePanel(final String id, final ImageDef imageDef) {
   super(id, null);
   addImage(new PresizedImage(IMAGE_ID, imageDef.getPath()));
 }