|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cssbean.CSSBean
public class CSSBean
Field Summary | |
---|---|
static java.lang.String |
COLOR_TRANSPARENT
|
static java.lang.String |
FONT_SIZE_ADJUST_NONE
|
static java.lang.String |
FONT_SIZE_LARGE
|
static java.lang.String |
FONT_SIZE_LARGER
|
static java.lang.String |
FONT_SIZE_MEDIUM
|
static java.lang.String |
FONT_SIZE_SMALL
|
static java.lang.String |
FONT_SIZE_SMALLER
|
static java.lang.String |
FONT_SIZE_X_LARGE
|
static java.lang.String |
FONT_SIZE_X_SMALL
|
static java.lang.String |
FONT_SIZE_XX_LARGE
|
static java.lang.String |
FONT_SIZE_XX_SMALL
|
static java.lang.String |
LENGTH_AUTO
|
static java.lang.String |
LENGTH_NONE
|
static java.lang.String |
LENGTH_NORMAL
|
static java.util.Set<java.lang.String> |
LENGTH_UNITS
|
static java.lang.String |
POSITION_BOTTOM_CENTER
|
static java.lang.String |
POSITION_BOTTOM_LEFT
|
static java.lang.String |
POSITION_BOTTOM_RIGHT
|
static java.lang.String |
POSITION_CENTER_CENTER
|
static java.lang.String |
POSITION_CENTER_LEFT
|
static java.lang.String |
POSITION_CENTER_RIGHT
|
static java.lang.String |
POSITION_TOP_CENTER
|
static java.lang.String |
POSITION_TOP_LEFT
|
static java.lang.String |
POSITION_TOP_RIGHT
|
static java.lang.String |
STYLE_BACKGROUND
|
static java.lang.String |
STYLE_BACKGROUND_ATTACHMENT
|
static java.lang.String |
STYLE_BACKGROUND_COLOR
|
static java.lang.String |
STYLE_BACKGROUND_IMAGE
|
static java.lang.String |
STYLE_BACKGROUND_POSITION
|
static java.lang.String |
STYLE_BACKGROUND_REPEAT
|
static java.lang.String |
STYLE_BORDER
|
static java.lang.String |
STYLE_BORDER_BOTTOM
|
static java.lang.String |
STYLE_BORDER_BOTTOM_COLOR
|
static java.lang.String |
STYLE_BORDER_BOTTOM_STYLE
|
static java.lang.String |
STYLE_BORDER_BOTTOM_WIDTH
|
static java.lang.String |
STYLE_BORDER_COLOR
|
static java.lang.String |
STYLE_BORDER_LEFT
|
static java.lang.String |
STYLE_BORDER_LEFT_COLOR
|
static java.lang.String |
STYLE_BORDER_LEFT_STYLE
|
static java.lang.String |
STYLE_BORDER_LEFT_WIDTH
|
static java.lang.String |
STYLE_BORDER_RIGHT
|
static java.lang.String |
STYLE_BORDER_RIGHT_COLOR
|
static java.lang.String |
STYLE_BORDER_RIGHT_STYLE
|
static java.lang.String |
STYLE_BORDER_RIGHT_WIDTH
|
static java.lang.String |
STYLE_BORDER_STYLE
|
static java.lang.String |
STYLE_BORDER_TOP
|
static java.lang.String |
STYLE_BORDER_TOP_COLOR
|
static java.lang.String |
STYLE_BORDER_TOP_STYLE
|
static java.lang.String |
STYLE_BORDER_TOP_WIDTH
|
static java.lang.String |
STYLE_BORDER_WIDTH
|
static java.lang.String |
STYLE_CLEAR
|
static java.lang.String |
STYLE_COLOR
|
static java.lang.String |
STYLE_DIRECTION
|
static java.lang.String |
STYLE_DISPLAY
|
static java.lang.String |
STYLE_FLOAT
|
static java.lang.String |
STYLE_FONT
|
static java.lang.String |
STYLE_FONT_FAMILY
|
static java.lang.String |
STYLE_FONT_SIZE
|
static java.lang.String |
STYLE_FONT_SIZE_ADJUST
|
static java.lang.String |
STYLE_FONT_STRETCH
|
static java.lang.String |
STYLE_FONT_STYLE
|
static java.lang.String |
STYLE_FONT_VARIANT
|
static java.lang.String |
STYLE_FONT_WEIGHT
|
static java.lang.String |
STYLE_HEIGHT
|
static java.lang.String |
STYLE_LETTER_SPACING
|
static java.lang.String |
STYLE_LINE_HEIGHT
|
static java.lang.String |
STYLE_MAX_HEIGHT
|
static java.lang.String |
STYLE_MAX_WIDTH
|
static java.lang.String |
STYLE_MIN_HEIGHT
|
static java.lang.String |
STYLE_MIN_WIDTH
|
static java.lang.String |
STYLE_POSITION
|
static java.lang.String |
STYLE_TEXT_ALIGN
|
static java.lang.String |
STYLE_TEXT_DECORATION
|
static java.lang.String |
STYLE_TEXT_INDENT
|
static java.lang.String |
STYLE_TEXT_SHADOW
|
static java.lang.String |
STYLE_TEXT_TRANSFORM
|
static java.lang.String |
STYLE_VISIBILITY
|
static java.lang.String |
STYLE_WHITE_SPACE
|
static java.lang.String |
STYLE_WIDTH
|
static java.lang.String |
STYLE_WORD_SPACING
|
static java.lang.String |
TEXT_LETTER_SPACING_NORMAL
|
static java.lang.String |
TEXT_SHADOW_NONE
|
static java.lang.String |
TEXT_WORD_SPACING_NORMAL
|
static java.net.URI |
URL_NONE
|
static java.lang.String |
WIDTH_MEDIUM
|
static java.lang.String |
WIDTH_THICK
|
static java.lang.String |
WIDTH_THIN
|
Constructor Summary | |
---|---|
CSSBean()
|
Method Summary | |
---|---|
protected void |
appendShortHandStyle(java.lang.StringBuilder builder,
java.lang.String style,
java.lang.StringBuilder shortHandBuilder)
|
protected void |
appendStyle(java.lang.StringBuilder builder,
java.lang.String style,
java.lang.String value)
|
protected void |
appendStyle(java.lang.StringBuilder builder,
java.lang.String style,
java.net.URI uri)
|
protected void |
appendStyle(java.lang.StringBuilder builder,
java.lang.String style,
Value value)
|
protected void |
appendValue(java.lang.StringBuilder builder,
java.lang.String value)
|
protected void |
appendValue(java.lang.StringBuilder builder,
java.net.URI uri)
|
protected void |
appendValue(java.lang.StringBuilder builder,
Value value)
|
protected void |
checkBorderWidth(java.lang.String width)
|
protected void |
checkColor(java.lang.String color)
|
BackgroundAttachment |
getBackgroundAttachment()
Gets whether a background image is fixed or scrolls with the rest of the page. |
java.lang.String |
getBackgroundColor()
Gets the background color of an element. |
java.net.URI |
getBackgroundImage()
Gets the background image. |
java.lang.String |
getBackgroundPosition()
Gets the starting position of a background image. |
BackgroundRepeat |
getBackgroundRepeat()
Gets if/how a background image will be repeated. |
java.lang.String |
getBorderBottomColor()
Gets the color of the bottom border. |
BorderStyle |
getBorderBottomStyle()
Gets the style of the bottom border. |
java.lang.String |
getBorderBottomWidth()
Gets the width of the bottom border. |
java.lang.String |
getBorderColor()
Gets the color of the four borders, can have from one to four colors. |
java.lang.String |
getBorderLeftColor()
Gets the color of the left border. |
BorderStyle |
getBorderLeftStyle()
Gets the style of the left border. |
java.lang.String |
getBorderLeftWidth()
Gets the width of the left border. |
java.lang.String |
getBorderRightColor()
Gets the color of the right border. |
BorderStyle |
getBorderRightStyle()
Gets the style of the right border. |
java.lang.String |
getBorderRightWidth()
Gets the width of the right border. |
BorderStyle |
getBorderStyle()
Gets the style of the four borders. |
java.lang.String |
getBorderTopColor()
Gets the color of the top border. |
BorderStyle |
getBorderTopStyle()
Gets the style of the top border. |
java.lang.String |
getBorderTopWidth()
Gets the width of the top border. |
java.lang.String |
getBorderWidth()
Gets the width of the four borders. |
SidePosition |
getClear()
|
java.lang.String |
getColor()
Gets the color of a text. |
Direction |
getDirection()
Gets the text direction. |
Display |
getDisplay()
|
FloatPosition |
getFloat()
|
java.lang.String |
getFontFamily()
Gets the prioritized list of font family names and/or generic family names for an element. |
java.lang.String |
getFontSize()
Gets the size of a font. |
java.lang.String |
getFontSizeAdjust()
Specifies an aspect value for an element that will preserve the x-height of the first-choice font. |
FontStretch |
getFontStretch()
Condenses or expands the current font-family. |
Style |
getFontStyle()
Gets the style of the font. |
Variant |
getFontVariant()
Displays text in a small-caps font or a normal font. |
Weight |
getFontWeight()
Sets the weight of a font. |
java.lang.String |
getHeight()
Gets the height of an element. |
java.lang.String |
getLetterSpacing()
Increase or decrease the space between characters. |
java.lang.String |
getLineHeight()
Gets the distance between lines. |
java.lang.String |
getMaxHeight()
Gets the maximum height of an element. |
java.lang.String |
getMaxWidth()
Gets the maximum width of an element. |
java.lang.String |
getMinHeight()
Gets the minimum height of an element. |
java.lang.String |
getMinWidth()
Gets the minimum width of an element. |
Position |
getPosition()
|
TextAlign |
getTextAlign()
Aligns the text in an element. |
TextDecoration |
getTextDecoration()
Adds decoration to text. |
java.lang.String |
getTextIndent()
Indents the first line of text in an element. |
java.lang.String |
getTextShadow()
|
TextTransform |
getTextTransform()
|
Visibility |
getVisibility()
|
WhiteSpace |
getWhiteSpace()
|
java.lang.String |
getWidth()
Gets the width of an element. |
java.lang.String |
getWordSpacing()
|
protected static boolean |
isColor(java.lang.String color)
|
protected static boolean |
isInteger(java.lang.String val)
|
protected static boolean |
isLength(java.lang.String length)
|
protected static boolean |
isPercent(java.lang.String val)
|
boolean |
isShortHandProperties()
|
protected void |
seperateStyle(java.lang.StringBuilder builder)
Appends white space to the builder parameter if the length of builder is greater than 0. |
protected void |
seperateValue(java.lang.StringBuilder builder)
|
void |
setBackgroundAttachment(BackgroundAttachment backgroundAttachment)
Sets whether a background image is fixed or scrolls with the rest of the page. |
void |
setBackgroundColor(java.lang.String backgroundColor)
Sets the background color of an element. |
void |
setBackgroundImage(java.net.URI backgroundImage)
Sets the background image. |
void |
setBackgroundPosition(java.lang.String backgroundPosition)
Sets the starting position of a background image. |
void |
setBackgroundRepeat(BackgroundRepeat backgroundRepeat)
Sets if/how a background image will be repeated. |
void |
setBorderBottomColor(java.lang.String borderBottomColor)
Sets the color of the bottom border. |
void |
setBorderBottomStyle(BorderStyle borderBottomStyle)
Sets the style of the bottom border. |
void |
setBorderBottomWidth(java.lang.String borderBottomWidth)
Sets the width of the bottom border. |
void |
setBorderColor(java.lang.String borderColor)
Sets the color of the four borders, can have from one to four colors. |
void |
setBorderLeftColor(java.lang.String borderLeftColor)
Sets the color of the left border. |
void |
setBorderLeftStyle(BorderStyle borderLeftStyle)
Sets the style of the left border. |
void |
setBorderLeftWidth(java.lang.String borderLeftWidth)
Sets the width of the left border. |
void |
setBorderRightColor(java.lang.String borderRightColor)
Sets the color of the right border. |
void |
setBorderRightStyle(BorderStyle borderRightStyle)
Sets the style of the right border. |
void |
setBorderRightWidth(java.lang.String borderRightWidth)
Sets the width of the right border. |
void |
setBorderStyle(BorderStyle borderStyle)
Sets the style of the four borders. |
void |
setBorderTopColor(java.lang.String borderTopColor)
Sets the color of the top border. |
void |
setBorderTopStyle(BorderStyle borderTopStyle)
Sets the style of the top border. |
void |
setBorderTopWidth(java.lang.String borderTopWidth)
Sets the width of the top border. |
void |
setBorderWidth(java.lang.String borderWidth)
Sets the width of the four borders. |
void |
setClear(SidePosition clear)
|
void |
setColor(java.lang.String color)
Sets the color of a text. |
void |
setDirection(Direction direction)
Sets the text direction. |
void |
setDisplay(Display display)
|
void |
setFloat(FloatPosition float_)
|
void |
setFontFamily(java.lang.String fontFamily)
Sets the prioritized list of font family names and/or generic family names for an element. |
void |
setFontSize(java.lang.String fontSize)
Sets the size of a font. |
void |
setFontSizeAdjust(java.lang.String fontSizeAdjust)
Specifies an aspect value for an element that will preserve the x-height of the first-choice font. |
void |
setFontStretch(FontStretch fontStretch)
Condenses or expands the current font-family. |
void |
setFontStyle(Style fontStyle)
Sets the style of the font. |
void |
setFontVariant(Variant fontVariant)
Displays text in a small-caps font or a normal font. |
void |
setFontWeight(Weight fontWeight)
Sets the weight of a font. |
void |
setHeight(java.lang.String height)
Sets the height of an element. |
void |
setLetterSpacing(java.lang.String letterSpacing)
Increase or decrease the space between characters. |
void |
setLineHeight(java.lang.String lineHeight)
Sets the distance between lines. |
void |
setMaxHeight(java.lang.String maxHeight)
Sets the maximum height of an element. |
void |
setMaxWidth(java.lang.String maxWidth)
Sets the maximum width of an element. |
void |
setMinHeight(java.lang.String minHeight)
Sets the minimum height of an element. |
void |
setMinWidth(java.lang.String minWidth)
Sets the minimum width of an element. |
void |
setPosition(Position position)
|
void |
setShortHandProperties(boolean shortHandProperties)
|
void |
setTextAlign(TextAlign testAlign)
Aligns the text in an element. |
void |
setTextDecoration(TextDecoration textDecoration)
Adds decoration to text. |
void |
setTextIndent(java.lang.String textIndent)
Indents the first line of text in an element. |
void |
setTextShadow(java.lang.String textShadow)
|
void |
setTextTransform(TextTransform textTransform)
|
void |
setVisibility(Visibility visibility)
|
void |
setWhiteSpace(WhiteSpace whiteSpace)
|
void |
setWidth(java.lang.String width)
Sets the width of an element. |
void |
setWordSpacing(java.lang.String wordSpacing)
|
java.lang.String |
toString()
|
protected java.lang.String |
trimString(java.lang.String str)
|
protected void |
uriToString(java.lang.StringBuilder builder,
java.net.URI uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STYLE_BACKGROUND
public static final java.lang.String STYLE_BACKGROUND_ATTACHMENT
public static final java.lang.String STYLE_BACKGROUND_COLOR
public static final java.lang.String STYLE_BACKGROUND_IMAGE
public static final java.lang.String STYLE_BACKGROUND_POSITION
public static final java.lang.String STYLE_BACKGROUND_REPEAT
public static final java.lang.String STYLE_BORDER
public static final java.lang.String STYLE_BORDER_BOTTOM
public static final java.lang.String STYLE_BORDER_LEFT
public static final java.lang.String STYLE_BORDER_RIGHT
public static final java.lang.String STYLE_BORDER_TOP
public static final java.lang.String STYLE_BORDER_COLOR
public static final java.lang.String STYLE_BORDER_STYLE
public static final java.lang.String STYLE_BORDER_WIDTH
public static final java.lang.String STYLE_BORDER_BOTTOM_COLOR
public static final java.lang.String STYLE_BORDER_BOTTOM_STYLE
public static final java.lang.String STYLE_BORDER_BOTTOM_WIDTH
public static final java.lang.String STYLE_BORDER_LEFT_COLOR
public static final java.lang.String STYLE_BORDER_LEFT_STYLE
public static final java.lang.String STYLE_BORDER_LEFT_WIDTH
public static final java.lang.String STYLE_BORDER_RIGHT_COLOR
public static final java.lang.String STYLE_BORDER_RIGHT_STYLE
public static final java.lang.String STYLE_BORDER_RIGHT_WIDTH
public static final java.lang.String STYLE_BORDER_TOP_COLOR
public static final java.lang.String STYLE_BORDER_TOP_STYLE
public static final java.lang.String STYLE_BORDER_TOP_WIDTH
public static final java.lang.String STYLE_CLEAR
public static final java.lang.String STYLE_DISPLAY
public static final java.lang.String STYLE_FLOAT
public static final java.lang.String STYLE_POSITION
public static final java.lang.String STYLE_VISIBILITY
public static final java.lang.String STYLE_HEIGHT
public static final java.lang.String STYLE_LINE_HEIGHT
public static final java.lang.String STYLE_MAX_HEIGHT
public static final java.lang.String STYLE_MAX_WIDTH
public static final java.lang.String STYLE_MIN_HEIGHT
public static final java.lang.String STYLE_MIN_WIDTH
public static final java.lang.String STYLE_WIDTH
public static final java.lang.String STYLE_FONT
public static final java.lang.String STYLE_FONT_FAMILY
public static final java.lang.String STYLE_FONT_SIZE
public static final java.lang.String STYLE_FONT_SIZE_ADJUST
public static final java.lang.String STYLE_FONT_STRETCH
public static final java.lang.String STYLE_FONT_STYLE
public static final java.lang.String STYLE_FONT_VARIANT
public static final java.lang.String STYLE_FONT_WEIGHT
public static final java.lang.String STYLE_COLOR
public static final java.lang.String STYLE_DIRECTION
public static final java.lang.String STYLE_LETTER_SPACING
public static final java.lang.String STYLE_TEXT_ALIGN
public static final java.lang.String STYLE_TEXT_DECORATION
public static final java.lang.String STYLE_TEXT_INDENT
public static final java.lang.String STYLE_TEXT_SHADOW
public static final java.lang.String STYLE_TEXT_TRANSFORM
public static final java.lang.String STYLE_WHITE_SPACE
public static final java.lang.String STYLE_WORD_SPACING
public static final java.lang.String COLOR_TRANSPARENT
public static final java.lang.String FONT_SIZE_XX_SMALL
public static final java.lang.String FONT_SIZE_X_SMALL
public static final java.lang.String FONT_SIZE_SMALL
public static final java.lang.String FONT_SIZE_MEDIUM
public static final java.lang.String FONT_SIZE_LARGE
public static final java.lang.String FONT_SIZE_X_LARGE
public static final java.lang.String FONT_SIZE_XX_LARGE
public static final java.lang.String FONT_SIZE_SMALLER
public static final java.lang.String FONT_SIZE_LARGER
public static final java.lang.String FONT_SIZE_ADJUST_NONE
public static final java.util.Set<java.lang.String> LENGTH_UNITS
public static final java.lang.String LENGTH_AUTO
public static final java.lang.String LENGTH_NONE
public static final java.lang.String LENGTH_NORMAL
public static final java.lang.String POSITION_TOP_LEFT
public static final java.lang.String POSITION_TOP_CENTER
public static final java.lang.String POSITION_TOP_RIGHT
public static final java.lang.String POSITION_CENTER_LEFT
public static final java.lang.String POSITION_CENTER_CENTER
public static final java.lang.String POSITION_CENTER_RIGHT
public static final java.lang.String POSITION_BOTTOM_LEFT
public static final java.lang.String POSITION_BOTTOM_CENTER
public static final java.lang.String POSITION_BOTTOM_RIGHT
public static final java.lang.String TEXT_LETTER_SPACING_NORMAL
public static final java.lang.String TEXT_SHADOW_NONE
public static final java.lang.String TEXT_WORD_SPACING_NORMAL
public static final java.net.URI URL_NONE
public static final java.lang.String WIDTH_THIN
public static final java.lang.String WIDTH_MEDIUM
public static final java.lang.String WIDTH_THICK
Constructor Detail |
---|
public CSSBean()
Method Detail |
---|
protected static boolean isColor(java.lang.String color)
protected static boolean isInteger(java.lang.String val)
protected static boolean isLength(java.lang.String length)
protected static boolean isPercent(java.lang.String val)
protected void checkColor(java.lang.String color)
protected java.lang.String trimString(java.lang.String str)
protected void checkBorderWidth(java.lang.String width)
public boolean isShortHandProperties()
public void setShortHandProperties(boolean shortHandProperties)
shortHandProperties
- The shortHandProperties to set.public BackgroundAttachment getBackgroundAttachment()
public void setBackgroundAttachment(BackgroundAttachment backgroundAttachment)
backgroundAttachment
- The background-attachment to set.public java.lang.String getBackgroundColor()
public void setBackgroundColor(java.lang.String backgroundColor)
backgroundColor
- The background-color to set.public java.net.URI getBackgroundImage()
public void setBackgroundImage(java.net.URI backgroundImage)
backgroundImage
- The background-image to set.public java.lang.String getBackgroundPosition()
public void setBackgroundPosition(java.lang.String backgroundPosition)
backgroundPosition
- The background-position to set.public BackgroundRepeat getBackgroundRepeat()
public void setBackgroundRepeat(BackgroundRepeat backgroundRepeat)
backgroundRepeat
- The background-repeat to set.public java.lang.String getBorderBottomColor()
public void setBorderBottomColor(java.lang.String borderBottomColor)
borderBottomColor
- The borderBottomColor to set.public BorderStyle getBorderBottomStyle()
public void setBorderBottomStyle(BorderStyle borderBottomStyle)
borderBottomStyle
- The borderBottomStyle to set.public java.lang.String getBorderBottomWidth()
public void setBorderBottomWidth(java.lang.String borderBottomWidth)
borderBottomWidth
- The borderBottomWidth to set.public java.lang.String getBorderColor()
public void setBorderColor(java.lang.String borderColor)
borderColor
- The borderColor to set.public java.lang.String getBorderLeftColor()
public void setBorderLeftColor(java.lang.String borderLeftColor)
borderLeftColor
- The borderLeftColor to set.public BorderStyle getBorderLeftStyle()
public void setBorderLeftStyle(BorderStyle borderLeftStyle)
borderLeftStyle
- The borderLeftStyle to set.public java.lang.String getBorderLeftWidth()
public void setBorderLeftWidth(java.lang.String borderLeftWidth)
borderLeftWidth
- The borderLeftWidth to set.public java.lang.String getBorderRightColor()
public void setBorderRightColor(java.lang.String borderRightColor)
borderRightColor
- The borderRightColor to set.public BorderStyle getBorderRightStyle()
public void setBorderRightStyle(BorderStyle borderRightStyle)
borderRightStyle
- The borderRightStyle to set.public java.lang.String getBorderRightWidth()
public void setBorderRightWidth(java.lang.String borderRightWidth)
borderRightWidth
- The borderRightWidth to set.public BorderStyle getBorderStyle()
public void setBorderStyle(BorderStyle borderStyle)
borderStyle
- The borderStyle to set.public java.lang.String getBorderTopColor()
public void setBorderTopColor(java.lang.String borderTopColor)
borderTopColor
- The borderTopColor to set.public BorderStyle getBorderTopStyle()
public void setBorderTopStyle(BorderStyle borderTopStyle)
borderTopStyle
- The borderTopStyle to set.public java.lang.String getBorderTopWidth()
public void setBorderTopWidth(java.lang.String borderTopWidth)
borderTopWidth
- The borderTopWidth to set.public java.lang.String getBorderWidth()
public void setBorderWidth(java.lang.String borderWidth)
borderWidth
- The borderWidth to set.public SidePosition getClear()
public void setClear(SidePosition clear)
clear
- The clear to set.public Display getDisplay()
public void setDisplay(Display display)
display
- The display to set.public FloatPosition getFloat()
public void setFloat(FloatPosition float_)
float_
- The float_ to set.public Position getPosition()
public void setPosition(Position position)
position
- The position to set.public Visibility getVisibility()
public void setVisibility(Visibility visibility)
visibility
- The visibility to set.public java.lang.String getHeight()
public void setHeight(java.lang.String height)
height
- The height to set.public java.lang.String getLineHeight()
public void setLineHeight(java.lang.String lineHeight)
lineHeight
- The lineHeight to set.public java.lang.String getMaxHeight()
public void setMaxHeight(java.lang.String maxHeight)
maxHeight
- The maxHeight to set.public java.lang.String getMaxWidth()
public void setMaxWidth(java.lang.String maxWidth)
maxWidth
- The maxWidth to set.public java.lang.String getMinHeight()
public void setMinHeight(java.lang.String minHeight)
minHeight
- The minHeight to set.public java.lang.String getMinWidth()
public void setMinWidth(java.lang.String minWidth)
minWidth
- The minWidth to set.public java.lang.String getWidth()
public void setWidth(java.lang.String width)
width
- The width to set.public java.lang.String getFontFamily()
public void setFontFamily(java.lang.String fontFamily)
fontFamily
- The fontFamily to set.public java.lang.String getFontSize()
public void setFontSize(java.lang.String fontSize)
fontSize
- The fontSize to set.public java.lang.String getFontSizeAdjust()
public void setFontSizeAdjust(java.lang.String fontSizeAdjust)
fontSizeAdjust
- The fontSizeAdjust to set.public FontStretch getFontStretch()
public void setFontStretch(FontStretch fontStretch)
fontStretch
- The fontStretch to set.public Style getFontStyle()
public void setFontStyle(Style fontStyle)
fontStyle
- The fontStyle to set.public Variant getFontVariant()
public void setFontVariant(Variant fontVariant)
fontVariant
- The fontVariant to set.public Weight getFontWeight()
public void setFontWeight(Weight fontWeight)
fontWeight
- The fontWeight to set.public java.lang.String getColor()
public void setColor(java.lang.String color)
color
- The color to set.public Direction getDirection()
public void setDirection(Direction direction)
direction
- The direction to set.public java.lang.String getLetterSpacing()
public void setLetterSpacing(java.lang.String letterSpacing)
letterSpacing
- The letterSpacing to set.public TextAlign getTextAlign()
public void setTextAlign(TextAlign testAlign)
testAlign
- The testAlign to set.public TextDecoration getTextDecoration()
public void setTextDecoration(TextDecoration textDecoration)
textDecoration
- The textDecoration to set.public java.lang.String getTextIndent()
public void setTextIndent(java.lang.String textIndent)
textIndent
- The textIndent to set.public java.lang.String getTextShadow()
public void setTextShadow(java.lang.String textShadow)
textShadow
- The textShadow to set.public TextTransform getTextTransform()
public void setTextTransform(TextTransform textTransform)
textTransform
- The textTransform to set.public WhiteSpace getWhiteSpace()
public void setWhiteSpace(WhiteSpace whiteSpace)
whiteSpace
- The whiteSpace to set.public java.lang.String getWordSpacing()
public void setWordSpacing(java.lang.String wordSpacing)
wordSpacing
- The wordSpacing to set.protected void seperateStyle(java.lang.StringBuilder builder)
builder
- The StringBuilder object used to generate the style.protected void seperateValue(java.lang.StringBuilder builder)
protected void appendValue(java.lang.StringBuilder builder, java.lang.String value)
protected void uriToString(java.lang.StringBuilder builder, java.net.URI uri)
protected void appendValue(java.lang.StringBuilder builder, java.net.URI uri)
protected void appendValue(java.lang.StringBuilder builder, Value value)
protected void appendStyle(java.lang.StringBuilder builder, java.lang.String style, java.lang.String value)
protected void appendStyle(java.lang.StringBuilder builder, java.lang.String style, java.net.URI uri)
protected void appendStyle(java.lang.StringBuilder builder, java.lang.String style, Value value)
protected void appendShortHandStyle(java.lang.StringBuilder builder, java.lang.String style, java.lang.StringBuilder shortHandBuilder)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |