public static class LabelProviders.Builder<T> extends ColumnLabelProvider
ColumnLabelProvider
.Modifier and Type | Method and Description |
---|---|
ColumnLabelProvider |
build()
Returns a new ColumnLabelProvider.
|
LabelProviders.Builder<T> |
setBackground(Function<? super T,? extends Color> background)
Sets the function used to determine the background color.
|
LabelProviders.Builder<T> |
setFont(Function<? super T,? extends Font> font)
Sets the function used to determine the font.
|
LabelProviders.Builder<T> |
setForeground(Function<? super T,? extends Color> foreground)
Sets the function used to determine the foreground color.
|
LabelProviders.Builder<T> |
setImage(Function<? super T,? extends Image> image)
Sets the function used to determine the image.
|
LabelProviders.Builder<T> |
setText(Function<? super T,? extends String> text)
Sets the function used to determine the text.
|
getBackground, getFont, getForeground, getImage, getText, update
dispose, getToolTipBackgroundColor, getToolTipDisplayDelayTime, getToolTipFont, getToolTipForegroundColor, getToolTipImage, getToolTipShift, getToolTipStyle, getToolTipText, getToolTipTimeDisplayed, initialize, useNativeToolTip
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, dispose, isLabelProperty, removeListener
public LabelProviders.Builder<T> setText(Function<? super T,? extends String> text)
public LabelProviders.Builder<T> setImage(Function<? super T,? extends Image> image)
public LabelProviders.Builder<T> setBackground(Function<? super T,? extends Color> background)
public LabelProviders.Builder<T> setForeground(Function<? super T,? extends Color> foreground)
public LabelProviders.Builder<T> setFont(Function<? super T,? extends Font> font)
public ColumnLabelProvider build()