org.ChinaVO.FITSManager.FListViewOperator
Class FListViewGetIconListener

java.lang.Object
  extended by org.ChinaVO.FITSManager.FListViewOperator.FListViewGetIconListener
All Implemented Interfaces:
java.util.EventListener
Direct Known Subclasses:
FITSIconCreator, IconCreator, VOTableIconCreator

public abstract class FListViewGetIconListener
extends java.lang.Object
implements java.util.EventListener

someone who want to provider the icons for files in FListView should extends this Listener.

Version:
v1.0.0 2009-11-16 9:44:54
Author:
Fany

Constructor Summary
FListViewGetIconListener()
           
 
Method Summary
abstract  javax.swing.Icon getIcon(java.io.File f, int iconType)
          used for FListViewOperator to get the icons from other provider.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FListViewGetIconListener

public FListViewGetIconListener()
Method Detail

getIcon

public abstract javax.swing.Icon getIcon(java.io.File f,
                                         int iconType)
used for FListViewOperator to get the icons from other provider.

Parameters:
f - a File instance.
iconType - the type of the icons.
FCommonList.BIGICON=1 Big Icon
FCommonList.NormalICON=2 Normal Icon
FCommonList.SMALLICON=3 Small Icon
FCommonList.THUMBNAIL=4 Thumbnails
Returns:
the icon instance