to.etc.domui.dom.css
Class CssBase
java.lang.Object
to.etc.domui.dom.css.CssBase
- Direct Known Subclasses:
- NodeBase
public class CssBase
- extends java.lang.Object
Base class for all remote DOM nodes containing only CSS properties && change management for those.
- Author:
- Frits Jalvingh
Created on Aug 17, 2007
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CssBase
public CssBase()
getCachedStyle
public java.lang.String getCachedStyle()
setCachedStyle
public void setCachedStyle(java.lang.String cachedStyle)
changed
protected void changed()
- Called as soon as a property of this object changes. This dirties this
object.
getBackgroundAttachment
public BackgroundAttachment getBackgroundAttachment()
setBackgroundAttachment
public void setBackgroundAttachment(BackgroundAttachment backgroundAttachment)
getBackgroundColor
public java.lang.String getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(java.lang.String backgroundColor)
getBackgroundImage
public java.lang.String getBackgroundImage()
setBackgroundImage
public void setBackgroundImage(java.lang.String backgroundImage)
getBackgroundPosition
public java.lang.String getBackgroundPosition()
setBackgroundPosition
public void setBackgroundPosition(java.lang.String backgroundPosition)
getBackgroundRepeat
public java.lang.String getBackgroundRepeat()
setBackgroundRepeat
public void setBackgroundRepeat(java.lang.String backgroundRepeat)
getBorderLeftWidth
public int getBorderLeftWidth()
setBorderLeftWidth
public void setBorderLeftWidth(int borderLeftWidth)
getBorderRightWidth
public int getBorderRightWidth()
setBorderRightWidth
public void setBorderRightWidth(int borderRightWidth)
getBorderTopWidth
public int getBorderTopWidth()
setBorderTopWidth
public void setBorderTopWidth(int borderTopWidth)
getBorderBottomWidth
public int getBorderBottomWidth()
setBorderBottomWidth
public void setBorderBottomWidth(int borderBottomWidth)
getBorderTopColor
public java.lang.String getBorderTopColor()
setBorderTopColor
public void setBorderTopColor(java.lang.String borderTopColor)
getBorderBottomColor
public java.lang.String getBorderBottomColor()
setBorderBottomColor
public void setBorderBottomColor(java.lang.String borderBottomColor)
getBorderLeftColor
public java.lang.String getBorderLeftColor()
setBorderLeftColor
public void setBorderLeftColor(java.lang.String borderLeftColor)
getBorderRightColor
public java.lang.String getBorderRightColor()
setBorderRightColor
public void setBorderRightColor(java.lang.String borderRightColor)
getBorderTopStyle
public java.lang.String getBorderTopStyle()
setBorderTopStyle
public void setBorderTopStyle(java.lang.String borderTopStyle)
getBorderBottomStyle
public java.lang.String getBorderBottomStyle()
setBorderBottomStyle
public void setBorderBottomStyle(java.lang.String borderBottomStyle)
getBorderLeftStyle
public java.lang.String getBorderLeftStyle()
setBorderLeftStyle
public void setBorderLeftStyle(java.lang.String borderLeftStyle)
getBorderRightStyle
public java.lang.String getBorderRightStyle()
setBorderRightStyle
public void setBorderRightStyle(java.lang.String borderRightStyle)
setBorderWidth
public void setBorderWidth(int w)
setBorderStyle
public void setBorderStyle(java.lang.String bs)
setBorderColor
public void setBorderColor(java.lang.String bs)
setBorder
public void setBorder(int w)
setBorder
public void setBorder(int w,
java.lang.String color,
java.lang.String style)
getClear
public ClearType getClear()
setClear
public void setClear(ClearType clear)
getDisplay
public DisplayType getDisplay()
setDisplay
public void setDisplay(DisplayType display)
internalSetDisplay
public boolean internalSetDisplay(DisplayType dt)
- Used to switch the display attribute when it is switched by an effect.
- Parameters:
dt
-
- Returns:
getOverflow
public Overflow getOverflow()
setOverflow
public void setOverflow(Overflow overflow)
getFloat
public FloatType getFloat()
setFloat
public void setFloat(FloatType f)
getPosition
public PositionType getPosition()
setPosition
public void setPosition(PositionType position)
getVisibility
public VisibilityType getVisibility()
setVisibility
public void setVisibility(VisibilityType visibility)
getHeight
public java.lang.String getHeight()
setHeight
public void setHeight(java.lang.String height)
getLineHeight
public java.lang.String getLineHeight()
setLineHeight
public void setLineHeight(java.lang.String lineHeight)
getMaxHeight
public java.lang.String getMaxHeight()
setMaxHeight
public void setMaxHeight(java.lang.String maxHeight)
getMaxWidth
public java.lang.String getMaxWidth()
setMaxWidth
public void setMaxWidth(java.lang.String maxWidth)
getMinHeight
public java.lang.String getMinHeight()
setMinHeight
public void setMinHeight(java.lang.String minHeight)
getMinWidth
public java.lang.String getMinWidth()
setMinWidth
public void setMinWidth(java.lang.String minWidth)
getWidth
public java.lang.String getWidth()
setWidth
public void setWidth(java.lang.String width)
getFontFamily
public java.lang.String getFontFamily()
setFontFamily
public void setFontFamily(java.lang.String fontFamily)
getFontSize
public java.lang.String getFontSize()
setFontSize
public void setFontSize(java.lang.String fontSize)
getFontSizeAdjust
public java.lang.String getFontSizeAdjust()
setFontSizeAdjust
public void setFontSizeAdjust(java.lang.String fontSizeAdjust)
getFontStyle
public FontStyle getFontStyle()
setFontStyle
public void setFontStyle(FontStyle fontStyle)
getFontVariant
public FontVariant getFontVariant()
setFontVariant
public void setFontVariant(FontVariant fontVariant)
getFontWeight
public java.lang.String getFontWeight()
setFontWeight
public void setFontWeight(java.lang.String fontWeight)
getZIndex
public int getZIndex()
setZIndex
public void setZIndex(int index)
getTop
public java.lang.String getTop()
setTop
public void setTop(java.lang.String top)
setTop
public void setTop(int px)
getBottom
public java.lang.String getBottom()
setBottom
public void setBottom(java.lang.String bottom)
setBottom
public void setBottom(int px)
getLeft
public java.lang.String getLeft()
setLeft
public void setLeft(java.lang.String left)
setLeft
public void setLeft(int px)
getRight
public java.lang.String getRight()
setRight
public void setRight(java.lang.String right)
setRight
public void setRight(int px)
getColor
public java.lang.String getColor()
setColor
public void setColor(java.lang.String color)
getTextAlign
public TextAlign getTextAlign()
setTextAlign
public void setTextAlign(TextAlign textAlign)
getVerticalAlign
public VerticalAlignType getVerticalAlign()
setVerticalAlign
public void setVerticalAlign(VerticalAlignType verticalAlign)
getMarginLeft
public java.lang.String getMarginLeft()
setMarginLeft
public void setMarginLeft(java.lang.String marginLeft)
getMarginRight
public java.lang.String getMarginRight()
setMarginRight
public void setMarginRight(java.lang.String marginRight)
getMarginTop
public java.lang.String getMarginTop()
setMarginTop
public void setMarginTop(java.lang.String marginTop)
getMarginBottom
public java.lang.String getMarginBottom()
setMarginBottom
public void setMarginBottom(java.lang.String marginBottom)
setMargin
public void setMargin(java.lang.String... margin)
getTransform
public TextTransformType getTransform()
setTransform
public void setTransform(TextTransformType transform)