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

Some methods of BasicFileChooserUI 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 BasicFileChooserUI 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 BasicFileChooserUI(JFileChooser b)
      public void installComponents(JFileChooser fc)
      public void uninstallComponents(JFileChooser fc)
      protected void installListeners(JFileChooser fc)
      protected void uninstallListeners(JFileChooser fc)
      protected void installDefaults(JFileChooser fc)
      protected void installIcons(JFileChooser fc)
      protected void installStrings(JFileChooser fc)
      protected void uninstallDefaults(JFileChooser fc)
      protected void uninstallIcons(JFileChooser fc)
      protected void uninstallStrings(JFileChooser fc)
      protected void createModel()
      public BasicDirectoryModel getModel()
      public PropertyChangeListener createPropertyChangeListener(JFileChooser fc)
      public String getFileName()
      public String getDirectoryName()
      public void setFileName(String filename)
      public void setDirectoryName(String dirname)
      public void rescanCurrentDirectory(JFileChooser fc)
      public void ensureFileIsVisible(JFileChooser fc,File f)
      public JFileChooser getFileChooser()
      public JPanel getAccessoryPanel()
      protected JButton getApproveButton(JFileChooser fc)
      public String getApproveButtonToolTipText(JFileChooser fc)
      public void clearIconCache()
      protected MouseListener createDoubleClickListener(JFileChooser fc,JList list)
      public ListSelectionListener createListSelectionListener(JFileChooser fc)
      public int getApproveButtonMnemonic(JFileChooser fc)
      public Action getNewFolderAction()
      public Action getGoHomeAction()
      public Action getChangeToParentDirectoryAction()
      public Action getApproveSelectionAction()
      public Action getCancelSelectionAction()
      public Action getUpdateAction()





      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: