示例#1
0
 /**
  * Returns <code>true</code> if the receiver is visible and all of the receiver's ancestors are
  * visible and <code>false</code> otherwise.
  *
  * @return the receiver's visibility state
  * @exception SWTException
  *     <ul>
  *       <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  *       <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
  *     </ul>
  *
  * @see #getVisible
  */
 public boolean isVisible() {
   checkWidget();
   return OS.QWidget_isVisible(handle);
 }