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