Class ResourceHelper

java.lang.Object
org.eclipse.nebula.widgets.richtext.painter.ResourceHelper

public final class ResourceHelper
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static org.eclipse.swt.graphics.Font getBoldFont​(org.eclipse.swt.graphics.Font currentFont)  
    static org.eclipse.swt.graphics.Color getColor​(java.lang.String rgbString)  
    static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.FontData... fontDatas)  
    static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.Font currentFont, java.lang.String name, java.lang.Integer size)  
    static org.eclipse.swt.graphics.Font getItalicFont​(org.eclipse.swt.graphics.Font currentFont)  
    static java.net.URL getRichTextResource​(java.lang.String resource)  
    static java.lang.String ltrim​(java.lang.String s)  
    static java.lang.String rtrim​(java.lang.String s)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getColor

      public static org.eclipse.swt.graphics.Color getColor​(java.lang.String rgbString)
    • getFont

      public static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.FontData... fontDatas)
    • getFont

      public static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.Font currentFont, java.lang.String name, java.lang.Integer size)
    • getBoldFont

      public static org.eclipse.swt.graphics.Font getBoldFont​(org.eclipse.swt.graphics.Font currentFont)
    • getItalicFont

      public static org.eclipse.swt.graphics.Font getItalicFont​(org.eclipse.swt.graphics.Font currentFont)
    • ltrim

      public static java.lang.String ltrim​(java.lang.String s)
    • rtrim

      public static java.lang.String rtrim​(java.lang.String s)
    • getRichTextResource

      public static java.net.URL getRichTextResource​(java.lang.String resource)