public class IndentPropertyMaker extends CorrespondingPropertyMaker
Constructor and Description |
---|
IndentPropertyMaker(PropertyMaker baseMaker)
Create a start-indent or end-indent property maker.
|
Modifier and Type | Method and Description |
---|---|
Property |
compute(PropertyList propertyList)
Calculate the corresponding value for start-indent and end-indent.
|
Property |
computeAlternativeRuleset(PropertyList propertyList)
Calculate the corresponding value for start-indent and end-indent.
|
Property |
computeConforming(PropertyList propertyList)
Calculate the corresponding value for start-indent and end-indent.
|
void |
setBorderWidthCorresponding(int[] borderWidthCorresponding)
Set the corresponding values for the border-*-width properties.
|
void |
setPaddingCorresponding(int[] paddingCorresponding)
Set the corresponding values for the padding-* properties.
|
getWMPropertyList, isCorrespondingForced, setCorresponding, setRelative, setUseParent
public IndentPropertyMaker(PropertyMaker baseMaker)
baseMaker
- the property maker to usepublic void setPaddingCorresponding(int[] paddingCorresponding)
paddingCorresponding
- the corresping propids.public void setBorderWidthCorresponding(int[] borderWidthCorresponding)
borderWidthCorresponding
- the corresping propids.public Property compute(PropertyList propertyList) throws PropertyException
compute
in class CorrespondingPropertyMaker
propertyList
- the property list to use in the computationPropertyException
- if a property exception occursCorrespondingPropertyMaker.compute(PropertyList)
public Property computeConforming(PropertyList propertyList) throws PropertyException
propertyList
- the property list to use in the computationPropertyException
- if a property exception occursCorrespondingPropertyMaker.compute(PropertyList)
public Property computeAlternativeRuleset(PropertyList propertyList) throws PropertyException
propertyList
- the property list to use in the computationPropertyException
- if a property exception occursCorrespondingPropertyMaker.compute(PropertyList)
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.