/[classpath]/classpath/javax/swing/filechooser/FileView.java
ViewVC logotype

Diff of /classpath/javax/swing/filechooser/FileView.java

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

revision 1.4 by mark, Sat Jul 2 20:32:50 2005 UTC revision 1.5 by trebligd, Mon Sep 19 20:11:37 2005 UTC
# Line 1  Line 1 
1  /* FileView.java --  /* FileView.java --
2     Copyright (C) 2002, 2004  Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 43  import java.io.File; Line 43  import java.io.File;
43  import javax.swing.Icon;  import javax.swing.Icon;
44    
45  /**  /**
46   * FileView   * An abstract class that provides presentation information about files and
47   * @author      Andrew Selkirk   * directories.  .
48   * @version     1.0   *
49     * @author  Andrew Selkirk
50   */   */
51  public abstract class FileView {  public abstract class FileView
52    {
53    
54          //-------------------------------------------------------------    /**
55          // Initialization ---------------------------------------------     * Creates a new <code>FileView</code> instance.
56          //-------------------------------------------------------------     */
57      public FileView()
58          /**    {
59           * Constructor FileView    }
60           */  
61          public FileView() {    /**
62                  // TODO     * Returns the name for the specified file.  This method always returns
63          } // FileView()     * <code>null</code> and should be overridden by subclasses.
64       *
65       * @param file  the file.
66          //-------------------------------------------------------------     *
67          // Methods ----------------------------------------------------     * @return Always <code>null</code>.
68          //-------------------------------------------------------------     */
69      public String getName(File file)
70          /**    {
71           * getName      return null;
72           * @param file TODO    }
73           * @returns String  
74           */    /**
75          public String getName(File file) {     * Returns a description for the specified file.  This method always returns
76                  return null; // TODO     * <code>null</code> and should be overridden by subclasses.
77          } // getName()     *
78       * @param file  the file.
79          /**     *
80           * getDescription     * @return Always <code>null</code>.
81           * @param value0 TODO     */
82           * @returns String    public String getDescription(File file)
83           */    {
84          public String getDescription(File value0) {      return null;
85                  return null; // TODO    }
86          } // getDescription()  
87      /**
88          /**     * Returns a description for the type of the specified file.  This method
89           * getTypeDescription     * always returns <code>null</code> and should be overridden by subclasses.
90           * @param value0 TODO     *
91           * @returns String     * @param file  the file.
92           */     *
93          public String getTypeDescription(File value0) {     * @return Always <code>null</code>.
94                  return null; // TODO     */
95          } // getTypeDescription()    public String getTypeDescription(File file)
96      {
97          /**      return null;
98           * getIcon    }
99           * @param value0 TODO  
100           * @returns Icon    /**
101           */     * Returns an {@link Icon} to represent the specified file.  This method
102          public Icon getIcon(File value0) {     * always returns <code>null</code> and should be overridden by subclasses.
103                  return null; // TODO     *
104          } // getIcon()     * @param file  the file.
105       *
106          /**     * @return Always <code>null</code>.
107           * isTraversable     */
108           * @param value0 TODO    public Icon getIcon(File file)
109           * @returns Boolean    {
110           */      return null;
111          public Boolean isTraversable(File value0) {    }
112                  return null; // TODO  
113          } // isTraversable()    /**
114       * Returns {@link Boolean#TRUE} if the given directory is traversable, and
115       * {@link Boolean#FALSE} if it is not.  This method always returns
116       * <code>null</code> and should be overridden by subclasses.
117       *
118       * @param directory  the directory.
119       *
120       * @returns Always <code>null</code>.
121       */
122      public Boolean isTraversable(File directory)
123      {
124        return null;
125      }
126    
127    }
 } // FileView  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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