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

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

Best Java code snippets using org.eclipse.jface.viewers.ViewerCell.getBackground (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 background= cell.getBackground();
if (background != null) {
  gc.setBackground(background);
origin: org.eclipse.platform/org.eclipse.jface

Color background= cell.getBackground();
if (background != null) {
  gc.setBackground(background);
org.eclipse.jface.viewersViewerCellgetBackground

Javadoc

Gets the background 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

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Table (org.hibernate.mapping)
    A relational table
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