org.apache.fop.layout.inline
Class InlineArea

java.lang.Object
  extended byorg.apache.fop.layout.Box
      extended byorg.apache.fop.layout.Area
          extended byorg.apache.fop.layout.inline.InlineArea
Direct Known Subclasses:
ForeignObjectArea, ImageArea, LeaderArea, WordArea

public abstract class InlineArea
extends Area


Field Summary
protected  int height
           
protected  boolean lineThrough
           
protected  boolean overlined
           
protected  boolean underlined
           
 
Fields inherited from class org.apache.fop.layout.Area
allocationWidth, areaClass, background, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, maxHeight, page, tableCellXOffset
 
Fields inherited from class org.apache.fop.layout.Box
areaTree, parent
 
Constructor Summary
InlineArea(FontState fontState, int width, float red, float green, float blue)
           
 
Method Summary
 float getBlue()
           
 float getGreen()
           
 int getHeight()
          Returns allocation height of this area.
 boolean getLineThrough()
           
 boolean getOverlined()
           
 float getRed()
           
 boolean getUnderlined()
           
 int getVerticalAlign()
           
 int getXOffset()
           
 int getYOffset()
           
 void setHeight(int height)
          Set the content height to the passed value if that value is larger than current content height.
 void setLineThrough(boolean lt)
           
 void setOverlined(boolean ol)
           
 void setUnderlined(boolean ul)
           
 void setVerticalAlign(int align)
           
 void setXOffset(int xOffset)
           
 void setYOffset(int yOffset)
           
 
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
 

Field Detail

height

protected int height

underlined

protected boolean underlined

overlined

protected boolean overlined

lineThrough

protected boolean lineThrough
Constructor Detail

InlineArea

public InlineArea(FontState fontState,
                  int width,
                  float red,
                  float green,
                  float blue)
Method Detail

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.