|
||||||||||
| 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.AbstractBlockBox
public abstract class AbstractBlockBox
Abstract block box.
| Constructor Summary | |
|---|---|
AbstractBlockBox(CSS2ComputedProperties style)
|
|
| Method Summary | |
|---|---|
protected float |
automaticLeftMargin()
|
protected float |
automaticRightMargin()
|
protected abstract float |
computeAutoHeight(float containerWidth)
|
protected float |
computeMarginSubproperty(String marginProperty,
boolean auto)
|
protected float |
computeScrollbarWidth()
Computes the possible scrollbar width, in case that this box overflows with scroll (see the 'overflow' property). |
float |
getHeight()
Gets the height of this box. |
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 |
getWidth()
Gets the width of this box. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBlockBox(CSS2ComputedProperties style)
| Method Detail |
|---|
public 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 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 AbstractCSSBoxprotected abstract float computeAutoHeight(float containerWidth)
public float getMarginTop()
StyleDatabase.getNaturalUnit() method.
getMarginTop in interface CSSBoxgetMarginTop in class AbstractCSSBoxpublic float getMarginBottom()
StyleDatabase.getNaturalUnit() method.
getMarginBottom in interface CSSBoxgetMarginBottom in class AbstractCSSBoxpublic float getMarginRight()
StyleDatabase.getNaturalUnit() method.
getMarginRight in interface CSSBoxgetMarginRight in class AbstractCSSBoxpublic float getMarginLeft()
StyleDatabase.getNaturalUnit() method.
getMarginLeft in interface CSSBoxgetMarginLeft in class AbstractCSSBox
protected float computeMarginSubproperty(String marginProperty,
boolean auto)
protected float automaticRightMargin()
protected float automaticLeftMargin()
protected float computeScrollbarWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||