Eclipse Platform
Release 3.0

org.eclipse.jface.viewers
Interface IFontProvider

All Known Implementing Classes:
WorkbenchLabelProvider

public interface IFontProvider

Interface to provide font representation for a given element.

Since:
3.0

Method Summary
 Font getFont(Object element)
          Provides a font for the given element.
 

Method Detail

getFont

public Font getFont(Object element)
Provides a font for the given element.

Parameters:
element - the element
Returns:
the font for the element, or null to use the default font

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.