You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2002/10/02 08:58:25 UTC

cvs commit: xml-fop/src/org/apache/fop/datatypes AbstractPropertyValue.java

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: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org