public static class AdapterFactoryLabelProvider.FontAndColorProvider extends AdapterFactoryLabelProvider
AdapterFactoryLabelProvider.ColorProvider, AdapterFactoryLabelProvider.FontAndColorProvider, AdapterFactoryLabelProvider.FontProvideradapterFactory, defaultBackground, defaultFont, defaultForeground, isFireLabelUpdateNotifications, labelProviderListeners| Constructor and Description |
|---|
AdapterFactoryLabelProvider.FontAndColorProvider(AdapterFactory adapterFactory,
Font defaultFont,
Color defaultForeground,
Color defaultBackground)
Construct an instance that wraps the given factory and specifies the given default font and colors.
|
AdapterFactoryLabelProvider.FontAndColorProvider(AdapterFactory adapterFactory,
Viewer viewer)
Construct an instance that wraps the given factory and uses the font and colors of the viewer's control.
|
addListener, dispose, fireLabelProviderChanged, getAdapterFactory, getBackground, getBackground, getColorFromObject, getColumnImage, getColumnText, getDefaultBackground, getDefaultFont, getDefaultForeground, getDefaultImage, getFont, getFont, getFontFromObject, getForeground, getForeground, getImage, getImageFromObject, getText, isFireLabelUpdateNotifications, isLabelProperty, notifyChanged, removeListener, setAdapterFactory, setDefaultBackground, setDefaultFont, setDefaultForeground, setFireLabelUpdateNotificationspublic AdapterFactoryLabelProvider.FontAndColorProvider(AdapterFactory adapterFactory, Font defaultFont, Color defaultForeground, Color defaultBackground)
adapterFactory - an adapter factory that yield adapters that implement the various item label provider interfaces.defaultFont - the font that will be used when no font is specified.defaultForeground - the foreground color that will be used when no foreground color is specified.defaultBackground - the background color that will be used when no background color is specified.public AdapterFactoryLabelProvider.FontAndColorProvider(AdapterFactory adapterFactory, Viewer viewer)
adapterFactory - an adapter factory that yield adapters that implement the various item label provider interfaces.viewer - the viewer for which the control's font and color should be used.