org.ChinaVO.FITSManager.IconCreator
Class IconCreator

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

public class IconCreator
extends FListViewGetIconListener


Method Summary
 boolean addSuffixTreator(java.lang.String suffix, FListViewGetIconListener l)
           
static void dispose()
           
 javax.swing.Icon getIcon(java.io.File f, int iconType)
          used for FListViewOperator to get the icons from other provider.
static IconCreator getIconCreator()
           
static void initialize()
           
 void removeSuffixTreator(java.lang.String suffix)
           
 
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()

getIconCreator

public static IconCreator getIconCreator()

addSuffixTreator

public boolean addSuffixTreator(java.lang.String suffix,
                                FListViewGetIconListener l)

removeSuffixTreator

public void removeSuffixTreator(java.lang.String suffix)

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