Пример #1
0
 public ScImage newPostImage(String label) {
   ScImage e;
   e = new ScImage();
   e.setStaticUrl(getPostImageAdaptor());
   e.setLabel(label);
   return e;
 }
Пример #2
0
 public ScAbstractCommandControl newPostNameCommandControl(
     String label, ScCommand c, boolean openNewWindow) {
   ScImage k = new ScImage();
   k.setLabel(label);
   k.setStaticUrl(getPostImageAdaptor());
   if (c != null) k.setCommand(c);
   k.setOpenNewWindow(openNewWindow);
   return k;
 }