|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.layout.model.context.StaticBoxLayoutProperties
public final class StaticBoxLayoutProperties
A 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.
Constructor Summary | |
---|---|
StaticBoxLayoutProperties()
|
Method Summary | |
---|---|
long |
getBlockContextWidth()
The block-context width is the computed width of the containing block of this element. |
long |
getBorderBottom()
|
long |
getBorderLeft()
|
long |
getBorderRight()
|
long |
getBorderTop()
|
long |
getComputedWidth()
|
int |
getDominantBaseline()
|
String |
getFontFamily()
|
long |
getMarginBottom()
|
long |
getMarginLeft()
|
long |
getMarginRight()
|
long |
getMarginTop()
|
ExtendedBaselineInfo |
getNominalBaselineInfo()
|
int |
getOrphans()
|
long |
getSpaceWidth()
|
int |
getWidows()
|
boolean |
isAvoidPagebreakInside()
|
boolean |
isBreakAfter()
|
boolean |
isInvisibleConsumesSpace()
|
boolean |
isOverflowX()
|
boolean |
isOverflowY()
|
boolean |
isPlaceholderBox()
|
boolean |
isPreserveSpace()
|
boolean |
isVisible()
|
void |
setAvoidPagebreakInside(boolean avoidPagebreakInside)
|
void |
setBlockContextWidth(long boxContextWidth)
The block-context width is the computed width of the containing block of this element. |
void |
setBorderBottom(long borderBottom)
|
void |
setBorderLeft(long borderLeft)
|
void |
setBorderRight(long borderRight)
|
void |
setBorderTop(long borderTop)
|
void |
setBreakAfter(boolean breakAfter)
|
void |
setComputedWidth(long computedWidth)
Defines the computed width. |
void |
setDominantBaseline(int dominantBaseline)
|
void |
setFontFamily(String fontFamily)
|
void |
setInvisibleConsumesSpace(boolean invisibleConsumesSpace)
|
void |
setMarginBottom(long marginBottom)
|
void |
setMarginLeft(long marginLeft)
|
void |
setMarginRight(long marginRight)
|
void |
setMarginTop(long marginTop)
|
void |
setNominalBaselineInfo(ExtendedBaselineInfo nominalBaselineInfo)
|
void |
setOrphans(int orphans)
|
void |
setOverflowX(boolean overflowX)
|
void |
setOverflowY(boolean overflowY)
|
void |
setPlaceholderBox(boolean placeholderBox)
|
void |
setPreserveSpace(boolean preserveSpace)
|
void |
setSpaceWidth(long spaceWidth)
|
void |
setVisible(boolean visible)
|
void |
setWidows(int widows)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StaticBoxLayoutProperties()
Method Detail |
---|
public long getComputedWidth()
public void setComputedWidth(long computedWidth)
computedWidth
- public long getSpaceWidth()
public void setSpaceWidth(long spaceWidth)
public long getMarginLeft()
public void setMarginLeft(long marginLeft)
public long getMarginRight()
public void setMarginRight(long marginRight)
public long getMarginTop()
public void setMarginTop(long marginTop)
public long getMarginBottom()
public void setMarginBottom(long marginBottom)
public long getBorderLeft()
public void setBorderLeft(long borderLeft)
public long getBorderRight()
public void setBorderRight(long borderRight)
public long getBorderTop()
public void setBorderTop(long borderTop)
public long getBorderBottom()
public void setBorderBottom(long borderBottom)
public int getDominantBaseline()
public void setDominantBaseline(int dominantBaseline)
public ExtendedBaselineInfo getNominalBaselineInfo()
public void setNominalBaselineInfo(ExtendedBaselineInfo nominalBaselineInfo)
public String getFontFamily()
public void setFontFamily(String fontFamily)
public int getWidows()
public void setWidows(int widows)
public int getOrphans()
public void setOrphans(int orphans)
public boolean isAvoidPagebreakInside()
public void setAvoidPagebreakInside(boolean avoidPagebreakInside)
public boolean isPreserveSpace()
public void setPreserveSpace(boolean preserveSpace)
public boolean isBreakAfter()
public void setBreakAfter(boolean breakAfter)
public long getBlockContextWidth()
public void setBlockContextWidth(long boxContextWidth)
boxContextWidth
- the block-context widthpublic boolean isOverflowX()
public void setOverflowX(boolean overflowX)
public boolean isOverflowY()
public void setOverflowY(boolean overflowY)
public boolean isInvisibleConsumesSpace()
public void setInvisibleConsumesSpace(boolean invisibleConsumesSpace)
public boolean isVisible()
public void setVisible(boolean visible)
public boolean isPlaceholderBox()
public void setPlaceholderBox(boolean placeholderBox)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |