Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4217640

bad docs for VariableHeightLayoutCache.getPreferredWidth

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.5.1



      Name: sdC67446 Date: 03/05/99


      The doc for method
      javax.tree.VariableHeightLayoutCache.getPreferredWidth(Rectangle
      bounds) doesn't explain the application of input 'bounds'.
      In fact the method ignores 'bounds'.

      The doc says:
      -------------------------------------------------------------
      public int getPreferredWidth(Rectangle bounds)

             Returns the preferred width and height for the region in
             visibleRegion.
             Overrides:
                    getPreferredWidth in class AbstractLayoutCache

      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: