pbwest 2002/10/01 23:58:25 Modified: src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design AbstractPropertyValue.java Log: Added stackedBy. Revision Changes Path No revision No revision 1.1.2.3 +26 -5 xml-fop/src/org/apache/fop/datatypes/Attic/AbstractPropertyValue.java Index: AbstractPropertyValue.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/Attic/AbstractPropertyValue.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- AbstractPropertyValue.java 18 Sep 2002 15:24:11 -0000 1.1.2.2 +++ AbstractPropertyValue.java 2 Oct 2002 06:58:25 -0000 1.1.2.3 @@ -3,6 +3,7 @@ import org.apache.fop.fo.PropertyConsts; import org.apache.fop.fo.PropNames; import org.apache.fop.fo.Properties; +import org.apache.fop.fo.FONode; import org.apache.fop.fo.expr.PropertyException; import org.apache.fop.datatypes.PropertyValue; @@ -22,19 +23,24 @@ public abstract class AbstractPropertyValue implements PropertyValue, Cloneable - { - +{ + /** * An integer index to the type of property of which this is a value. */ protected int property; - + /** * An integer property type. */ public final int type; /** + * The <tt>FONode</tt> that stacked this value. + */ + private FONode stackedBy = null; + + /** * @param index index of the property in the property arrays. * @param type of this value */ @@ -81,6 +87,21 @@ */ public int getType() { return type; + } + + /** + * Set the node that stacked this value. + * @param node - the <tt>FONode</tt> that stacked this value. + */ + public void setStackedBy(FONode node) { + stackedBy = node; + } + + /** + * Get the node that stacked this value. + */ + public FONode getStackedBy() { + return stackedBy; } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]