fop 0.91beta

org.apache.fop.area.inline
Class SpaceArea

java.lang.Object
  |
  +--org.apache.fop.area.Area
        |
        +--org.apache.fop.area.inline.InlineArea
              |
              +--org.apache.fop.area.inline.SpaceArea
All Implemented Interfaces:
java.io.Serializable

public class SpaceArea
extends InlineArea

A space

See Also:
Serialized Form

Inner classes inherited from class org.apache.fop.area.inline.InlineArea
InlineArea.InlineAdjustingInfo
 
Field Summary
protected  boolean isAdjustable
          Is this space adjustable?
protected  int offset
          The correction offset for the next area
protected  java.lang.String space
          The space for this space area
 
Fields inherited from class org.apache.fop.area.Area
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB
 
Constructor Summary
SpaceArea(char s, int o, boolean a)
          Create a space area
 
Method Summary
 int getOffset()
          Get the offset of this inline area.
 java.lang.String getSpace()
           
 void setOffset(int o)
          Set the offset of this inline area.
 
Methods inherited from class org.apache.fop.area.inline.InlineArea
addChildArea, applyVariationFactor, getParentArea, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isBlinking, notifyIPDVariation, setParentArea, updateIPD
 
Methods inherited from class org.apache.fop.area.Area
addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

space

protected java.lang.String space
The space for this space area

offset

protected int offset
The correction offset for the next area

isAdjustable

protected boolean isAdjustable
Is this space adjustable?
Constructor Detail

SpaceArea

public SpaceArea(char s,
                 int o,
                 boolean a)
Create a space area
Parameters:
s - the space character
o - the offset for the next area
a - is this space adjustable?
Method Detail

getSpace

public java.lang.String getSpace()
Returns:
Returns the space.

getOffset

public int getOffset()
Description copied from class: InlineArea
Get the offset of this inline area. This returns the offset of the inline area which is relative to the before edge of the parent area.
Overrides:
getOffset in class InlineArea
Returns:
Returns the offset.

setOffset

public void setOffset(int o)
Description copied from class: InlineArea
Set the offset of this inline area. This is used to set the offset of the inline area which is relative to the before edge of the parent area.
Overrides:
setOffset in class InlineArea
Parameters:
o - The offset to set.

fop 0.91beta

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.