public class BorderWidthPropertyMaker extends LengthProperty.Maker
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand| Constructor and Description |
|---|
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".
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
convertPropertyaddEnum, 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, useGenericpublic BorderWidthPropertyMaker(int propId)
propId - the border-*-width of the property.public void setBorderStyleId(int borderStyleId)
borderStyleId - the border style idpublic Property get(int subpropId, PropertyList propertyList, boolean bTryInherit, boolean bTryDefault) throws PropertyException
get in class PropertyMakersubpropId - The subproperty id of the property being retrieved.
Is 0 when retrieving a base property.propertyList - The PropertyList object being built for this FO.bTryInherit - true if inherited properties should be examined.bTryDefault - true if the default value should be returned.PropertyException - if there is a problem evaluating the propertyCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.