public class EEFCheckboxStyleCallback extends java.lang.Object implements EEFStyleHelper.IEEFTextStyleCallback
| Constructor and Description |
|---|
EEFCheckboxStyleCallback(org.eclipse.swt.widgets.Button checkbox)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyBackgroundColor(EEFColor color)
Applies the given background color to the widget.
|
void |
applyFont(EEFFont font)
Applies the given font to the widget.
|
void |
applyFontStyle(boolean strikeout,
boolean underline)
Applies the strikeout and/or underline styles.
|
void |
applyForegroundColor(EEFColor color)
Applies the given foreground color to the widget.
|
public EEFCheckboxStyleCallback(org.eclipse.swt.widgets.Button checkbox)
checkbox - The checkboxpublic void applyFont(EEFFont font)
applyFont in interface EEFStyleHelper.IEEFTextStyleCallbackfont - The fontEEFStyleHelper.IEEFTextStyleCallback.applyFont(org.eclipse.eef.ide.ui.internal.widgets.styles.EEFFont)public void applyFontStyle(boolean strikeout,
boolean underline)
applyFontStyle in interface EEFStyleHelper.IEEFTextStyleCallbackstrikeout - true if the widget should be striked out, false otherwiseunderline - true if the widget should be underlined, false otherwiseEEFStyleHelper.IEEFTextStyleCallback.applyFontStyle(boolean,
boolean)public void applyForegroundColor(EEFColor color)
applyForegroundColor in interface EEFStyleHelper.IEEFTextStyleCallbackcolor - The foreground colorEEFStyleHelper.IEEFTextStyleCallback.applyForegroundColor(org.eclipse.eef.ide.ui.internal.widgets.styles.EEFColor)public void applyBackgroundColor(EEFColor color)
applyBackgroundColor in interface EEFStyleHelper.IEEFTextStyleCallbackcolor - The background colorEEFStyleHelper.IEEFTextStyleCallback.applyBackgroundColor(org.eclipse.eef.ide.ui.internal.widgets.styles.EEFColor)