Codota Logo
ViewerCell.getForeground
Code IndexAdd Codota to your IDE (free)

How to use
getForeground
method
in
org.eclipse.jface.viewers.ViewerCell

Best Java code snippets using org.eclipse.jface.viewers.ViewerCell.getForeground (Showing top 2 results out of 315)

  • Common ways to obtain ViewerCell
private void myMethod () {
ViewerCell v =
  • Codota IconSWTFocusCellManager sWTFocusCellManager;sWTFocusCellManager.getFocusCell()
  • Codota IconViewerRow viewerRow;viewerRow.getCell(column)
  • Codota IconColumnViewer columnViewer;columnViewer.getColumnViewerEditor().getFocusCell()
  • Smart code suggestions by Codota
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

Color foreground= cell.getForeground();
if (foreground != null) {
  gc.setForeground(foreground);
origin: org.eclipse.platform/org.eclipse.jface

Color foreground= cell.getForeground();
if (foreground != null) {
  gc.setForeground(foreground);
org.eclipse.jface.viewersViewerCellgetForeground

Javadoc

Gets the foreground color of the cell.

Popular methods of ViewerCell

  • getElement
    Get the element this row represents.
  • setText
    Set the text for the cell.
  • setImage
    Set the Image for the cell.
  • setStyleRanges
    Set the style ranges to be applied on the text label Note: Requires StyledCellLabelProvider with own
  • getColumnIndex
    Get the index of the cell.
  • getText
    Return the text for the cell.
  • setBackground
    Set the background color of the cell.
  • setForeground
    Set the foreground color of the cell.
  • getItem
    Return the item for the receiver.
  • setFont
    Set the font of the cell.
  • getViewerRow
  • getBounds
    Get the bounds of the cell.
  • getViewerRow,
  • getBounds,
  • getImage,
  • getStyleRanges,
  • <init>,
  • equals,
  • getControl,
  • getNeighbor,
  • getVisualIndex,
  • isVisible

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getContentResolver (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
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