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

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

Best Java code snippets using org.eclipse.swt.widgets.Composite.setLayoutDeferred (Showing top 14 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: BiglySoftware/BiglyBT

  @Override
  public void
  handleEvent(
    Event event )
  {
    parentComposite.setLayoutDeferred( event.type == SWT.Hide );
  }
};
origin: org.eclipse.swt.cocoa.macosx/x86_64

boolean runDeferredLayouts () {
  if (layoutDeferredCount != 0) {
    Composite[] temp = layoutDeferred;
    int count = layoutDeferredCount;
    layoutDeferred = null;
    layoutDeferredCount = 0;
    for (int i = 0; i < count; i++) {
      Composite comp = temp[i];
      if (!comp.isDisposed()) comp.setLayoutDeferred (false);
    }
    return true;
  }    
  return false;
}

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

boolean runDeferredLayouts () {
  if (layoutDeferredCount != 0) {
    Composite[] temp = layoutDeferred;
    int count = layoutDeferredCount;
    layoutDeferred = null;
    layoutDeferredCount = 0;
    for (int i = 0; i < count; i++) {
      Composite comp = temp[i];
      if (!comp.isDisposed()) comp.setLayoutDeferred (false);
    }
    return true;
  }
  return false;
}

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

boolean runDeferredLayouts() {
 boolean result = false;
 if( layoutDeferredCount != 0 ) {
  Composite[] temp = layoutDeferred;
  int count = layoutDeferredCount;
  layoutDeferred = null;
  layoutDeferredCount = 0;
  for( int i = 0; i < count; i++ ) {
   Composite comp = temp[ i ];
   if( !comp.isDisposed() ) {
    comp.setLayoutDeferred( false );
   }
  }
  result = true;
 }
 return result;
}
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

boolean runDeferredLayouts () {
  if (layoutDeferredCount != 0) {
    Composite[] temp = layoutDeferred;
    int count = layoutDeferredCount;
    layoutDeferred = null;
    layoutDeferredCount = 0;
    for (int i = 0; i < count; i++) {
      Composite comp = temp[i];
      if (!comp.isDisposed()) comp.setLayoutDeferred (false);
    }
    update ();
    return true;
  }
  return false;
}

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

boolean runDeferredLayouts () {
  if (layoutDeferredCount != 0) {
    Composite[] temp = layoutDeferred;
    int count = layoutDeferredCount;
    layoutDeferred = null;
    layoutDeferredCount = 0;
    for (int i = 0; i < count; i++) {
      Composite comp = temp[i];
      if (!comp.isDisposed()) comp.setLayoutDeferred (false);
    }
    update ();
    return true;
  }
  return false;
}

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

boolean runDeferredLayouts () {
  if (layoutDeferredCount != 0) {
    Composite[] temp = layoutDeferred;
    int count = layoutDeferredCount;
    layoutDeferred = null;
    layoutDeferredCount = 0;
    for (int i = 0; i < count; i++) {
      Composite comp = temp[i];
      if (!comp.isDisposed()) comp.setLayoutDeferred (false);
    }
    update ();
    return true;
  }
  return false;
}

origin: BiglySoftware/BiglyBT

composite.setLayoutDeferred(true);
triggerEvent(UISWTViewEvent.TYPE_INITIALIZE, composite);
composite.setLayoutDeferred(false);
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
markLayout ((flags & SWT.CHANGED) != 0, (flags & SWT.ALL) != 0);
if ((flags & SWT.DEFER) != 0) {
  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
origin: org.eclipse.swt.cocoa.macosx/x86_64

  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
markLayout ((flags & SWT.CHANGED) != 0, (flags & SWT.ALL) != 0);
if ((flags & SWT.DEFER) != 0) {
  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
markLayout ((flags & SWT.CHANGED) != 0, (flags & SWT.ALL) != 0);
if ((flags & SWT.DEFER) != 0) {
  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
markLayout ((flags & SWT.CHANGED) != 0, (flags & SWT.ALL) != 0);
if ((flags & SWT.DEFER) != 0) {
  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
markLayout ((flags & SWT.CHANGED) != 0, (flags & SWT.ALL) != 0);
if ((flags & SWT.DEFER) != 0) {
  setLayoutDeferred (true);
  display.addLayoutDeferred (this);
origin: org.eclipse.rap/org.eclipse.rap.rwt

setLayoutDeferred (true);
display.addLayoutDeferred (this);
setLayoutDeferred (true);
display.addLayoutDeferred (this);
org.eclipse.swt.widgetsCompositesetLayoutDeferred

Javadoc

If the argument is true, causes subsequent layout operations in the receiver or any of its children to be ignored. No layout of any kind can occur in the receiver or any of its children until the flag is set to false. Layout operations that occurred while the flag was true are remembered and when the flag is set to false, the layout operations are performed in an optimized manner. Nested calls to this method are stacked.

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