|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.viewers.StructuredViewer.ColorAndFontCollector
The ColorAndFontManager collects fonts and colors without a a color or font provider.
Constructor Summary | |
---|---|
StructuredViewer.ColorAndFontCollector()
Create a new instance of the receiver with no colour and font provider. |
Method Summary | |
---|---|
void |
applyFontsAndColors(TableItem control)
Apply the fonts and colors to the control if required. |
void |
applyFontsAndColors(TableTreeItem control)
Apply the fonts and colors to the control if required. |
void |
applyFontsAndColors(TreeItem control)
Apply the fonts and colors to the control if required. |
void |
clear()
Clear all of the results. |
void |
setBackground(Color background)
Set the background color. |
void |
setFont(Font font)
Set the font. |
void |
setFontsAndColors(Object element)
Set the initial fonts and colors for the element from the content providers. |
void |
setForeground(Color foreground)
Set the foreground color. |
void |
setUsedDecorators()
Set that decorators were applied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StructuredViewer.ColorAndFontCollector()
Method Detail |
public void clear()
public void setFontsAndColors(Object element)
element
- Objectpublic void setUsedDecorators()
public void applyFontsAndColors(TableItem control)
control
- public void applyFontsAndColors(TreeItem control)
control
- public void applyFontsAndColors(TableTreeItem control)
control
- public void setBackground(Color background)
background
- public void setFont(Font font)
font
- public void setForeground(Color foreground)
foreground
-
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.