Class SWTFSFont

java.lang.Object
org.xhtmlrenderer.swt.SWTFSFont
All Implemented Interfaces:
FSFont

public class SWTFSFont extends Object implements FSFont
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.eclipse.swt.graphics.Font
     
    private final boolean
     
    private final float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SWTFSFont(org.eclipse.swt.graphics.Font font, float size)
     
    SWTFSFont(org.eclipse.swt.graphics.Font font, float size, boolean noDispose)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    float
     
    org.eclipse.swt.graphics.Font
     

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _font

      private final org.eclipse.swt.graphics.Font _font
    • _size

      private final float _size
    • _noDispose

      private final boolean _noDispose
  • Constructor Details

    • SWTFSFont

      public SWTFSFont(org.eclipse.swt.graphics.Font font, float size)
    • SWTFSFont

      public SWTFSFont(org.eclipse.swt.graphics.Font font, float size, boolean noDispose)
  • Method Details

    • getSize2D

      public float getSize2D()
      Specified by:
      getSize2D in interface FSFont
    • getSWTFont

      public org.eclipse.swt.graphics.Font getSWTFont()
    • dispose

      public void dispose()
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object