BORDER_STYLE_DASHED
public static final int BORDER_STYLE_DASHED
BORDER_STYLE_DOTTED
public static final int BORDER_STYLE_DOTTED
BORDER_STYLE_DOUBLE
public static final int BORDER_STYLE_DOUBLE
BORDER_STYLE_GROOVE
public static final int BORDER_STYLE_GROOVE
BORDER_STYLE_HIDDEN
public static final int BORDER_STYLE_HIDDEN
BORDER_STYLE_INSET
public static final int BORDER_STYLE_INSET
BORDER_STYLE_NONE
public static final int BORDER_STYLE_NONE
BORDER_STYLE_OUTSET
public static final int BORDER_STYLE_OUTSET
BORDER_STYLE_RIDGE
public static final int BORDER_STYLE_RIDGE
BORDER_STYLE_SOLID
public static final int BORDER_STYLE_SOLID
DEFAULT_BORDER_WIDTH
public static final int DEFAULT_BORDER_WIDTH
DEFAULT_FONT_SIZE
public static final float DEFAULT_FONT_SIZE
DEFAULT_FONT_SIZE_BOX
public static final Float DEFAULT_FONT_SIZE_BOX
DEFAULT_FONT_SIZE_INT
public static final int DEFAULT_FONT_SIZE_INT
SYSTEM_FONTS
public static final Map SYSTEM_FONTS
getBorderInsets
public static Insets getBorderInsets(Insets borderStyles,
CSS2Properties cssProperties,
RenderState renderState)
getBorderStyles
public static Insets getBorderStyles(CSS2Properties properties)
getColorFromBackground
public static String getColorFromBackground(String background)
getFontNumberOldStyle
public static final int getFontNumberOldStyle(String oldHtmlSpec,
RenderState renderState)
Gets a number for 1 to 7.
oldHtmlSpec
- A number from 1 to 7 or +1, etc.
getFontSize
public static final float getFontSize(String spec,
RenderState parentRenderState)
getFontSize
public static final float getFontSize(int fontNumber)
getInsets
public static Insets getInsets(String insetsSpec,
RenderState renderState,
boolean negativeOK)
getListStyle
public static ListStyle getListStyle(String listStyleText)
getListStylePosition
public static int getListStylePosition(String token)
getListStyleType
public static int getListStyleType(String token)
getListStyleTypeDeprecated
public static int getListStyleTypeDeprecated(String token)
getOldSyntaxPixelSize
public static int getOldSyntaxPixelSize(String spec,
int availSize,
int errorValue)
getPixelSize
public static final int getPixelSize(String spec,
RenderState renderState,
int errorValue)
getPixelSize
public static final int getPixelSize(String spec,
RenderState renderState,
int errorValue,
int availSize)
getURIFromStyleValue
public static java.net.URL getURIFromStyleValue(String fullURLStyleValue)
isBackgroundPosition
public static boolean isBackgroundPosition(String token)
isBackgroundRepeat
public static boolean isBackgroundRepeat(String repeat)
isBorderStyle
public static boolean isBorderStyle(String token)
isFontStyle
public static boolean isFontStyle(String token)
isFontVariant
public static boolean isFontVariant(String token)
isFontWeight
public static boolean isFontWeight(String token)
isLength
public static boolean isLength(String token)
isUrl
public static boolean isUrl(String token)
quoteAndEscape
public static String quoteAndEscape(String text)
splitCssValue
public static String[] splitCssValue(String cssValue)
unquoteAndUnescape
public static String unquoteAndUnescape(String text)