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

Some methods of MetalFileChooserUI class are undocumented

XMLWordPrintable



      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 MetalFileChooserUI class (javax.swing.plaf.metal 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.metal
      package without this specification.
      The list of unspecificated methods provided below:

      public void uninstallComponents(JFileChooser fc)
      public void installComponents(JFileChooser fc)
      protected JPanel getButtonPanel()
      protected JPanel getBottomPanel()
      protected void installStrings(JFileChooser fc)
      protected void installListeners(JFileChooser fc)
      protected ActionMap getActionMap()
      protected ActionMap createActionMap()
      protected JPanel createList(JFileChooser fc)
      protected JPanel createDetailsView(JFileChooser fc)
      public PropertyChangeListener createPropertyChangeListener(JFileChooser fc)
      protected void removeControlButtons()
      protected void addControlButtons()
      public void ensureFileIsVisible(JFileChooser fc,File f)
      public void rescanCurrentDirectory(JFileChooser fc)
      public String getFileName()
      public void setFileName(String filename)
      public String getDirectoryName()
      public void setDirectoryName(String dirname)
      protected javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc)
      protected MetalFileChooserUI.DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc)
      protected MetalFileChooserUI.FilterComboBoxRenderer createFilterComboBoxRenderer()
      protected MetalFileChooserUI.FilterComboBoxModel createFilterComboBoxModel()
      public void valueChanged(ListSelectionEvent e)
      protected JButton getApproveButton(JFileChooser fc)


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

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

            Unassigned Unassigned
            pavsunw Pav Pav (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: