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

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

Best Java code snippets using org.eclipse.swt.widgets.Composite._getChildren (Showing top 20 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.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
void markLayout (boolean changed, boolean all) {
  if (layout != null) {
    state |= LAYOUT_NEEDED;
    if (changed) state |= LAYOUT_CHANGED;
  }
  if (all) {
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      children [i].markLayout (changed, all);
    }
  }
}

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

void markLayout (boolean changed, boolean all) {
  if (layout != null) {
    state |= LAYOUT_NEEDED;
    if (changed) state |= LAYOUT_CHANGED;
  }
  if (all) {
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      children [i].markLayout (changed, all);
    }
  }
}

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

Point minimumSize (int wHint, int Hint, boolean changed) {
  Control [] children = _getChildren ();
  Rectangle clientArea = getClientArea();
  int width = 0, height = 0;
  for (int i=0; i<children.length; i++) {
    Rectangle rect = children [i].getBounds ();
    width = Math.max (width, rect.x - clientArea.x + rect.width);
    height = Math.max (height, rect.y - clientArea.y + rect.height);
  }
  return new Point (width, height);
}

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

@Override
boolean translateMnemonic (Event event, Control control) {
  if (super.translateMnemonic (event, control)) return true;
  if (control != null) {
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      Control child = children [i];
      if (child.translateMnemonic (event, control)) return true;
    }
  }
  return false;
}

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

@Override
void updateBackgroundColor () {
  super.updateBackgroundColor ();
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    if ((children [i].state & PARENT_BACKGROUND) != 0) {
      children [i].updateBackgroundColor ();
    }
  }
}

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

@Override
boolean translateMnemonic (Event event, Control control) {
  if (super.translateMnemonic (event, control)) return true;
  if (control != null) {
    Control [] children = _getChildren ();
    for (int i=0; i<children.length; i++) {
      Control child = children [i];
      if (child.translateMnemonic (event, control)) return true;
    }
  }
  return false;
}

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

@Override
void updateBackgroundImage () {
  super.updateBackgroundImage ();
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    if ((children [i].state & PARENT_BACKGROUND) != 0) {
      children [i].updateBackgroundImage ();
    }
  }
}

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

void reskinChildren (int flags) {
  super.reskinChildren (flags);
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    Control child = children [i];
    if (child != null) child.reskin (flags);
  }
}

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

@Override
void updateBackgroundMode () {
  super.updateBackgroundMode ();
  Control [] children = _getChildren ();
  for (int i = 0; i < children.length; i++) {
    children [i].updateBackgroundMode ();
  }
}

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

@Override
void fixChildren (Shell newShell, Shell oldShell, Decorations newDecorations, Decorations oldDecorations, Menu [] menus) {
  super.fixChildren (newShell, oldShell, newDecorations, oldDecorations, menus);
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    children [i].fixChildren (newShell, oldShell, newDecorations, oldDecorations, menus);
  }
}

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

@Override
void updateBackgroundMode () {
  super.updateBackgroundMode ();
  Control [] children = _getChildren ();
  for (int i = 0; i < children.length; i++) {
    children [i].updateBackgroundMode ();
  }
}

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

@Override
void reskinChildren (int flags) {
  super.reskinChildren (flags);
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    Control child = children [i];
    if (child != null) child.reskin (flags);
  }
}

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

@Override
void redrawChildren () {
  super.redrawChildren ();
  Control [] children = _getChildren ();
  for (int i = 0; i < children.length; i++) {
    Control child = children [i];
    if ((child.state & PARENT_BACKGROUND) != 0) {
      child.redrawWidget (0, 0, 0, 0, true, false, true);
      child.redrawChildren ();
    }
  }
}

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

@Override
void fixStyle () {
  super.fixStyle ();
  if (scrolledHandle == 0) fixStyle (handle);
  Control[] children = _getChildren ();
  for (int i = 0; i < children.length; i++) {
    children [i].fixStyle ();
  }
}

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

public boolean setFocus () {
  checkWidget ();
  Control [] children = _getChildren ();
  for (int i= 0; i < children.length; i++) {
    if (children [i].setFocus ()) return true;
  }
  return super.setFocus ();
}

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

@Override
void releaseChildren (boolean destroy) {
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    Control child = children [i];
    if (child != null && !child.isDisposed ()) {
      child.release (false);
    }
  }
  super.releaseChildren (destroy);
}

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

@Override
void releaseChildren (boolean destroy) {
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    Control child = children [i];
    if (child != null && !child.isDisposed ()) {
      child.release (false);
    }
  }
  super.releaseChildren (destroy);
}

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

void invalidateVisibleRegion () {
  int index = 0;
  Control[] siblings = parent._getChildren ();
  while (index < siblings.length && siblings [index] != this) index++;
  for (int i=index; i<siblings.length; i++) {
    Control sibling = siblings [i];
    sibling.resetVisibleRegion ();
    sibling.invalidateChildrenVisibleRegion ();
  }
  parent.resetVisibleRegion ();
}

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

void updateCursorRects (boolean enabled) {
  super.updateCursorRects (enabled);
  Control [] children = _getChildren ();
  for (int i = 0; i < children.length; i++) {
    Control control = children [i];
    control.updateCursorRects (enabled && control.isEnabled ());
  }
}

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

@Override
public boolean setFocus () {
  checkWidget();
  Control [] children = _getChildren ();
  for (int i=0; i<children.length; i++) {
    Control child = children [i];
    if (child.getVisible () && child.setFocus ()) return true;
  }
  return super.setFocus ();
}

org.eclipse.swt.widgetsComposite_getChildren

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

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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