com.japisoft.treefilebrowser
Interface FileView


public interface FileView

Here an interface for the each file look

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Method Summary
 java.awt.Color getBackground(java.io.File file)
           
 java.awt.Color getForeground(java.io.File file)
           
 javax.swing.Icon getIcon(java.io.File file)
           
 

Method Detail

getIcon

public javax.swing.Icon getIcon(java.io.File file)
Returns:
an icon for this file. The dimension should be 16x16

getForeground

public java.awt.Color getForeground(java.io.File file)
Returns:
the foreground for this file

getBackground

public java.awt.Color getBackground(java.io.File file)
Returns:
the background color for this file