public static void cacheImgStates(String skinImgDir,String baseImageURL,String states){
  cacheImgStates(skinImgDir,new String[]{baseImageURL},states.split(","));
}

public static void cacheImgStates ( String skinImgDir , String baseImageURL , String states ) { cacheImgStates ( skinImgDir , new String [ ] { baseImageURL } , states . split ( "," ) ) ; }
caches a set of state images derived from a base image . this is useful for caching a set of images for a single component . for example this code : < br > fileloader . cacheimgstates ( " treegrid / opener . png " , " closed , opening , opened " ) ; < p / > will cause the following images to be cached : < p / > / isomorphic / skins / [ skin ] / images / treegrid / opener_closed . png / isomorphic / skins / [ skin ] / images / treegrid / opener_opening . png / isomorphic / skins / [ skin ] / images / treegrid / opener_opened . png
