Codota Logo
Composite.findDeferredControl
Code IndexAdd Codota to your IDE (free)

How to use
findDeferredControl
method
in
org.eclipse.swt.widgets.Composite

Best Java code snippets using org.eclipse.swt.widgets.Composite.findDeferredControl (Showing top 18 results out of 315)

  • Common ways to obtain Composite
private void myMethod () {
Composite c =
  • Codota IconControl control;control.getParent()
  • Codota IconStatusDialog zuper;(Composite) zuper.createDialogArea(parent)
  • Codota IconTitleAreaDialog zuper;(Composite) zuper.createDialogArea(parent)
  • Smart code suggestions by Codota
}
origin: org.eclipse.swt.cocoa.macosx/x86_64

Composite findDeferredControl () {
  return layoutCount > 0 ? this : parent.findDeferredControl ();
}

origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

Composite findDeferredControl () {
  return layoutCount > 0 ? this : parent.findDeferredControl ();
}

origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

Composite findDeferredControl () {
  return layoutCount > 0 ? this : parent.findDeferredControl ();
}

origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

Composite findDeferredControl () {
  return layoutCount > 0 ? this : parent.findDeferredControl ();
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

Composite findDeferredControl () {
  return layoutCount > 0 ? this : parent.findDeferredControl ();
}

origin: org.eclipse.rap/org.eclipse.rap.rwt

Composite findDeferredControl() {
 return layoutCount > 0 ? this : _getParent().findDeferredControl();
}
origin: org.eclipse.rap/org.eclipse.rap.rwt

/**
 * Returns <code>true</code> if the receiver or any ancestor
 * up to and including the receiver's nearest ancestor shell
 * has deferred the performing of layouts.  Otherwise, <code>false</code>
 * is returned.
 *
 * @return the receiver's deferred layout state
 *
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
 * </ul>
 *
 * @see #setLayoutDeferred(boolean)
 * @see #getLayoutDeferred()
 */
public boolean isLayoutDeferred() {
 checkWidget();
 return findDeferredControl() != null;
}
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

/**
 * Returns <code>true</code> if the receiver or any ancestor
 * up to and including the receiver's nearest ancestor shell
 * has deferred the performing of layouts.  Otherwise, <code>false</code>
 * is returned.
 *
 * @return the receiver's deferred layout state
 *
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
 * </ul>
 *
 * @see #setLayoutDeferred(boolean)
 * @see #getLayoutDeferred()
 *
 * @since 3.1
 */
public boolean isLayoutDeferred () {
  checkWidget ();
  return findDeferredControl () != null;
}

origin: org.eclipse.swt.cocoa.macosx/x86_64

/**
 * Returns <code>true</code> if the receiver or any ancestor 
 * up to and including the receiver's nearest ancestor shell
 * has deferred the performing of layouts.  Otherwise, <code>false</code>
 * is returned.
 *
 * @return the receiver's deferred layout state
 *
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
 * </ul>
 * 
 * @see #setLayoutDeferred(boolean)
 * @see #getLayoutDeferred()
 * 
 * @since 3.1
 */
public boolean isLayoutDeferred () {
  checkWidget ();
  return findDeferredControl () != null;
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

/**
 * Returns <code>true</code> if the receiver or any ancestor
 * up to and including the receiver's nearest ancestor shell
 * has deferred the performing of layouts.  Otherwise, <code>false</code>
 * is returned.
 *
 * @return the receiver's deferred layout state
 *
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
 * </ul>
 *
 * @see #setLayoutDeferred(boolean)
 * @see #getLayoutDeferred()
 *
 * @since 3.1
 */
public boolean isLayoutDeferred () {
  checkWidget ();
  return findDeferredControl () != null;
}

origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

/**
 * Returns <code>true</code> if the receiver or any ancestor
 * up to and including the receiver's nearest ancestor shell
 * has deferred the performing of layouts.  Otherwise, <code>false</code>
 * is returned.
 *
 * @return the receiver's deferred layout state
 *
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
 * </ul>
 *
 * @see #setLayoutDeferred(boolean)
 * @see #getLayoutDeferred()
 *
 * @since 3.1
 */
public boolean isLayoutDeferred () {
  checkWidget ();
  return findDeferredControl () != null;
}

origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

/**
 * Returns <code>true</code> if the receiver or any ancestor
 * up to and including the receiver's nearest ancestor shell
 * has deferred the performing of layouts.  Otherwise, <code>false</code>
 * is returned.
 *
 * @return the receiver's deferred layout state
 *
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
 * </ul>
 *
 * @see #setLayoutDeferred(boolean)
 * @see #getLayoutDeferred()
 *
 * @since 3.1
 */
public boolean isLayoutDeferred () {
  checkWidget ();
  return findDeferredControl () != null;
}

origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

@Override
void updateLayout (boolean all) {
  Composite parent = findDeferredControl ();
  if (parent != null) {
    parent.state |= LAYOUT_CHILD;
    return;
  }
  if ((state & LAYOUT_NEEDED) != 0) {
    boolean changed = (state & LAYOUT_CHANGED) != 0;
    state &= ~(LAYOUT_NEEDED | LAYOUT_CHANGED);
    display.runSkin();
    layout.layout (this, changed);
  }
  if (all) {
    state &= ~LAYOUT_CHILD;
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      children [i].updateLayout (all);
    }
  }
}
}
origin: org.eclipse.swt.cocoa.macosx/x86_64

