congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Composite.clientHandle
Code IndexAdd Tabnine 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)

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

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • From CI to AI: The AI layer in your organization
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