fop 0.91beta

org.apache.fop.fo.properties
Class ColumnNumberPropertyMaker

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

public class ColumnNumberPropertyMaker
extends NumberProperty.Maker

Maker class for the column-number property on table-cells and table-columns


Fields inherited from class org.apache.fop.fo.properties.PropertyMaker
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand
 
Constructor Summary
ColumnNumberPropertyMaker(int propId)
           
 
Method Summary
 Property get(int subpropId, PropertyList propertyList, boolean tryInherit, boolean tryDefault)
          Check the value of the column-number property.
 Property make(PropertyList propertyList)
          Set default column-number from parent's currentColumnIndex.
 
Methods inherited from class org.apache.fop.fo.properties.NumberProperty.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, 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

ColumnNumberPropertyMaker

public ColumnNumberPropertyMaker(int propId)
Method Detail

make

public Property make(PropertyList propertyList)
              throws PropertyException
Set default column-number from parent's currentColumnIndex.
Overrides:
make in class PropertyMaker
Parameters:
propertyList -  
Returns:
the default value for column-number
Throws:
PropertyException -  

get

public Property get(int subpropId,
                    PropertyList propertyList,
                    boolean tryInherit,
                    boolean tryDefault)
             throws PropertyException
Check the value of the column-number property. Return the parent's column index (initial value) in case of a negative or zero value
Overrides:
get in class PropertyMaker
See Also:
PropertyMaker.get(int, PropertyList, boolean, boolean)

fop 0.91beta

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