public class CSS extends StyleElement
Constructor and Description |
---|
CSS() |
getRoot, setRoot
protected StyleElementType getElementType()
getElementType
in class StyleElement
protected java.lang.String draw()
StyleElement
draw
in class StyleElement
protected java.lang.String drawClass()
drawClass
in class StyleElement
protected void drawScript()
StyleElement
drawScript
in class StyleElement
public Element getWebElement()
public void setWebElement(Element parent)
parent
- the webElement to setpublic Background getBackground()
public Border getBorder()
public BorderCollapse getBorderCollapse()
public Bottom getBottom()
public Clear getClear()
public Clip getClip()
public TextColor getColor()
public Cursor getCursor()
public Direction getDirection()
public Display getDisplay()
public Float getFloat()
public FontFamily getFontFamily()
public FontSize getFontSize()
public FontStyle getFontStyle()
public FontVariant getFontVariant()
public FontWeight getFontWeight()
public Height getHeight()
public Left getLeft()
public LetterSpacing getLetterSpacing()
public LineHeight getLineHeight()
public ListStyle getListStyle()
public Margin getMargin()
public Overflow getOverflow()
public Padding getPadding()
public Position getPosition()
public Right getRight()
public TextAlign getTextAlign()
public TextDecoration getTextDecoration()
public TextIndent getTextIndent()
public TextTransform getTextTransform()
public Top getTop()
public VerticalAlign getVerticalAlign()
public Visibility getVisibility()
public WhiteSpace getWhiteSpace()
public Width getWidth()
public WordSpacing getWordSpacing()
public ZIndex getZindex()
public CSS removeBackground()
public CSS removeBorder()
public CSS removeBorderCollapse()
public CSS removeBottom()
public CSS removeClear()
public CSS removeClip()
public CSS removeColor()
public CSS removeCursor()
public CSS removeDisplay()
public CSS removeDirection()
public CSS removeFloat()
public CSS removeFontFamily()
public CSS removeFontSize()
public CSS removeFontStyle()
public CSS removeFontVariant()
public CSS removeFontWeight()
public CSS removeHeight()
public CSS removeLeft()
public CSS removeLetterSpacing()
public CSS removeLineHeight()
public CSS removeListStyle()
public CSS removeMargin()
public CSS removeOverflow()
public CSS removePadding()
public CSS removePosition()
public CSS removeRight()
public CSS removeTextAlign()
public CSS removeTextDecoration()
public CSS removeTextTransform()
public CSS removeTextIndent()
public CSS removeTop()
public CSS removeVerticalAlign()
public CSS removeVisibility()
public CSS removeWhiteSpace()
public CSS removeWidth()
public CSS removeWordSpacing()
public CSS removeZIndex()
public CSS setBackground(Background background)
background
- the background to setpublic CSS setBorderCollapse(BorderCollapse borderCollapse)
borderCollapse
- the borderCollapse to setpublic CSS setClear(Clear.Type type)
type
- type the clear type to setpublic CSS setColor(TextColor textColor)
textColor
- the color to setpublic CSS setColor(ColorName colorName)
colorName
- the colorName to setpublic CSS setCursor(Cursor.Type cursorType)
cursorType
- the cursor type to setpublic CSS setDirection(Direction.Type direction)
direction
- the direction to setpublic CSS setDirection(Direction direction)
direction
- the direction to setpublic CSS setDisplay(Display display)
display
- the display to setpublic CSS setDisplay(Display.Type display)
display
- the display type to setpublic CSS setFloat(Float.Type float_)
float_
- the float type to setpublic CSS setFontFamily(FontFamily fontFamily)
fontFamily
- the font to setpublic CSS setFontSize(FontSize fontSize)
fontSize
- the font size to setpublic CSS setFontStyle(FontStyle fontStyle)
fontStyle
- the font style to setpublic CSS setFontVariant(FontVariant fontVariant)
fontVariant
- the font variant to setpublic CSS setFontWeight(FontWeight fontWeight)
fontWeight
- the font to setpublic CSS setLetterSpacing(LetterSpacing letterSpacing)
letterSpacing
- the letterSpacing to setpublic CSS setLineHeight(LineHeight lineHeight)
lineHeight
- the lineHeight to setpublic CSS setListStyle(ListStyle listStyle)
listStyle
- the listStyle to setpublic CSS setListStyle(ListStyle.Type listStyle)
listStyle
- the listStyle to setpublic CSS setOverflow(Overflow overflow)
overflow
- the overflow to setpublic CSS setOverflow(Overflow.Type overflowType)
overflowType
- the overflow type to setpublic CSS setPadding(Padding padding)
padding
- the padding to setpublic CSS setPadding(Length padding)
padding
- the padding to setpublic CSS setPosition(Position position)
position
- the position to setpublic CSS setPosition(Position.Type position)
position
- the position to setpublic CSS setTextAlign(TextAlign textAlign)
textAlign
- the textAlign to setpublic CSS setTextDecoration(TextDecoration textDecoration)
textDecoration
- the textDecoration to setpublic CSS setTextIndent(TextIndent textIndent)
textIndent
- the textIndent to setpublic CSS setTextTransform(TextTransform textTransform)
textTransform
- the textTransform to setpublic CSS setVerticalAlign(VerticalAlign verticalAlign)
verticalAlign
- the verticalAlign to setpublic CSS setVisibility(Visibility visibility)
visibility
- the visibility to setpublic CSS setWhiteSpace(WhiteSpace whiteSpace)
whiteSpace
- the whiteSpace to setpublic CSS setWordSpacing(WordSpacing wordSpacing)
wordSpacing
- the wordSpacing to setpublic CSS setZindex(int zindex)
zindex
- the zindex to setpublic java.lang.String toString()
toString
in class StyleElement