fop 0.95

org.apache.fop.fo.properties
Class BackgroundPositionShorthand.Maker

java.lang.Object
  extended by org.apache.fop.fo.properties.PropertyMaker
      extended by org.apache.fop.fo.properties.ListProperty.Maker
          extended by org.apache.fop.fo.properties.BackgroundPositionShorthand.Maker
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
BackgroundPositionShorthand

public static class BackgroundPositionShorthand.Maker
extends ListProperty.Maker

Inner class for creating instances of this property


Field Summary
 
Fields inherited from class org.apache.fop.fo.properties.PropertyMaker
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand
 
Constructor Summary
BackgroundPositionShorthand.Maker(int propId)
          
 
Method Summary
 PercentBase getPercentBase()
           Returns a PercentBase whose getDimension() returns 1.
 Property make(PropertyList propertyList, java.lang.String value, FObj fo)
          Create a Property object from an attribute specification.
 
Methods inherited from class org.apache.fop.fo.properties.ListProperty.Maker
convertProperty
 
Methods inherited from class org.apache.fop.fo.properties.PropertyMaker
addEnum, addKeyword, addShorthand, addSubpropMaker, checkEnumValues, checkValueKeywords, clone, compute, convertPropertyDatatype, convertShorthandProperty, findProperty, get, 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

BackgroundPositionShorthand.Maker

public BackgroundPositionShorthand.Maker(int propId)

Method Detail

make

public Property make(PropertyList propertyList,
                     java.lang.String value,
                     FObj fo)
              throws PropertyException
Create a Property object from an attribute specification. If only background-position-horizontal is specified, background-position-vertical is set to "50%".

Overrides:
make in class PropertyMaker
Parameters:
propertyList - The PropertyList object being built for this FO.
value - The attribute value.
fo - The parent FO for the FO whose property is being made.
Returns:
The initialized Property object.
Throws:
PropertyException - for invalid or inconsistent FO input

getPercentBase

public PercentBase getPercentBase()
Returns a PercentBase whose getDimension() returns 1.


fop 0.95

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