org.ChinaVO.FITSManager.IconCreator
Class IconCreator
java.lang.Object
org.ChinaVO.FITSManager.FListViewOperator.FListViewGetIconListener
org.ChinaVO.FITSManager.IconCreator.IconCreator
- All Implemented Interfaces:
- java.util.EventListener
public class IconCreator
- extends FListViewGetIconListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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