org.ChinaVO.FITSManager.IconCreator.FITSIconCreator
Class FITSIconCreator

java.lang.Object
  extended by org.ChinaVO.FITSManager.FListViewOperator.FListViewGetIconListener
      extended by org.ChinaVO.FITSManager.IconCreator.FITSIconCreator.FITSIconCreator
All Implemented Interfaces:
java.util.EventListener

public class FITSIconCreator
extends FListViewGetIconListener


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

Method Detail

initialize

public static void initialize()

dispose

public static void dispose()

getFITSIconCreator

public static FITSIconCreator getFITSIconCreator()

getIcon

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

Specified by:
getIcon in class FListViewGetIconListener
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