Class StaticBoxLayoutProperties
- java.lang.Object
-
- org.jfree.layouting.renderer.model.StaticBoxLayoutProperties
-
- All Implemented Interfaces:
java.io.Serializable
public class StaticBoxLayoutProperties extends java.lang.Object implements java.io.SerializableA static properties collection. That one is static; once computed it does not change anymore. It does not (under no thinkable circumstances) depend on the given content. It may depend on static content of the parent. A box typically has two sets of margins. The first set is the declared margin set - it simply expresses the user's definitions. The second set is the effective margin set, it is based on the context of the element in the document tree and denotes the distance between the nodes edge and any oposite edge.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StaticBoxLayoutProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSSValuegetDominantBaseline()ExtendedBaselineInfogetNominalBaselineInfo()intgetOrphans()intgetWidows()booleanisAvoidPagebreakInside()booleanisPreserveSpace()voidsetAvoidPagebreakInside(boolean avoidPagebreakInside)voidsetDominantBaseline(CSSValue dominantBaseline)voidsetNominalBaselineInfo(ExtendedBaselineInfo nominalBaselineInfo)voidsetOrphans(int orphans)voidsetPreserveSpace(boolean preserveSpace)voidsetWidows(int widows)java.lang.StringtoString()
-
-
-
Method Detail
-
getDominantBaseline
public CSSValue getDominantBaseline()
-
setDominantBaseline
public void setDominantBaseline(CSSValue dominantBaseline)
-
getNominalBaselineInfo
public ExtendedBaselineInfo getNominalBaselineInfo()
-
setNominalBaselineInfo
public void setNominalBaselineInfo(ExtendedBaselineInfo nominalBaselineInfo)
-
getWidows
public int getWidows()
-
setWidows
public void setWidows(int widows)
-
getOrphans
public int getOrphans()
-
setOrphans
public void setOrphans(int orphans)
-
isAvoidPagebreakInside
public boolean isAvoidPagebreakInside()
-
setAvoidPagebreakInside
public void setAvoidPagebreakInside(boolean avoidPagebreakInside)
-
isPreserveSpace
public boolean isPreserveSpace()
-
setPreserveSpace
public void setPreserveSpace(boolean preserveSpace)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-