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

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

Best Java code snippets using org.eclipse.swt.widgets.Composite.clientHandle (Showing top 3 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.platform/org.eclipse.swt.gtk.linux.s390x

@Override
Rectangle getClientAreaInPixels () {
  checkWidget();
  if ((state & CANVAS) != 0) {
    if ((state & ZERO_WIDTH) != 0 && (state & ZERO_HEIGHT) != 0) {
      return new Rectangle (0, 0, 0, 0);
    }
    forceResize ();
    long /*int*/ clientHandle = clientHandle ();
    GtkAllocation allocation = new GtkAllocation();
    OS.gtk_widget_get_allocation (clientHandle, allocation);
    int width = (state & ZERO_WIDTH) != 0 ? 0 : allocation.width;
    int height = (state & ZERO_HEIGHT) != 0 ? 0 : allocation.height;
    return new Rectangle (0, 0, width, height);
  }
  return super.getClientAreaInPixels();
}

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

@Override
Rectangle getClientAreaInPixels () {
  checkWidget();
  if ((state & CANVAS) != 0) {
    if ((state & ZERO_WIDTH) != 0 && (state & ZERO_HEIGHT) != 0) {
      return new Rectangle (0, 0, 0, 0);
    }
    forceResize ();
    int /*long*/ clientHandle = clientHandle ();
    GtkAllocation allocation = new GtkAllocation();
    OS.gtk_widget_get_allocation (clientHandle, allocation);
    int width = (state & ZERO_WIDTH) != 0 ? 0 : allocation.width;
    int height = (state & ZERO_HEIGHT) != 0 ? 0 : allocation.height;
    return new Rectangle (0, 0, width, height);
  }
  return super.getClientAreaInPixels();
}

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

@Override
Rectangle getClientAreaInPixels () {
  checkWidget();
  if ((state & CANVAS) != 0) {
    if ((state & ZERO_WIDTH) != 0 && (state & ZERO_HEIGHT) != 0) {
      return new Rectangle (0, 0, 0, 0);
    }
    forceResize ();
    int /*long*/ clientHandle = clientHandle ();
    GtkAllocation allocation = new GtkAllocation();
    OS.gtk_widget_get_allocation (clientHandle, allocation);
    int width = (state & ZERO_WIDTH) != 0 ? 0 : allocation.width;
    int height = (state & ZERO_HEIGHT) != 0 ? 0 : allocation.height;
    return new Rectangle (0, 0, width, height);
  }
  return super.getClientAreaInPixels();
}

org.eclipse.swt.widgetsCompositeclientHandle

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

  • Start an intent from android
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
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