congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Composite.computeTabGroup
Code IndexAdd Tabnine to your IDE (free)

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

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

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

Widget computeTabGroup () {
  if (isTabGroup()) return this;
  return parent.computeTabGroup ();
}

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

Widget computeTabGroup () {
  if (isTabGroup ()) return this;
  return parent.computeTabGroup ();
}

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

Widget computeTabGroup () {
  if (isTabGroup()) return this;
  return parent.computeTabGroup ();
}

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

Widget computeTabGroup () {
  if (isTabGroup()) return this;
  return parent.computeTabGroup ();
}

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

Widget computeTabGroup () {
  if (isTabGroup()) return this;
  return parent.computeTabGroup ();
}

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

@Override
Widget computeTabGroup () {
  ToolItem [] items = _getItems ();
  if (tabItemList == null) {
    int i = 0;
    while (i < items.length && items [i].control == null) i++;
    if (i == items.length) return super.computeTabGroup ();
  }
  int index = indexOf(currentFocusItem);
  if (index == -1) index = items.length - 1;
  while (index >= 0) {
    ToolItem item = items [index];
    if (item.isTabGroup ()) return item;
    index--;
  }
  return super.computeTabGroup ();
}

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

@Override
Widget computeTabGroup () {
  ToolItem [] items = _getItems ();
  if (tabItemList == null) {
    int i = 0;
    while (i < items.length && items [i].control == null) i++;
    if (i == items.length) return super.computeTabGroup ();
  }
  int index = indexOf(currentFocusItem);
  if (index == -1) index = items.length - 1;
  while (index >= 0) {
    ToolItem item = items [index];
    if (item.isTabGroup ()) return item;
    index--;
  }
  return super.computeTabGroup ();
}

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

@Override
Widget computeTabGroup () {
  ToolItem [] items = _getItems ();
  if (tabItemList == null) {
    int i = 0;
    while (i < items.length && items [i].control == null) i++;
    if (i == items.length) return super.computeTabGroup ();
  }
  int index = (int)/*64*/OS.SendMessage (handle, OS.TB_GETHOTITEM, 0, 0);
  if (index == -1) index = lastHotId;
  while (index >= 0) {
    ToolItem item = items [index];
    if (item.isTabGroup ()) return item;
    index--;
  }
  return super.computeTabGroup ();
}

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

@Override
Widget computeTabGroup () {
  ToolItem [] items = _getItems ();
  if (tabItemList == null) {
    int i = 0;
    while (i < items.length && items [i].control == null) i++;
    if (i == items.length) return super.computeTabGroup ();
  }
  int index = indexOf(currentFocusItem);
  if (index == -1) index = items.length - 1;
  while (index >= 0) {
    ToolItem item = items [index];
    if (item.isTabGroup ()) return item;
    index--;
  }
  return super.computeTabGroup ();
}

org.eclipse.swt.widgetsCompositecomputeTabGroup

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

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Reference (javax.naming)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top PhpStorm 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