|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReplacedElementBox<C>
To be implemented by replaced element boxes.
| Method Summary | |
|---|---|
float |
getHeight()
Gets the height of this box. |
float |
getIntrinsicHeight()
Gets the intrinsic height of this box, as obtained from the replaced element. |
float |
getIntrinsicWidth()
Gets the intrinsic width of this box, as obtained from the replaced element. |
float |
getWidth()
Gets the width of this box, expressed in the unit given by the StyleDatabase.getNaturalUnit() method. |
void |
init(UserAgent<C> agent)
Initializes the replaced element. |
| Methods inherited from interface info.informatica.doc.style.css.visual.CSSBox |
|---|
getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainingBlock, getGeneratedSibling, getLeft, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getRight, setErrorHandler |
| Method Detail |
|---|
void init(UserAgent<C> agent)
throws CSSReplacementException
Must be called before using any of the other methods.
agent - the user agent.
CSSReplacementException - if an error occurred when
initializing the replaced element box.float getWidth()
StyleDatabase.getNaturalUnit() method.
float getHeight()
float getIntrinsicWidth()
float getIntrinsicHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||