|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.ResourceMapImp com.cc.framework.ui.painter.def.DefResourceMap
The DefResourceMap registers all images that are needed by the DefaulPainter.
Field Summary | |
private static java.lang.String |
RESOURCE_DIR
The base directory used for resources by this painter factory |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.ui.painter.ResourceMapImp |
|
Fields inherited from interface com.cc.framework.ui.painter.Resources |
ICON_ADD, ICON_CHECK, ICON_CHECKED, ICON_DELETE, ICON_EDIT, ICON_INSERT, ICON_SELECT, IMAGE_BULLET, IMAGE_SEPARATOR, IMAGE_SPACER |
Constructor Summary | |
DefResourceMap()
Constructor |
Method Summary | |
protected ImageModel |
createImage(java.lang.String src,
int width,
int height)
Creates a image model |
protected void |
doRegisterColors()
Registers all local colors |
protected void |
doRegisterImages()
Registers all local images |
protected void |
doRegisterStrings()
Registers all local strings |
protected java.lang.String |
expandFileName(java.lang.String src)
Expands a file name |
Methods inherited from class com.cc.framework.ui.painter.ResourceMapImp |
getColor, getColorPalette, getId, getImage, getImage, getResource, getResourceDir, getResourceKeys, getString, getString, init, register, registerColor, registerImage, registerImage, registerString, setColorPalette, setResourceDir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private static final java.lang.String RESOURCE_DIR
Constructor Detail |
public DefResourceMap()
Method Detail |
protected void doRegisterImages()
ResourceMapImp
doRegisterImages
in class ResourceMapImp
ResourceMapImp.doRegisterImages()
protected void doRegisterStrings()
ResourceMapImp
doRegisterStrings
in class ResourceMapImp
ResourceMapImp.doRegisterStrings()
protected void doRegisterColors()
ResourceMapImp
doRegisterColors
in class ResourceMapImp
ResourceMapImp.doRegisterColors()
protected ImageModel createImage(java.lang.String src, int width, int height)
src
- Image path relative to the painterwidth
- Widthheight
- Height
protected java.lang.String expandFileName(java.lang.String src)
src
- Filename
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |