Tabnine Logo
Composite.setLayoutDeferred
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • setScale (BigDecimal)
  • Menu (java.awt)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now