|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.service.icon.IconDefinition
public class IconDefinition
Association of icon sizes and corresponding paths.
| Constructor Summary | |
|---|---|
IconDefinition()
Empty constructor. |
|
IconDefinition(String prefix,
String miniPath,
String smallPath,
String mediumPath,
String largePath,
String bigPath)
Builds an icon definition using a prefix and some suffixes for the paths. |
|
| Method Summary | |
|---|---|
Map<IconSize,String> |
getPaths()
Gets the map of paths and icon sizes |
protected void |
put(IconSize size,
String prefix,
String path)
Registers a path prefix and a path suffix for a given icon size |
void |
setPaths(Map<IconSize,String> paths)
Sets the map of paths and icon sizes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IconDefinition()
public IconDefinition(String prefix,
String miniPath,
String smallPath,
String mediumPath,
String largePath,
String bigPath)
prefix - Prefix to use for the paths.miniPath - Path suffix to the mini icon or nullsmallPath - Path suffix to the small icon or nullmediumPath - Path suffix to the medium icon or nulllargePath - Path suffix to the large icon or nullbigPath - Path suffix to the big icon or null| Method Detail |
|---|
protected void put(IconSize size,
String prefix,
String path)
size - Icon sizeprefix - Path prefixpath - Path suffixpublic Map<IconSize,String> getPaths()
public void setPaths(Map<IconSize,String> paths)
paths - Paths indexed by icon sizes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||