pbwest      2002/10/02 00:00:08

  Modified:    src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
                        PropertyValue.java PropertyValueList.java
  Log:
  Added stackedBy.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +16 -2     xml-fop/src/org/apache/fop/datatypes/Attic/PropertyValue.java
  
  Index: PropertyValue.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/Attic/PropertyValue.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- PropertyValue.java        21 Sep 2002 04:13:23 -0000      1.1.2.3
  +++ PropertyValue.java        2 Oct 2002 07:00:08 -0000       1.1.2.4
  @@ -1,6 +1,7 @@
   package org.apache.fop.datatypes;
   
   import org.apache.fop.fo.expr.PropertyException;
  +import org.apache.fop.fo.FONode;
   
   /*
    * PropertyValue.java
  @@ -59,9 +60,22 @@
       public void setProperty(int index) throws PropertyException;
   
       /**
  +     * Get the <tt>int</tt> type of property value.
        * @return type field of the <tt>PropertyValue</tt>.
        */
       public int getType();
  +
  +    /**
  +     * Set the reference to the <tt>FONode</tt> that stacked this value.
  +     * @param node - the stacking <tt.FONode</tt>.
  +     */
  +    public void setStackedBy(FONode node);
  +
  +    /**
  +     * Get a reference to the <tt>FONode</tt> that stacked this value.
  +     * @return <tt>FONode</tt> that stacked this value.
  +     */
  +    public FONode getStackedBy();
   
       /**
        * In some circumstances, the property against which a type is to be
  
  
  
  1.1.2.3   +23 -2     
xml-fop/src/org/apache/fop/datatypes/Attic/PropertyValueList.java
  
  Index: PropertyValueList.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/datatypes/Attic/PropertyValueList.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- PropertyValueList.java    18 Sep 2002 15:24:12 -0000      1.1.2.2
  +++ PropertyValueList.java    2 Oct 2002 07:00:08 -0000       1.1.2.3
  @@ -7,6 +7,7 @@
   import org.apache.fop.fo.Properties;
   import org.apache.fop.fo.PropertyConsts;
   import org.apache.fop.fo.PropNames;
  +import org.apache.fop.fo.FONode;
   import org.apache.fop.datatypes.PropertyValue;
   import org.apache.fop.fo.expr.PropertyException;
   
  @@ -38,6 +39,11 @@
       public final int type;
   
       /**
  +     * The <tt>FONode</tt> that stacked this value.
  +     */
  +    private FONode stackedBy = null;
  +
  +    /**
        * @param property <tt>int</tt> index of the property.
        */
       public PropertyValueList(int property) throws PropertyException {
  @@ -175,6 +181,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]

Reply via email to