VRJConfig UI API
v2.0


org.vrjuggler.vrjconfig.ui
Class ConfigFileView

java.lang.Object
  extended by javax.swing.filechooser.FileView
      extended by org.vrjuggler.vrjconfig.ui.ConfigFileView

public class ConfigFileView
extends FileView

Used to set the description and Icon shown for files in a JFileChooser.


Constructor Summary
ConfigFileView()
          Load the icon once to be shown.
 
Method Summary
 String getDescription(File f)
          Let the LnF FileView figure this out.
 Icon getIcon(File f)
          Get the Icon to be displayed for the given File.
 String getName(File f)
          Let the LnF FileView figure this out.
 String getTypeDescription(File f)
          Get the description for the given File.
 Boolean isTraversable(File f)
          Let the LnF FileView figure this out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigFileView

public ConfigFileView()
Load the icon once to be shown.

Method Detail

getName

public String getName(File f)
Let the LnF FileView figure this out.

Overrides:
getName in class FileView

getDescription

public String getDescription(File f)
Let the LnF FileView figure this out.

Overrides:
getDescription in class FileView

isTraversable

public Boolean isTraversable(File f)
Let the LnF FileView figure this out.

Overrides:
isTraversable in class FileView

getTypeDescription

public String getTypeDescription(File f)
Get the description for the given File.

Overrides:
getTypeDescription in class FileView

getIcon

public Icon getIcon(File f)
Get the Icon to be displayed for the given File.

Overrides:
getIcon in class FileView

VRJConfig UI API
v2.0


Copyright © 1998–2005 Iowa State University. All rights reserved.