| java.lang.Object org.romaframework.aspect.view.echo2.look.LookAndFeelManager
LookAndFeelManager | public class LookAndFeelManager (Code) | | Image, Style and StyleSheet manager. It handles all Look-and-feel information.
|
Method Summary | |
public void | addImagePath(String iImagePath) | public void | addStyleSheet(String iStylesheetFilePath) | public void | assignStyle(Component iComponent, Class> iDomainClass, String iStyleName) | public void | assignStyle(Component iComponent, Class> iDomainClass, String iFieldName, String iStyleName) | public void | assignStyle(Component iComponent, Class> iDomainClass) | public void | assignStyle(Component iComponent) | public void | assignStyle(Component iComponent, String iStyleName) | public ImageReference | getImage(String iImageName, int iW, int iH) Return an image searching in the configured paths. | public ImageReference | getImage(String iImageName) Return an image searching in the configured paths. | public Style | getStyle(Class> iComponentClass, String iStyleName) Search the style following stylesheet declaration. | public Style | getStyle(Component iComponent, Class> iDomainClass, String iFieldName, String iStyleName) | public void | init() | protected ImageReference | loadImage(String iImageName, int iW, int iH) | protected void | reloadImage(File iFile) | protected void | reloadStyleSheet(File iFile) | public void | setImagePaths(List<String> iImagePaths) | public void | setStyleSheets(List<String> iStylesheetPaths) Setup stylesheets at startup. |
STYLE_EXTENSION | final public static String STYLE_EXTENSION(Code) | | |
addImagePath | public void addImagePath(String iImagePath)(Code) | | |
addStyleSheet | public void addStyleSheet(String iStylesheetFilePath)(Code) | | |
assignStyle | public void assignStyle(Component iComponent, Class> iDomainClass, String iStyleName)(Code) | | |
assignStyle | public void assignStyle(Component iComponent, Class> iDomainClass, String iFieldName, String iStyleName)(Code) | | |
assignStyle | public void assignStyle(Component iComponent, Class> iDomainClass)(Code) | | |
assignStyle | public void assignStyle(Component iComponent)(Code) | | |
assignStyle | public void assignStyle(Component iComponent, String iStyleName)(Code) | | |
getImage | public ImageReference getImage(String iImageName, int iW, int iH)(Code) | | Return an image searching in the configured paths. First time the image is cached in memory until further reloading. The
image's dimensions are passed by parameters.
Parameters: iImageName - Name of icon without path Parameters: iW - Width of icon Parameters: iH - Height of icon |
getImage | public ImageReference getImage(String iImageName)(Code) | | Return an image searching in the configured paths. First time the image is cached in memory until further reloading. The
image's dimension is take from image's real dimension
Parameters: iImageName - Name of icon without path ImageReference instance if found, otherwise null See Also: loadImage |
getStyle | public Style getStyle(Class> iComponentClass, String iStyleName)(Code) | | Search the style following stylesheet declaration.
Parameters: iComponentClass - Parameters: iStyleName - Echo2 Style if found, otherwise null |
getStyle | public Style getStyle(Component iComponent, Class> iDomainClass, String iFieldName, String iStyleName)(Code) | | |
loadImage | protected ImageReference loadImage(String iImageName, int iW, int iH)(Code) | | |
reloadImage | protected void reloadImage(File iFile)(Code) | | |
reloadStyleSheet | protected void reloadStyleSheet(File iFile)(Code) | | |
setStyleSheets | public void setStyleSheets(List<String> iStylesheetPaths)(Code) | | Setup stylesheets at startup.
Parameters: iStylesheetPaths - List of stylesheet paths |
|
|