Package com.iizix.swt
Class BoldFontStyler
java.lang.Object
org.eclipse.jface.viewers.StyledString.Styler
com.iizix.swt.BoldFontStyler
public class BoldFontStyler extends org.eclipse.jface.viewers.StyledString.Styler
A Styler for Viewers with Bold fonts.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionBoldFontStyler
(org.eclipse.jface.viewers.Viewer viewer) Constructs a Styler for StyledString that sets a bold font.Method Summary
Modifier and TypeMethodDescriptionvoid
applyStyles
(org.eclipse.swt.graphics.TextStyle textStyle) Sets the new bold font.
Constructor Details
BoldFontStyler
public BoldFontStyler(org.eclipse.jface.viewers.Viewer viewer) Constructs a Styler for StyledString that sets a bold font.- Parameters:
viewer
- The viewer.
Method Details
applyStyles
public void applyStyles(org.eclipse.swt.graphics.TextStyle textStyle) Sets the new bold font.- Specified by:
applyStyles
in classorg.eclipse.jface.viewers.StyledString.Styler