org.apache.fop.layout.inline
Class InlineArea
java.lang.Object
org.apache.fop.layout.Box
org.apache.fop.layout.Area
org.apache.fop.layout.inline.InlineArea
- Direct Known Subclasses:
- ForeignObjectArea, ImageArea, LeaderArea, WordArea
- public abstract class InlineArea
- extends Area
Fields inherited from class org.apache.fop.layout.Area |
allocationWidth, areaClass, background, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, maxHeight, page, tableCellXOffset |
Constructor Summary |
InlineArea(FontState fontState,
int width,
float red,
float green,
float blue)
|
Methods inherited from class org.apache.fop.layout.Area |
addChild, addChildAtStart, addDisplaySpace, addInlineSpace, end, getAbsoluteHeight, getAllocationWidth, getBackground, getBorderAndPadding, getBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getChildren, getContentHeight, getContentWidth, getfoCreator, getFontInfo, getFontState, getGeneratedBy, getIDReferences, getMaxHeight, getNearestAncestorAreaContainer, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, hasChildren, hasNonSpaceChildren, increaseHeight, isFirst, isFirst, isLast, isLast, remove, removeChild, removeChild, setAbsoluteHeight, setAllocationWidth, setBackground, setBorderAndPadding, setGeneratedBy, setIDReferences, setMaxHeight, setPage, setParent, setTableCellXOffset, spaceLeft, start |
Methods inherited from class org.apache.fop.layout.Box |
render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
height
protected int height
underlined
protected boolean underlined
overlined
protected boolean overlined
lineThrough
protected boolean lineThrough
InlineArea
public InlineArea(FontState fontState,
int width,
float red,
float green,
float blue)
getBlue
public float getBlue()
getGreen
public float getGreen()
getRed
public float getRed()
setHeight
public void setHeight(int height)
- Description copied from class:
Area
- Set the content height to the passed value if that value is
larger than current content height. If the new content height
is greater than the maximum available height, set the content height
to the max. available (!!!)
- Overrides:
setHeight
in class Area
- Parameters:
height
- allocation height of content in millipoints
getHeight
public int getHeight()
- Description copied from class:
Area
- Returns allocation height of this area.
The allocation height is the sum of the content height plus border
and padding in the vertical direction.
- Overrides:
getHeight
in class Area
- Returns:
- allocation height in millipoints
setVerticalAlign
public void setVerticalAlign(int align)
getVerticalAlign
public int getVerticalAlign()
setYOffset
public void setYOffset(int yOffset)
getYOffset
public int getYOffset()
setXOffset
public void setXOffset(int xOffset)
getXOffset
public int getXOffset()
setUnderlined
public void setUnderlined(boolean ul)
getUnderlined
public boolean getUnderlined()
setOverlined
public void setOverlined(boolean ol)
getOverlined
public boolean getOverlined()
setLineThrough
public void setLineThrough(boolean lt)
getLineThrough
public boolean getLineThrough()
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.