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

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

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

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

@Override
public void setForeground (Color color) {
  super.setForeground(color);
  foreground = color;
  for (int i = 0; i < sashes.length; i++) {
    sashes[i].setForeground(foreground);
  }
}
/**
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

@Override
public void setForeground (Color color) {
  super.setForeground(color);
  foreground = color;
  for (int i = 0; i < sashes.length; i++) {
    sashes[i].setForeground(foreground);
  }
}
/**
origin: BiglySoftware/BiglyBT

@Override
public boolean setForegroundToErrorColor() {
  if (isDisposed()) {
    return false;
  }
  composite.setForeground(Colors.colorError);
  return true;
}
origin: org.eclipse.rap/org.eclipse.rap.rwt

@Override
public void setForeground( Color color ) {
 super.setForeground( color );
 foreground = color;
 for( int i = 0; i < sashes.length; i++ ) {
  sashes[ i ].setForeground( foreground );
 }
}
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

@Override
public void setForeground (Color color) {
  super.setForeground(color);
  table.setForeground(color);
}
@Override
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

@Override
public void setForeground (Color color) {
  super.setForeground(color);
  table.setForeground(color);
}
@Override
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
public void setForeground (Color color) {
  super.setForeground(color);
  redraw();
}
/**
origin: org.eclipse.swt.cocoa.macosx/x86_64

public void setForeground (Color color) {
  super.setForeground(color);
  table.setForeground(color);
}
public void setMenu (Menu menu) {
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

@Override
public void setForeground (Color color) {
  super.setForeground (color);
  fg = color;
  if (popupCalendar != null) popupCalendar.setForeground (color);
}

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

@Override
public void setForeground (Color color) {
  super.setForeground(color);
  redraw();
}
/**
origin: org.eclipse.platform/org.eclipse.jface.text

@Override
public void setForegroundColor(Color foreground) {
  fContentComposite.setForeground(foreground);
  if (fStatusLabel != null) {
    setStatusLabelColors(foreground, fStatusLabel.getBackground());
  }
}
origin: org.eclipse.swt.cocoa.macosx/x86_64

void setForeground (double /*float*/ [] color) {
  super.setForeground(color);
  int index = getSelectionIndex();
  for (int i = 0; i < itemCount; i++) {
    items[i].updateText(i == index);
  }
}

origin: org.eclipse.platform/org.eclipse.swt.examples

@Override
public void setForeground (Color color) {
  checkWidget ();
  if (color == null) color = display.getSystemColor (SWT.COLOR_LIST_FOREGROUND);
  super.setForeground (color);
}
/**
origin: org.eclipse.swt.cocoa.macosx/x86_64

public void setForeground (Color color) {
  super.setForeground(color);
  foreground = color;
  if (text != null) text.setForeground(color);
  if (list != null) list.setForeground(color);
  if (arrow != null) arrow.setForeground(color);
}
/**
origin: org.eclipse.platform/org.eclipse.e4.ui.workbench.renderers.swt

private void setForegroundColor(Color foreground) {
  fTableViewer.getTable().setForeground(foreground);
  fFilterText.setForeground(foreground);
  fComposite.setForeground(foreground);
}
origin: org.eclipse.e4.ui.workbench.renderers/swt

private void setForegroundColor(Color foreground) {
  fTableViewer.getTable().setForeground(foreground);
  fFilterText.setForeground(foreground);
  fComposite.setForeground(foreground);
}
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

@Override
public void setForeground (Color color) {
  super.setForeground(color);
  foreground = color;
  if (text != null) text.setForeground(color);
  if (list != null) list.setForeground(color);
  if (arrow != null) arrow.setForeground(color);
}
/**
origin: org.eclipse.platform/org.eclipse.ui.forms

  private Composite createPage() {
    Composite page = new Composite(pageBook, SWT.NULL);
    page.setBackground(getBackground());
    page.setForeground(getForeground());
    page.setMenu(pageBook.getMenu());
    return page;
  }
}
origin: BiglySoftware/BiglyBT

@Override
public void setForeground(Color color) {
  if (null != label && !label.isDisposed()) {
    label.setForeground(color);
  }
  if (null != content && !content.isDisposed()) {
    content.setForeground(color);
  }
  super.setForeground(color);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.forms

  private Composite createPage() {
    Composite page = new LayoutComposite(pageBook, SWT.NULL);
    page.setBackground(getBackground());
    page.setForeground(getForeground());
    page.setMenu(pageBook.getMenu());
    return page;
  }
}
org.eclipse.swt.widgetsCompositesetForeground

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
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JTextField (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Option (scala)
  • Top 12 Jupyter Notebook extensions
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