Class HtmlValues

java.lang.Object
org.loboevolution.html.style.HtmlValues
Direct Known Subclasses:
FontValues

public class HtmlValues extends Object

HtmlValues class.

  • Constructor Details

    • HtmlValues

      public HtmlValues()
  • Method Details

    • getListStyle

      public static ListStyle getListStyle(String listStyleText)

      getListStyle.

      Parameters:
      listStyleText - a String object.
      Returns:
      a ListStyle object.
    • getListStyleImage

      public static Image getListStyleImage(String token)

      getListStyleImage.

      Parameters:
      token - a String object.
      Returns:
      a Image object.
    • getListStylePosition

      public static ListValues getListStylePosition(String token)

      getListStylePosition.

      Parameters:
      token - a String object.
      Returns:
      a ListValues object.
    • getListStyleType

      public static ListValues getListStyleType(String token)

      getListStyleType.

      Parameters:
      token - a String object.
      Returns:
      a ListValues object.
    • getPixelSize

      public static int getPixelSize(String spec, RenderState renderState, Window window, int errorValue)

      getPixelSize.

      Parameters:
      spec - a String object.
      renderState - a RenderState object.
      errorValue - a Integer object.
      Returns:
      a Integer object.
    • getPixelSize

      public static Integer getPixelSize(String spec, RenderState renderState, Window window, Integer errorValue, Integer availSize)

      getPixelSize.

      Parameters:
      spec - a String object.
      renderState - a RenderState object.
      errorValue - a Integer object.
      availSize - a Integer object.
      Returns:
      a Integer object.
    • resolutionValue

      public static int resolutionValue(CSSValueImpl cssValue)

      resolutionValue.

      Parameters:
      cssValue - a CSSValueImpl object.
      Returns:
      a Integer object.
    • isBackgroundPosition

      public static boolean isBackgroundPosition(String token)

      isBackgroundPosition.

      Parameters:
      token - a String object.
      Returns:
      a boolean.
    • isBackgroundAttachment

      public static boolean isBackgroundAttachment(String token)

      isBackgroundPosition.

      Parameters:
      token - a String object.
      Returns:
      a boolean.
    • isBackgroundRepeat

      public static boolean isBackgroundRepeat(String repeat)

      isBackgroundRepeat.

      Parameters:
      repeat - a String object.
      Returns:
      a boolean.
    • isBorderStyle

      public static boolean isBorderStyle(String token)

      isBorderStyle.

      Parameters:
      token - a String object.
      Returns:
      a boolean.
    • isUrl

      public static boolean isUrl(String token)

      isUrl.

      Parameters:
      token - a String object.
      Returns:
      a boolean.
    • isGradient

      public static boolean isGradient(String token)

      isGradient.

      Parameters:
      token - a String object.
      Returns:
      a boolean.
    • quoteAndEscape

      public static String quoteAndEscape(String text)

      quoteAndEscape.

      Parameters:
      text - a String object.
      Returns:
      a String object.
    • splitCssValue

      public static String[] splitCssValue(String cssValue)

      splitCssValue.

      Parameters:
      cssValue - a String object.
      Returns:
      an array of String objects.
    • unquoteAndUnescape

      public static String unquoteAndUnescape(String text)

      unquoteAndUnescape.

      Parameters:
      text - a String object.
      Returns:
      a String object.
    • isUnits

      public static boolean isUnits(String token)