/[classpath]/classpath/javax/swing/text/BoxView.java
ViewVC logotype

Diff of /classpath/javax/swing/text/BoxView.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by abalkiss, Fri Oct 14 18:16:46 2005 UTC revision 1.8 by abalkiss, Fri Oct 14 18:48:20 2005 UTC
# Line 714  public class BoxView Line 714  public class BoxView
714      else      else
715        return baselineRequirements(axis, null).alignment;        return baselineRequirements(axis, null).alignment;
716    }    }
717      
718      /**
719       * Called by a child View when its preferred span has changed.
720       *
721       * @param width indicates that the preferred width of the child changed.
722       * @param height indicates that the preferred height of the child changed.
723       * @param child the child View.
724       */
725      public void preferenceChanged (View child, boolean width, boolean height)
726      {
727        if (width)
728          xLayoutValid = false;
729        if (height)
730          yLayoutValid = false;
731        super.preferenceChanged(child, width, height);
732      }
733  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26