Control findBackgroundControl () { if ((background != -1 || backgroundImage != null) && backgroundAlpha > 0) return this; return (state & PARENT_BACKGROUND) != 0 ? parent.findBackgroundControl () : null; }
Control findBackgroundControl () { if (((state & BACKGROUND) != 0 || backgroundImage != null) && backgroundAlpha > 0) return this; return (state & PARENT_BACKGROUND) != 0 ? parent.findBackgroundControl () : null; }
Control findBackgroundControl () { if (((state & BACKGROUND) != 0 || backgroundImage != null) && backgroundAlpha > 0) return this; return (state & PARENT_BACKGROUND) != 0 ? parent.findBackgroundControl () : null; }
Control findBackgroundControl () { if (((state & BACKGROUND) != 0 || backgroundImage != null) && backgroundAlpha > 0) return this; return (state & PARENT_BACKGROUND) != 0 ? parent.findBackgroundControl () : null; }
@Override Control findBackgroundControl () { Control control = super.findBackgroundControl (); if (!isAppThemed ()) { if (control == null) control = this; } return control; }
@Override Control findBackgroundControl() { Control control = super.findBackgroundControl(); if( !isAppThemed() ) { if( control == null ) { control = this; } } return control; }
Control findBackgroundControl() { Control result = null; if( background != null || backgroundImage != null ) { result = this; } else if( hasState( PARENT_BACKGROUND ) ) { result = parent.findBackgroundControl(); } return result; }
Control findBackgroundControl () { if (backgroundImage != null || background != null) return this; return (!isTransparent() && (state & PARENT_BACKGROUND) != 0) ? parent.findBackgroundControl () : null; }
if (gc == null) error (SWT.ERROR_NULL_ARGUMENT); if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT); Control control = findBackgroundControl (); if (control != null) { NSRect rect = new NSRect();
data.device = display; data.foreground = getForegroundPixel (); Control control = findBackgroundControl (); if (control == null) control = this; data.background = control.getBackgroundPixel ();
if (gc == null) error (SWT.ERROR_NULL_ARGUMENT); if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT); Control control = findBackgroundControl (); if (control != null) { GCData data = gc.getGCData ();
if (gc == null) error (SWT.ERROR_NULL_ARGUMENT); if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT); Control control = findBackgroundControl (); if (control != null) { GCData data = gc.getGCData ();
if (gc == null) error (SWT.ERROR_NULL_ARGUMENT); if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT); Control control = findBackgroundControl (); if (control != null) { GCData data = gc.getGCData ();
data.device = display; data.foreground = getForegroundPixel (); Control control = findBackgroundControl (); if (control == null) control = this; data.background = control.getBackgroundPixel ();