net.sf.doolin.gui.service.icon
Class SimpleIconService
java.lang.Object
net.sf.doolin.gui.service.icon.AbstractIconService
net.sf.doolin.gui.service.icon.DefaultIconService
net.sf.doolin.gui.service.icon.SimpleIconService
- All Implemented Interfaces:
- IconService, org.springframework.beans.factory.InitializingBean
public class SimpleIconService
- extends DefaultIconService
- implements org.springframework.beans.factory.InitializingBean
This icon manager is using a property file that maps the icon ids to a
resource path. No size is taken into account.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleIconService
public SimpleIconService()
getPrefix
public String getPrefix()
- Gets the prefix.
- Returns:
- the prefix
setPrefix
public void setPrefix(String prefix)
- Sets the resource path prefix.
- Parameters:
prefix - the new prefix
getProperties
public Map<String,String> getProperties()
- Gets the properties.
- Returns:
- the properties
setProperties
public void setProperties(Map<String,String> properties)
- Sets the index of icon paths per icon id.
- Parameters:
properties - the properties
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
-
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2011. All Rights Reserved.