Top Constructors Methods
com.vladsch.flexmark.util.html.ui

public Class HtmlHelpers

extends Object
Class Inheritance
Imports
com.vladsch.flexmark.util.misc.Utils, javax.swing.JTextPane, java.awt.Font, java.util.regex.Matcher, .Pattern

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Color
mixedColor(Color originalColor, Color overlayColor)

public static void
setRegExError(String error, JTextPane jTextPane, Font textFont, BackgroundColor validTextFieldBackground, BackgroundColor warningTextFieldBackground)

public static String
toHtmlError(String err, boolean withContext)

public static String
public static String
public static String
withContext(String text, String context, int pos, String prefix, String suffix)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HtmlHelpersback to summary
public HtmlHelpers()

Method Detail

mixedColorback to summary
public static Color mixedColor(Color originalColor, Color overlayColor)
setRegExErrorback to summary
public static void setRegExError(String error, JTextPane jTextPane, Font textFont, BackgroundColor validTextFieldBackground, BackgroundColor warningTextFieldBackground)
toHtmlErrorback to summary
public static String toHtmlError(String err, boolean withContext)
toHtmlStringback to summary
public static String toHtmlString(Color color)
toRgbStringback to summary
public static String toRgbString(Color color)
withContextback to summary
public static String withContext(String text, String context, int pos, String prefix, String suffix)