fop 0.92beta

org.apache.fop.fo.properties
Class BorderWidthPropertyMaker

java.lang.Object
  |
  +--org.apache.fop.fo.properties.PropertyMaker
        |
        +--org.apache.fop.fo.properties.LengthProperty.Maker
              |
              +--org.apache.fop.fo.properties.BorderWidthPropertyMaker
All Implemented Interfaces:
java.lang.Cloneable

public class BorderWidthPropertyMaker
extends LengthProperty.Maker

This subclass of LengthProperty.Maker handles the special treatment of border width described in 7.7.20.


Fields inherited from class org.apache.fop.fo.properties.PropertyMaker
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand
 
Constructor Summary
BorderWidthPropertyMaker(int propId)
          Create a length property which check the value of the border-*-style property and return a length of 0 when the style is "none".
 
Method Summary
 Property get(int subpropId, PropertyList propertyList, boolean bTryInherit, boolean bTryDefault)
          Check the value of the style property and return a length of 0 when the style is NONE.
 void setBorderStyleId(int borderStyleId)
          Set the propId of the style property for the same side.
 
Methods inherited from class org.apache.fop.fo.properties.LengthProperty.Maker
convertProperty
 
Methods inherited from class org.apache.fop.fo.properties.PropertyMaker
addEnum, addKeyword, addShorthand, addSubpropMaker, checkEnumValues, checkValueKeywords, clone, compute, convertPropertyDatatype, convertShorthandProperty, findProperty, getName, getPercentBase, getPropId, getShorthand, getSubprop, getSubpropMaker, isInherited, make, make, make, makeNewProperty, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubprop, useGeneric
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderWidthPropertyMaker

public BorderWidthPropertyMaker(int propId)
Create a length property which check the value of the border-*-style property and return a length of 0 when the style is "none".
Parameters:
propId - the border-*-width of the property.
Method Detail

setBorderStyleId

public void setBorderStyleId(int borderStyleId)
Set the propId of the style property for the same side.
Parameters:
borderStyleId -  

get

public Property get(int subpropId,
                    PropertyList propertyList,
                    boolean bTryInherit,
                    boolean bTryDefault)
             throws PropertyException
Check the value of the style property and return a length of 0 when the style is NONE.
Overrides:
get in class PropertyMaker
See Also:
PropertyMaker.get(int, PropertyList, boolean, boolean)

fop 0.92beta

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