void updateLayout (boolean all) {
  Composite parent = findDeferredControl ();
  if (parent != null) {
    parent.state |= LAYOUT_CHILD;
    return;
  }
  if ((state & LAYOUT_NEEDED) != 0) {
    boolean changed = (state & LAYOUT_CHANGED) != 0;
    state &= ~(LAYOUT_NEEDED | LAYOUT_CHANGED);
    display.runSkin ();
    layout.layout (this, changed);
  }
  if (all) {
    state &= ~LAYOUT_CHILD;
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      children [i].updateLayout (all);
    }
  }
}
}
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

@Override
void updateLayout (boolean all) {
  Composite parent = findDeferredControl ();
  if (parent != null) {
    parent.state |= LAYOUT_CHILD;
    return;
  }
  if ((state & LAYOUT_NEEDED) != 0) {
    boolean changed = (state & LAYOUT_CHANGED) != 0;
    state &= ~(LAYOUT_NEEDED | LAYOUT_CHANGED);
    display.runSkin();
    layout.layout (this, changed);
  }
  if (all) {
    state &= ~LAYOUT_CHILD;
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      children [i].updateLayout (all);
    }
  }
}
}
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

@Override
void updateLayout (boolean all) {
  Composite parent = findDeferredControl ();
  if (parent != null) {
    parent.state |= LAYOUT_CHILD;
    return;
  }
  if ((state & LAYOUT_NEEDED) != 0) {
    boolean changed = (state & LAYOUT_CHANGED) != 0;
    state &= ~(LAYOUT_NEEDED | LAYOUT_CHANGED);
    display.runSkin();
    layout.layout (this, changed);
  }
  if (all) {
    state &= ~LAYOUT_CHILD;
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      children [i].updateLayout (all);
    }
  }
}
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
void updateLayout (boolean resize, boolean all) {
  Composite parent = findDeferredControl ();
  if (parent != null) {
    parent.state |= LAYOUT_CHILD;
    return;
  }
  if ((state & LAYOUT_NEEDED) != 0) {
    boolean changed = (state & LAYOUT_CHANGED) != 0;
    state &= ~(LAYOUT_NEEDED | LAYOUT_CHANGED);
    display.runSkin();
    if (resize) setResizeChildren (false);
    layout.layout (this, changed);
    if (resize) setResizeChildren (true);
  }
  if (all) {
    state &= ~LAYOUT_CHILD;
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      children [i].updateLayout (resize, all);
    }
  }
}

origin: org.eclipse.rap/org.eclipse.rap.rwt

 @Override
 void updateLayout( boolean resize, boolean all ) {
  Composite parent = findDeferredControl();
  if( parent != null ) {
   parent.addState( LAYOUT_CHILD );
   return;
  }
  if( hasState( LAYOUT_NEEDED ) ) {
   boolean changed = hasState( LAYOUT_CHANGED );
   removeState( LAYOUT_NEEDED | LAYOUT_CHANGED );
// if (resize) setResizeChildren (false);
   layout.layout( this, changed );
// if (resize) setResizeChildren (true);
  }
  if( all ) {
   removeState( LAYOUT_CHILD );
   for( Control child : children ) {
    child.updateLayout( resize, all );
   }
  }
 }

org.eclipse.swt.widgetsCompositefindDeferredControl

Popular methods of Composite

  • setLayout
    Sets the layout which is associated with the receiver to be the argument which may be null.
  • <init>
    Constructs a new instance of this class given its parent and a style value describing its behavior a
  • setLayoutData
  • layout
    Forces a lay out (that is, sets the size and location) of all widgets that are in the parent hierarc
  • getDisplay
  • getChildren
    Returns a (possibly empty) array containing the receiver's children. Children are returned in the or
  • getShell
  • getFont
  • getLayout
    Returns layout which is associated with the receiver, or null if one has not been set.
  • setFont
  • getParent
  • computeSize
  • getParent,
  • computeSize,
  • dispose,
  • setBackground,
  • getClientArea,
  • isDisposed,
  • getBackground,
  • setVisible,
  • setSize,
  • setData

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • notifyDataSetChanged (ArrayAdapter)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now