Beispiel #1
0
 /**
  * See {@link CLabel}.
  *
  * @return true, if successful
  */
 @Override
 public boolean hasImage() {
   return ObjectUtil.invokeMethod(swtWidget, "getImage") != null;
 }
Beispiel #2
0
 /**
  * See {@link CLabel}.
  *
  * @return the alignment
  */
 @Override
 public int getAlignment() {
   return (Integer) ObjectUtil.invokeMethod(swtWidget, "getAlignment");
 }