|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.fo.properties.CorrespondingPropertyMaker
public class CorrespondingPropertyMaker
Maker class for handling corresponding properties.
| Field Summary | |
|---|---|
protected PropertyMaker |
baseMaker
base property maker |
protected int |
lrtb
corresponding property for lr-tb writing mode |
protected int |
rltb
corresponding property for rl-tb writing mode |
protected int |
tblr
corresponding property for tb-lr writing mode |
protected int |
tbrl
corresponding property for tb-rl writing mode |
protected boolean |
useParent
user parent property list |
| Constructor Summary | |
|---|---|
CorrespondingPropertyMaker(PropertyMaker baseMaker)
Construct a corresponding property maker. |
|
| Method Summary | |
|---|---|
Property |
compute(PropertyList propertyList)
Return a Property object representing the value of this property, based on other property values for this FO. |
protected PropertyList |
getWMPropertyList(PropertyList pList)
Return the property list to use for fetching writing mode depending property ids. |
boolean |
isCorrespondingForced(PropertyList propertyList)
For properties that operate on a relative direction (before, after, start, end) instead of an absolute direction (top, bottom, left, right), this method determines whether a corresponding property is specified on the corresponding absolute direction. |
void |
setCorresponding(int lrtb,
int rltb,
int tbrl,
int tblr)
Set corresponding property identifiers. |
void |
setRelative(boolean relative)
Set relative flag. |
void |
setUseParent(boolean useParent)
Controls whether the PropertyMaker accesses the parent property list or the current property list for determining the writing mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PropertyMaker baseMaker
protected int lrtb
protected int rltb
protected int tbrl
protected int tblr
protected boolean useParent
| Constructor Detail |
|---|
public CorrespondingPropertyMaker(PropertyMaker baseMaker)
baseMaker - the base property maker| Method Detail |
|---|
public void setCorresponding(int lrtb,
int rltb,
int tbrl,
int tblr)
lrtb - the property that corresponds with lr-tb writing moderltb - the property that corresponds with rl-tb writing modetbrl - the property that corresponds with tb-lr writing modetblr - the property that corresponds with tb-lr writing modepublic void setUseParent(boolean useParent)
useParent - true if the parent property list should be used.public void setRelative(boolean relative)
relative - true if properties operate on a relative directionpublic boolean isCorrespondingForced(PropertyList propertyList)
propertyList - collection of properties to be tested
public Property compute(PropertyList propertyList)
throws PropertyException
propertyList - The PropertyList for the FO.
PropertyException - if a property exception occursprotected PropertyList getWMPropertyList(PropertyList pList)
pList - a property list
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||