Tabnine Logo
Composite.hooks
Code IndexAdd Tabnine to your IDE (free)

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

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

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

boolean hooksKeys () {
  return hooks (SWT.KeyDown) || hooks (SWT.KeyUp);
}

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

boolean hooksKeys () {
  return hooks (SWT.KeyDown) || hooks (SWT.KeyUp);
}

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

boolean hooksKeys () {
  return hooks (SWT.KeyDown) || hooks (SWT.KeyUp);
}

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

boolean hooksKeys () {
  return hooks (SWT.KeyDown) || hooks (SWT.KeyUp);
}

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

boolean hooksKeys () {
  return hooks (SWT.KeyDown) || hooks (SWT.KeyUp);
}

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

@Override
LRESULT WM_UPDATEUISTATE (int /*long*/ wParam, int /*long*/ lParam) {
  LRESULT result = super.WM_UPDATEUISTATE (wParam, lParam);
  if (result != null) return result;
  if ((state & CANVAS) != 0 && hooks (SWT.Paint)) {
    OS.InvalidateRect (handle, null, true);
  }
  return result;
}

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

double /*float*/ deltaY = nsEvent.deltaY();
double /*float*/ deltaX = nsEvent.deltaX ();
if ((hooks(SWT.Gesture) || filters (SWT.Gesture))) {
  if (deltaX != 0 || deltaY != 0) {
    if (!gestureEvent(id, theEvent, SWT.GESTURE_PAN)) {
  if (deltaY != 0) {
    boolean doit = true;
    if (hooks (SWT.MouseWheel) || filters (SWT.MouseWheel)) {
      doit = sendMouseEvent(nsEvent, SWT.MouseWheel, true);
    if (hooks (SWT.MouseHorizontalWheel) || filters (SWT.MouseHorizontalWheel)) {
      doit = sendMouseEvent(nsEvent, SWT.MouseHorizontalWheel, true);
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

if ((state & CANVAS) != 0) {
  if ((style & SWT.NO_REDRAW_RESIZE) == 0) {
    if (hooks (SWT.Paint)) {
      OS.InvalidateRect (handle, null, true);
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

  drawBackground (wParam, rect);
if (hooks (SWT.Paint) || filters (SWT.Paint)) {
  GCData data = new GCData ();
  data.device = display;
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

if (hooks (SWT.Paint) || filters (SWT.Paint)) {
org.eclipse.swt.widgetsCompositehooks

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
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Best plugins for Eclipse
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