Codota Logo
Item.setOrientation
Code IndexAdd Codota to your IDE (free)

How to use
setOrientation
method
in
org.eclipse.swt.widgets.Item

Best Java code snippets using org.eclipse.swt.widgets.Item.setOrientation (Showing top 6 results out of 315)

  • Common ways to obtain Item
private void myMethod () {
Item i =
  • Codota Icon(Item) event.item
  • Codota IconTreeViewer treeViewer;treeViewer.scrollDown(int1, int2)
  • Codota IconTreeViewer treeViewer;treeViewer.scrollUp(int1, int2)
  • Smart code suggestions by Codota
}
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

@Override
void setOrientation (boolean create) {
  super.setOrientation (create);
  if ((parent.style & SWT.RIGHT_TO_LEFT) != 0 || !create) {
    int dir = (parent.style & SWT.RIGHT_TO_LEFT) != 0 ? OS.GTK_TEXT_DIR_RTL : OS.GTK_TEXT_DIR_LTR;
    OS.gtk_widget_set_direction (handle, dir);
    OS.gtk_container_forall (handle, display.setDirectionProc, dir);
  }
}

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

@Override
void setOrientation (boolean create) {
  super.setOrientation (create);
  if ((parent.style & SWT.RIGHT_TO_LEFT) != 0 || !create) {
    int dir = (parent.style & SWT.RIGHT_TO_LEFT) != 0 ? OS.GTK_TEXT_DIR_RTL : OS.GTK_TEXT_DIR_LTR;
    OS.gtk_widget_set_direction (handle, dir);
    OS.gtk_container_forall (handle, display.setDirectionProc, dir);
  }
}

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

@Override
void setOrientation (boolean create) {
  super.setOrientation (create);
  if ((parent.style & SWT.RIGHT_TO_LEFT) != 0 || !create) {
    int dir = (parent.style & SWT.RIGHT_TO_LEFT) != 0 ? OS.GTK_TEXT_DIR_RTL : OS.GTK_TEXT_DIR_LTR;
    OS.gtk_widget_set_direction (handle, dir);
    OS.gtk_container_forall (handle, display.setDirectionProc, dir);
  }
}

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

@Override
void setOrientation (boolean create) {
  super.setOrientation (create);
  if ((parent.style & SWT.RIGHT_TO_LEFT) != 0 || !create) {
    int dir = (parent.style & SWT.RIGHT_TO_LEFT) != 0 ? OS.GTK_TEXT_DIR_RTL : OS.GTK_TEXT_DIR_LTR;
    OS.gtk_widget_set_direction (handle, dir);
    OS.gtk_container_forall (handle, display.setDirectionProc, dir);
    if (menu != null) menu._setOrientation (parent.style & (SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT));
  }
}

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

@Override
void setOrientation (boolean create) {
  super.setOrientation (create);
  if ((parent.style & SWT.RIGHT_TO_LEFT) != 0 || !create) {
    int dir = (parent.style & SWT.RIGHT_TO_LEFT) != 0 ? OS.GTK_TEXT_DIR_RTL : OS.GTK_TEXT_DIR_LTR;
    OS.gtk_widget_set_direction (handle, dir);
    OS.gtk_container_forall (handle, display.setDirectionProc, dir);
    if (menu != null) menu._setOrientation (parent.style & (SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT));
  }
}

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

@Override
void setOrientation (boolean create) {
  super.setOrientation (create);
  if ((parent.style & SWT.RIGHT_TO_LEFT) != 0 || !create) {
    int dir = (parent.style & SWT.RIGHT_TO_LEFT) != 0 ? OS.GTK_TEXT_DIR_RTL : OS.GTK_TEXT_DIR_LTR;
    OS.gtk_widget_set_direction (handle, dir);
    OS.gtk_container_forall (handle, display.setDirectionProc, dir);
    if (menu != null) menu._setOrientation (parent.style & (SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT));
  }
}

org.eclipse.swt.widgetsItemsetOrientation

Popular methods of Item

  • getData
  • setImage
    Sets the receiver's image to the argument, which may be null indicating that no image should be disp
  • getText
    Returns the receiver's text, which will be an empty string if it has never been set.
  • setText
    Sets the receiver's text. Note: If control characters like '\n', '\t' etc. are used in the string, t
  • dispose
  • isDisposed
  • setData
  • getImage
    Returns the receiver's image if it has one, or null if it does not.
  • checkWidget
  • getNameText
  • releaseParent
  • releaseWidget
  • releaseParent,
  • releaseWidget,
  • reskinChildren,
  • error,
  • releaseChildren,
  • releaseHandle,
  • deregister,
  • destroyWidget,
  • register,
  • release

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • JList (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
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