fop 0.93

org.apache.fop.fo.flow
Class TableFObj.ColumnNumberPropertyMaker

java.lang.Object
  extended byorg.apache.fop.fo.properties.PropertyMaker
      extended byorg.apache.fop.fo.properties.NumberProperty.Maker
          extended byorg.apache.fop.fo.flow.TableFObj.ColumnNumberPropertyMaker
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
TableFObj

public static class TableFObj.ColumnNumberPropertyMaker
extends NumberProperty.Maker

PropertyMaker subclass for the column-number property


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

TableFObj.ColumnNumberPropertyMaker

public TableFObj.ColumnNumberPropertyMaker(int propId)
Constructor

Parameters:
propId - the id of the property for which the maker should be created
Method Detail

make

public Property make(PropertyList propertyList)
              throws PropertyException
Description copied from class: PropertyMaker
Return the default value.

Overrides:
make in class PropertyMaker
Parameters:
propertyList - The PropertyList object being built for this FO.
Returns:
the Property object corresponding to the parameters
Throws:
PropertyException - for invalid or inconsisten FO input
See Also:
PropertyMaker.make(PropertyList)

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
Parameters:
subpropId - The subproperty id of the property being retrieved. Is 0 when retriving a base property.
propertyList - The PropertyList object being built for this FO.
tryInherit - true if inherited properties should be examined.
tryDefault - true if the default value should be returned.
Returns:
the property value
Throws:
PropertyException - if there is a problem evaluating the property
See Also:
PropertyMaker.get( int, PropertyList, boolean, boolean)

fop 0.93

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