Package com.iizix.swt

Class BoldFontStyler


  • public class BoldFontStyler
    extends org.eclipse.jface.viewers.StyledString.Styler
    A Styler for Viewers with Bold fonts.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      ConstructorDescription
      BoldFontStyler​(org.eclipse.jface.viewers.Viewer viewer)
      Constructs a Styler for StyledString that sets a bold font.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidapplyStyles​(org.eclipse.swt.graphics.TextStyle textStyle)
      Sets the new bold font.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BoldFontStyler

        public BoldFontStyler​(org.eclipse.jface.viewers.Viewer viewer)
        Constructs a Styler for StyledString that sets a bold font.
        Parameters:
        viewer - The viewer.
    • Method Detail

      • 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