| |
|
| java.lang.Object org.wings.Resource org.wings.StaticResource org.wings.resource.FileResource org.wings.SFileIcon
SFileIcon | public class SFileIcon extends FileResource implements SIcon(Code) | | SIcon implementation that is externalized globally
and is not bound to a session.
author: Armin Haaf |
SFileIcon | public SFileIcon(String fileName) throws FileNotFoundException(Code) | | Create a new SFileIcon from the File. This constructor extracts
the extension from the file to be appended to the externalized resource
name.
|
SFileIcon | public SFileIcon(File file, String extension, String mimetype) throws FileNotFoundException(Code) | | crates a new SFileIcon from the given file. The extension and
mimetype are taken from the parameters given.
Parameters: file - the file to construct a SFileIcon from Parameters: extension - user provided extension. The original extension ofthe file is ignored, unless this paramter is'null'. Parameters: mimetype - the user provided mimetype. If this is 'null', thenthe mimetype is guessed from the extension. |
getIconHeight | public int getIconHeight()(Code) | | |
getIconWidth | public int getIconWidth()(Code) | | |
setIconHeight | public void setIconHeight(int height)(Code) | | |
setIconWidth | public void setIconWidth(int width)(Code) | | |
|
|
|