org.apache.fop.image
Class ImageArea

java.lang.Object
  extended byorg.apache.fop.layout.Box
      extended byorg.apache.fop.layout.Area
          extended byorg.apache.fop.layout.inline.InlineArea
              extended byorg.apache.fop.image.ImageArea

public class ImageArea
extends InlineArea


Field Summary
protected  int align
           
protected  FopImage image
           
protected  int valign
           
protected  int xOffset
           
 
Fields inherited from class org.apache.fop.layout.inline.InlineArea
height, lineThrough, overlined, 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
ImageArea(FontState fontState, FopImage img, int AllocationWidth, int width, int height, int startIndent, int endIndent, int align)
           
 
Method Summary
 int getAlign()
           
 FopImage getImage()
           
 int getImageHeight()
           
 int getVerticalAlign()
           
 int getXOffset()
           
 void render(Renderer renderer)
           
 void setAlign(int align)
           
 void setStartIndent(int startIndent)
           
 void setVerticalAlign(int align)
           
 
Methods inherited from class org.apache.fop.layout.inline.InlineArea
getBlue, getGreen, getHeight, getLineThrough, getOverlined, getRed, getUnderlined, getYOffset, setHeight, setLineThrough, setOverlined, setUnderlined, setXOffset, setYOffset
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xOffset

protected int xOffset

align

protected int align

valign

protected int valign

image

protected FopImage image
Constructor Detail

ImageArea

public ImageArea(FontState fontState,
                 FopImage img,
                 int AllocationWidth,
                 int width,
                 int height,
                 int startIndent,
                 int endIndent,
                 int align)
Method Detail

getXOffset

public int getXOffset()
Overrides:
getXOffset in class InlineArea

getImage

public FopImage getImage()

render

public void render(Renderer renderer)
Specified by:
render in class Box

getImageHeight

public int getImageHeight()

setAlign

public void setAlign(int align)

getAlign

public int getAlign()

setVerticalAlign

public void setVerticalAlign(int align)
Overrides:
setVerticalAlign in class InlineArea

getVerticalAlign

public int getVerticalAlign()
Overrides:
getVerticalAlign in class InlineArea

setStartIndent

public void setStartIndent(int startIndent)


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.