Package org.loboevolution.html.style
Class HtmlValues
java.lang.Object
org.loboevolution.html.style.HtmlValues
- Direct Known Subclasses:
FontValues
HtmlValues class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ListStyle
getListStyle
(String listStyleText) getListStyle.static Image
getListStyleImage
(String token) getListStyleImage.static ListValues
getListStylePosition
(String token) getListStylePosition.static ListValues
getListStyleType
(String token) getListStyleType.static int
getPixelSize
(String spec, RenderState renderState, Window window, int errorValue) getPixelSize.static Integer
getPixelSize
(String spec, RenderState renderState, Window window, Integer errorValue, Integer availSize) getPixelSize.static boolean
isBackgroundAttachment
(String token) isBackgroundPosition.static boolean
isBackgroundPosition
(String token) isBackgroundPosition.static boolean
isBackgroundRepeat
(String repeat) isBackgroundRepeat.static boolean
isBorderStyle
(String token) isBorderStyle.static boolean
isGradient
(String token) isGradient.static boolean
static boolean
isUrl.static String
quoteAndEscape
(String text) quoteAndEscape.static int
resolutionValue
(CSSValueImpl cssValue) resolutionValue.static String[]
splitCssValue
(String cssValue) splitCssValue.static String
unquoteAndUnescape
(String text) unquoteAndUnescape.
-
Constructor Details
-
HtmlValues
public HtmlValues()
-
-
Method Details
-
getListStyle
getListStyle.
-
getListStyleImage
getListStyleImage.
-
getListStylePosition
getListStylePosition.
- Parameters:
token
- aString
object.- Returns:
- a
ListValues
object.
-
getListStyleType
getListStyleType.
- Parameters:
token
- aString
object.- Returns:
- a
ListValues
object.
-
getPixelSize
getPixelSize.
- Parameters:
spec
- aString
object.renderState
- aRenderState
object.errorValue
- aInteger
object.- Returns:
- a
Integer
object.
-
getPixelSize
public static Integer getPixelSize(String spec, RenderState renderState, Window window, Integer errorValue, Integer availSize) getPixelSize.
- Parameters:
spec
- aString
object.renderState
- aRenderState
object.errorValue
- aInteger
object.availSize
- aInteger
object.- Returns:
- a
Integer
object.
-
resolutionValue
resolutionValue.
- Parameters:
cssValue
- aCSSValueImpl
object.- Returns:
- a
Integer
object.
-
isBackgroundPosition
isBackgroundPosition.
- Parameters:
token
- aString
object.- Returns:
- a boolean.
-
isBackgroundAttachment
isBackgroundPosition.
- Parameters:
token
- aString
object.- Returns:
- a boolean.
-
isBackgroundRepeat
isBackgroundRepeat.
- Parameters:
repeat
- aString
object.- Returns:
- a boolean.
-
isBorderStyle
isBorderStyle.
- Parameters:
token
- aString
object.- Returns:
- a boolean.
-
isUrl
isUrl.
- Parameters:
token
- aString
object.- Returns:
- a boolean.
-
isGradient
isGradient.
- Parameters:
token
- aString
object.- Returns:
- a boolean.
-
quoteAndEscape
quoteAndEscape.
-
splitCssValue
splitCssValue.
-
unquoteAndUnescape
unquoteAndUnescape.
-
isUnits
-