org.apache.fop.fo.properties

Class CommonTextDecoration


public class CommonTextDecoration
extends java.lang.Object

Stores all information concerning text-decoration.

Constructor Summary

CommonTextDecoration()
Creates a new CommonTextDecoration object with default values.

Method Summary

static CommonTextDecoration
createFromPropertyList(PropertyList pList)
Creates a CommonTextDecoration object from a property list.
Color
getLineThroughColor()
Color
getOverlineColor()
Color
getUnderlineColor()
boolean
hasLineThrough()
boolean
hasOverline()
boolean
hasUnderline()
boolean
isBlinking()

Constructor Details

CommonTextDecoration

public CommonTextDecoration()
Creates a new CommonTextDecoration object with default values.

Method Details

createFromPropertyList

public static CommonTextDecoration createFromPropertyList(PropertyList pList)
            throws PropertyException
Creates a CommonTextDecoration object from a property list.
Parameters:
pList - the property list to build the object for
Returns:
a CommonTextDecoration object or null if the obj would only have default values
Throws:
PropertyException - if there's a problem while processing the property

getLineThroughColor

public Color getLineThroughColor()
Returns:
the color of the line-through mark

getOverlineColor

public Color getOverlineColor()
Returns:
the color of the overline mark

getUnderlineColor

public Color getUnderlineColor()
Returns:
the color of the underline mark

hasLineThrough

public boolean hasLineThrough()
Returns:
true if line-through is active

hasOverline

public boolean hasOverline()
Returns:
true if overline is active

hasUnderline

public boolean hasUnderline()
Returns:
true if underline is active

isBlinking

public boolean isBlinking()
Returns:
true if blink is active

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