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

Some methods of BasicButtonUI class are undocumented

XMLWordPrintable

    • generic, sparc
    • generic, solaris_2.6



      Name: apR10229 Date: 06/03/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b07"
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : N/A


      Problem description
      ===================
      Some methods of BasicButtonUI class (javax.swing.plaf.basic package)
      have no Javadoc comments but "Java API Requirements for Compatibility"
      reads that: "We assume that a complete class specification is available for each
      class that must be tested. If a complete class specification is not
      available, then adequacy of the test cases cannot be determined".
      Thus JCK team could not write adequate tests for javax.swing.plaf.basic
      package without this specification.
      The list of unspecificated methods provided below:

      public BasicButtonUI()
      protected String getPropertyPrefix()
      protected void installDefaults(AbstractButton b)
      protected void installListeners(AbstractButton b)
      protected void installKeyboardActions(AbstractButton b)
      protected void uninstallKeyboardActions(AbstractButton b)
      protected void uninstallListeners(AbstractButton b)
      protected void uninstallDefaults(AbstractButton b)
      protected BasicButtonListener createButtonListener(AbstractButton b)
      public int getDefaultTextIconGap(AbstractButton b)
      protected void paintIcon(...)
      protected void paintText(...)
      protected void paintFocus(...)
      protected void paintButtonPressed(Graphics g,AbstractButton b)
      protected void clearTextShiftOffset()
      protected void setTextShiftOffset()
      protected int getTextShiftOffset()


      JCK test source location:
      ==========================
      /java/re/jck/1.5//nightly/binaries/latest/JCK-runtime-15/tests

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

            kwalrathsunw Kathy Walrath (Inactive)
            pavsunw Pav Pav (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: