Class GWTIconsManager
- java.lang.Object
-
- org.gcube.portal.stohubicons.shared.resources.GWTIconsManager
-
public class GWTIconsManager extends Object
- Author:
- M. Assante, CNR-ISTI class to be used in GWT for getting image resource
-
-
Constructor Summary
Constructors Constructor Description GWTIconsManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.gwt.resources.client.ImageResourcegetIconFile(String filenameWithExtension)static com.google.gwt.resources.client.ImageResourcegetIconFolder(boolean isShared)static com.google.gwt.resources.client.ImageResourcegetIconTypeLink()static com.google.gwt.resources.client.ImageResourcegetIconVREFolder()static com.google.gwt.resources.client.ImageResourcegetXMLTypeLink()
-
-
-
Method Detail
-
getIconFolder
public static com.google.gwt.resources.client.ImageResource getIconFolder(boolean isShared)
- Parameters:
isShared- true is the folder is shared- Returns:
- the ImageResource instance related to the private or shared Folders
-
getIconVREFolder
public static com.google.gwt.resources.client.ImageResource getIconVREFolder()
- Returns:
- the ImageResource instance related to the VRE Folders
-
getIconTypeLink
public static com.google.gwt.resources.client.ImageResource getIconTypeLink()
- Returns:
- the ImageResource instance related to the VRE Folders
-
getXMLTypeLink
public static com.google.gwt.resources.client.ImageResource getXMLTypeLink()
- Returns:
- the ImageResource instance related to the VRE Folders
-
getIconFile
public static com.google.gwt.resources.client.ImageResource getIconFile(String filenameWithExtension) throws IllegalArgumentException
- Parameters:
filenameWithExtension-- Returns:
- the ImageResource instance related to the file extension
- Throws:
IllegalArgumentException
-
-