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 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 class org.eclipse.jface.viewers.StyledString.Styler