fop 0.90alpha1

org.apache.fop.area.inline
Class Character

java.lang.Object
  extended byorg.apache.fop.area.Area
      extended byorg.apache.fop.area.inline.InlineArea
          extended byorg.apache.fop.area.inline.InlineParent
              extended byorg.apache.fop.area.inline.AbstractTextArea
                  extended byorg.apache.fop.area.inline.Character
All Implemented Interfaces:
java.io.Serializable

public class Character
extends AbstractTextArea

Single character inline area. This inline area holds a single character.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.fop.area.inline.AbstractTextArea
AbstractTextArea.TextAdjustingInfo
 
Nested classes inherited from class org.apache.fop.area.inline.InlineArea
InlineArea.InlineAdjustingInfo
 
Field Summary
 
Fields inherited from class org.apache.fop.area.inline.InlineParent
clip, inlines
 
Fields inherited from class org.apache.fop.area.inline.InlineArea
offset
 
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
Character(char ch)
          Create a new character inline area with the given character.
 
Method Summary
 void addHyphen(char hyphChar, int hyphSize)
          Add the hyphenation character and its length.
 java.lang.String getChar()
          Get the character for this inline character area.
 
Methods inherited from class org.apache.fop.area.inline.AbstractTextArea
applyVariationFactor, getBaselineOffset, getTextLetterSpaceAdjust, getTextWordSpaceAdjust, setBaselineOffset, setSpaceDifference, setTextLetterSpaceAdjust, setTextWordSpaceAdjust
 
Methods inherited from class org.apache.fop.area.inline.InlineParent
addChildArea, getChildAreas
 
Methods inherited from class org.apache.fop.area.inline.InlineArea
getOffset, getParentArea, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isBlinking, notifyIPDVariation, setOffset, 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
 

Constructor Detail

Character

public Character(char ch)
Create a new character inline area with the given character.

Parameters:
ch - the character for this inline area
Method Detail

getChar

public java.lang.String getChar()
Get the character for this inline character area.

Returns:
the character

addHyphen

public void addHyphen(char hyphChar,
                      int hyphSize)
Add the hyphenation character and its length.

Parameters:
hyphChar - the hyphenation character
hyphSize - the size of the hyphenation character

fop 0.90alpha1

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