|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.style.css.visual.box.AbstractCSSBox
public abstract class AbstractCSSBox
Abstract CSS box.
| Constructor Summary | |
|---|---|
AbstractCSSBox(CSS2ComputedProperties style)
|
|
| Method Summary | |
|---|---|
CSSPoint |
getBackgroundPosition()
Gets the position for the background image, if any. |
org.w3c.dom.css.CSSPrimitiveValue |
getBorderBottomColor()
|
float |
getBorderBottomWidth()
|
org.w3c.dom.css.CSSPrimitiveValue |
getBorderLeftColor()
|
float |
getBorderLeftWidth()
|
org.w3c.dom.css.CSSPrimitiveValue |
getBorderRightColor()
|
float |
getBorderRightWidth()
|
org.w3c.dom.css.CSSPrimitiveValue |
getBorderTopColor()
|
float |
getBorderTopWidth()
|
CSS2ComputedProperties |
getComputedStyle()
Gets the computed style for the element that generated this box. |
CSSContainerBox |
getContainingBlock()
Gets the 'containing block' for thid box, as defined by the CSS specification. |
String |
getFontFamily()
Gets the 'used' value for the font-family property. |
int |
getFontSize()
Gets the computed value of the font-size property. |
String |
getFontWeight()
Gets the computed font weight. |
CSSBox |
getGeneratedSibling()
Gets the box generated by the element that generated this box. |
float |
getLeading()
|
float |
getLeading(float defval)
|
float |
getLeft()
|
float |
getLineHeight()
|
float |
getLineHeight(float defval)
|
org.w3c.dom.css.CSSValue |
getLineHeightCSSValue()
|
float |
getMarginBottom()
Gets the value of the margin-bottom property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getMarginLeft()
Gets the value of the margin-left property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getMarginRight()
Gets the value of the margin-right property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getMarginTop()
Gets the value of the margin-top property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getPaddingBottom()
Gets the value of the padding-bottom property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getPaddingLeft()
Gets the value of the padding-left property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getPaddingRight()
Gets the value of the padding-right property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getPaddingTop()
Gets the value of the padding-top property, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
float |
getRight()
|
void |
setContainingBlock(CSSContainerBox enclosingBlock)
|
void |
setErrorHandler(CSSErrorHandler errorHandler)
Sets the CSS error handler. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCSSBox(CSS2ComputedProperties style)
| Method Detail |
|---|
public CSS2ComputedProperties getComputedStyle()
CSSBox
getComputedStyle in interface CSSBoxpublic CSSContainerBox getContainingBlock()
CSSBox
getContainingBlock in interface CSSBoxpublic void setContainingBlock(CSSContainerBox enclosingBlock)
public void setErrorHandler(CSSErrorHandler errorHandler)
CSSBox
setErrorHandler in interface CSSBoxerrorHandler - the error handler.public CSSBox getGeneratedSibling()
CSSBox
getGeneratedSibling in interface CSSBoxpublic float getLeft()
getLeft in interface CSSBoxpublic float getRight()
getRight in interface CSSBoxpublic float getBorderTopWidth()
getBorderTopWidth in interface CSSBoxpublic float getBorderRightWidth()
getBorderRightWidth in interface CSSBoxpublic float getBorderBottomWidth()
getBorderBottomWidth in interface CSSBoxpublic float getBorderLeftWidth()
getBorderLeftWidth in interface CSSBoxpublic float getMarginTop()
StyleDatabase.getNaturalUnit() method.
getMarginTop in interface CSSBoxpublic float getMarginBottom()
StyleDatabase.getNaturalUnit() method.
getMarginBottom in interface CSSBoxpublic float getMarginRight()
StyleDatabase.getNaturalUnit() method.
getMarginRight in interface CSSBoxpublic float getMarginLeft()
StyleDatabase.getNaturalUnit() method.
getMarginLeft in interface CSSBoxpublic float getPaddingTop()
CSSBoxStyleDatabase.getNaturalUnit() method.
getPaddingTop in interface CSSBoxpublic float getPaddingRight()
CSSBoxStyleDatabase.getNaturalUnit() method.
getPaddingRight in interface CSSBoxpublic float getPaddingBottom()
CSSBoxStyleDatabase.getNaturalUnit() method.
getPaddingBottom in interface CSSBoxpublic float getPaddingLeft()
CSSBoxStyleDatabase.getNaturalUnit() method.
getPaddingLeft in interface CSSBoxpublic String getFontFamily()
This method requires a style database.
IllegalStateException - if the style database has not been set.public String getFontWeight()
public int getFontSize()
May require a style database to work.
public float getLineHeight()
public float getLineHeight(float defval)
public float getLeading()
public float getLeading(float defval)
public org.w3c.dom.css.CSSValue getLineHeightCSSValue()
public org.w3c.dom.css.CSSPrimitiveValue getBorderTopColor()
getBorderTopColor in interface CSSBoxpublic org.w3c.dom.css.CSSPrimitiveValue getBorderRightColor()
getBorderRightColor in interface CSSBoxpublic org.w3c.dom.css.CSSPrimitiveValue getBorderBottomColor()
getBorderBottomColor in interface CSSBoxpublic org.w3c.dom.css.CSSPrimitiveValue getBorderLeftColor()
getBorderLeftColor in interface CSSBoxpublic CSSPoint getBackgroundPosition()
CSSBox
getBackgroundPosition in interface CSSBox
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||