|
||||||||||
| 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
info.informatica.doc.style.css.visual.box.AbstractInlineBox
info.informatica.doc.style.css.visual.box.InlineBox
public class InlineBox
CSS inline Box.
| Constructor Summary | |
|---|---|
InlineBox(CSS2ComputedProperties style)
|
|
| Method Summary | |
|---|---|
float |
computeHeight(float width)
|
float |
getContentHeight()
|
float |
getContentWidth()
|
protected float |
getHeight()
Gets the height of this box. |
float |
getMinimumWidth()
|
String |
getText()
Gets the (whitespace-trimmed) text content of this box. |
protected float |
getWidth()
Gets the width of this box. |
float |
textLengthToNaturalUnit(int length)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.informatica.doc.style.css.visual.CSSInlineBox |
|---|
getFontFamily, getFontSize, getFontWeight, getLeading, getLeading, getLineHeight, getLineHeight, getLineHeightCSSValue |
| 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 |
| Constructor Detail |
|---|
public InlineBox(CSS2ComputedProperties style)
| Method Detail |
|---|
public String getText()
getText in interface CSSInlineBoxprotected float getWidth()
AbstractCSSBoxThis is defined to be the value of the width property, for boxes where it is defined, or the content width otherwise.
getWidth in class AbstractCSSBoxpublic float getContentWidth()
getContentWidth in interface CSSInlineBoxgetContentWidth in class AbstractInlineBoxpublic float getMinimumWidth()
getMinimumWidth in interface CSSInlineBoxprotected float getHeight()
AbstractCSSBoxThis is defined to be the value of the height property, for boxes where it is defined, or the content height otherwise.
getHeight in class AbstractCSSBoxpublic float getContentHeight()
public float computeHeight(float width)
computeHeight in interface CSSInlineBoxcomputeHeight in class AbstractInlineBoxpublic float textLengthToNaturalUnit(int length)
textLengthToNaturalUnit in interface CSSInlineBoxtextLengthToNaturalUnit in class AbstractCSSBox
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||