com.cc.framework.ui.painter.html
Class HtmlResourceMap

java.lang.Object
  extended bycom.cc.framework.ui.painter.ResourceMapImp
      extended bycom.cc.framework.ui.painter.html.HtmlResourceMap
All Implemented Interfaces:
FrameworkResources, HtmlResources, ResourceMap, Resources, java.io.Serializable

public class HtmlResourceMap
extends ResourceMapImp
implements HtmlResources

Version:
$Revision: 1.29 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static java.lang.String RESOURCE_DIR
          The base directory used for resources by this Painterfactory
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.html.HtmlResources
BUTTON_EDITLIST_ADD_1, BUTTON_EDITLIST_ADD_2, BUTTON_EDITLIST_MOVEDOWN_1, BUTTON_EDITLIST_MOVEDOWN_2, BUTTON_EDITLIST_MOVEUP_1, BUTTON_EDITLIST_MOVEUP_2, BUTTON_EDITLIST_REMOVE_1, BUTTON_EDITLIST_REMOVE_2, BUTTON_SPIN_DOWN_1, BUTTON_SPIN_DOWN_2, BUTTON_SPIN_UP_1, BUTTON_SPIN_UP_2, BUTTON_SWAP_ADD_H1, BUTTON_SWAP_ADD_H2, BUTTON_SWAP_ADD_V1, BUTTON_SWAP_ADD_V2, BUTTON_SWAP_ADDALL_H1, BUTTON_SWAP_ADDALL_H2, BUTTON_SWAP_ADDALL_V1, BUTTON_SWAP_ADDALL_V2, BUTTON_SWAP_MOVEDOWN_1, BUTTON_SWAP_MOVEDOWN_2, BUTTON_SWAP_MOVEUP_1, BUTTON_SWAP_MOVEUP_2, BUTTON_SWAP_REMOVE_H1, BUTTON_SWAP_REMOVE_H2, BUTTON_SWAP_REMOVE_V1, BUTTON_SWAP_REMOVE_V2, BUTTON_SWAP_REMOVEALL_H1, BUTTON_SWAP_REMOVEALL_H2, BUTTON_SWAP_REMOVEALL_V1, BUTTON_SWAP_REMOVEALL_V2, FW_FILE_JS_SELECT, HTML_FILE_JSP_CALENDAR, HTML_FILE_JSP_CALENDAR_LAYOUT1, HTML_FILE_JSP_CALENDAR_LAYOUT2, IMAGE_CALENDAR_1, IMAGE_CALENDAR_2, IMAGE_COLORTABLE_1, IMAGE_COLORTABLE_2, IMAGE_TEXTPOPUP_1, IMAGE_TEXTPOPUP_2
 
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
 
Fields inherited from interface com.cc.framework.FrameworkResources
FW_CALENDAR_AMPM, FW_CALENDAR_BUTTON_CANCEL_LABEL, FW_CALENDAR_BUTTON_CANCEL_TOOLTIP, FW_CALENDAR_BUTTON_CANCEL_WIDTH, FW_CALENDAR_BUTTON_OK_LABEL, FW_CALENDAR_BUTTON_OK_TOOLTIP, FW_CALENDAR_BUTTON_OK_WIDTH, FW_CALENDAR_BUTTON_TODAY_LABEL, FW_CALENDAR_DATEFORMAT, FW_CALENDAR_IMAGE_NEXTMONTH_ALT, FW_CALENDAR_IMAGE_NEXTMONTH_TOOLTIP, FW_CALENDAR_IMAGE_NEXTYEAR_ALT, FW_CALENDAR_IMAGE_NEXTYEAR_TOOLTIP, FW_CALENDAR_IMAGE_PREVMONTH_ALT, FW_CALENDAR_IMAGE_PREVMONTH_TOOLTIP, FW_CALENDAR_IMAGE_PREVYEAR_ALT, FW_CALENDAR_IMAGE_PREVYEAR_TOOLTIP, FW_CALENDAR_MONTHS, FW_CALENDAR_MONTHS_SHORT, FW_CALENDAR_WEEKDAYS, FW_CALENDAR_WEEKDAYS_SHORT, FW_CALENDAR_WINDOW_HEIGHT, FW_CALENDAR_WINDOW_TITLE, FW_CALENDAR_WINDOW_WIDTH, FW_COLORPICKER_WINDOW_TITLE, FW_EDITLIST_ADD, FW_EDITLIST_MOVEDOWN, FW_EDITLIST_MOVEUP, FW_EDITLIST_REMOVE, FW_EMPTY_GAUGE, FW_EMPTY_RATING, FW_EMPTY_TEXT, FW_FORM_REQUIRED, FW_HELP_ONCLICK, FW_HELP_TARGET, FW_HELP_TOOLTIP, FW_ITEMS, FW_ITEMS_1TE, FW_ITEMS_INFINITE, FW_ITEMS_NOENTRIES, FW_ITEMS_RANGE, FW_MULTILEVELSELECT_EMPTY, FW_PAGE_1TE, FW_PAGE_INFINITE, FW_PAGE_NOENTRIES, FW_PAGE_RANGE, FW_SCHEDULER_APPOINTMENT, FW_SCHEDULER_DATEFORMAT_DATETIME, FW_SCHEDULER_DATEFORMAT_DAY, FW_SCHEDULER_DATEFORMAT_DAY_SHORT, FW_SCHEDULER_DATEFORMAT_DETAIL, FW_SCHEDULER_DATEFORMAT_HOUR, FW_SCHEDULER_DATEFORMAT_MONTHOFYEAR, FW_SCHEDULER_DATEFORMAT_TIME, FW_SCHEDULER_DATEFORMAT_WEEK, FW_SCHEDULER_DATEFORMAT_WEEKDAY, FW_SCHEDULER_DATEFORMAT_WEEKDAY_SHORT, FW_SCHEDULER_PATTERN_DAILY_DAY, FW_SCHEDULER_PATTERN_DAILY_WEEKDAY, FW_SCHEDULER_PATTERN_DAILY_WEEKENDDAY, FW_SCHEDULER_PATTERN_MONTHLY, FW_SCHEDULER_PATTERN_MONTHLY_NTH, FW_SCHEDULER_PATTERN_NONE, FW_SCHEDULER_PATTERN_OPTION_DAY, FW_SCHEDULER_PATTERN_OPTION_FIRST, FW_SCHEDULER_PATTERN_OPTION_FOURTH, FW_SCHEDULER_PATTERN_OPTION_LAST, FW_SCHEDULER_PATTERN_OPTION_SECOND, FW_SCHEDULER_PATTERN_OPTION_THIRD, FW_SCHEDULER_PATTERN_OPTION_WEEKDAY, FW_SCHEDULER_PATTERN_OPTION_WEEKENDDAY, FW_SCHEDULER_PATTERN_WEEKLY, FW_SCHEDULER_PATTERN_YEARLY, FW_SCHEDULER_PATTERN_YEARLY_NTH, FW_SCHEDULER_RECURRENCETYPE_DAILY, FW_SCHEDULER_RECURRENCETYPE_MONTHLY, FW_SCHEDULER_RECURRENCETYPE_NONE, FW_SCHEDULER_RECURRENCETYPE_WEEKLY, FW_SCHEDULER_RECURRENCETYPE_YEARLY, FW_SWAPSELECT_ADD, FW_SWAPSELECT_ADD_ALL, FW_SWAPSELECT_MOVEDOWN, FW_SWAPSELECT_MOVEUP, FW_SWAPSELECT_REMOVE, FW_SWAPSELECT_REMOVE_ALL, FW_TABBAR_RANGE, FW_TABSET_RANGE, FW_TEXTAREA_MAXLENGTH_MESSAGE, FW_TEXTPOPUP_BUTTON_ICON_ALT, FW_TEXTPOPUP_BUTTON_ICON_TOOLTIP, FW_TOOLTIP_CHECKALL, FW_TOOLTIP_CLOSE, FW_TOOLTIP_CREATE_APPOINTMENT, FW_TOOLTIP_CREATE_ITEM, FW_TOOLTIP_EXPORT_LIST, FW_TOOLTIP_FIRSTPAGE, FW_TOOLTIP_LASTPAGE, FW_TOOLTIP_MAXIMIZE, FW_TOOLTIP_MINIMIZE, FW_TOOLTIP_NEXTPAGE, FW_TOOLTIP_PAGE, FW_TOOLTIP_PREVPAGE, FW_TOOLTIP_PRINT_LIST, FW_TOOLTIP_REFRESH_LIST, FW_TOOLTIP_REFRESH_SCHEDULER, FW_TOOLTIP_RESTORE, FW_TOOLTIP_SCHEDULER_ADDAPPOINTMENT, FW_TOOLTIP_SCHEDULER_DAYVIEW, FW_TOOLTIP_SCHEDULER_MONTHVIEW, FW_TOOLTIP_SCHEDULER_MORE, FW_TOOLTIP_SCHEDULER_NEXTDATE, FW_TOOLTIP_SCHEDULER_PREVDATE, FW_TOOLTIP_SCHEDULER_RANGE, FW_TOOLTIP_SCHEDULER_WEEKVIEW, FW_TOOLTIP_SCHEDULER_WORKWEEKVIEW, FW_TOOLTIP_SCHEDULER_YEARVIEW, FW_TOOLTIP_UNCHECKALL
 
Constructor Summary
HtmlResourceMap()
          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

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

RESOURCE_DIR

private static final java.lang.String RESOURCE_DIR
The base directory used for resources by this Painterfactory

See Also:
Constant Field Values
Constructor Detail

HtmlResourceMap

public HtmlResourceMap()
Constructor

Method Detail

doRegisterImages

protected void doRegisterImages()
Description copied from class: ResourceMapImp
Registers all local images

Specified by:
doRegisterImages in class ResourceMapImp
See Also:
ResourceMapImp.doRegisterImages()

doRegisterColors

protected void doRegisterColors()
Description copied from class: ResourceMapImp
Registers all local colors

Specified by:
doRegisterColors in class ResourceMapImp
See Also:
ResourceMapImp.doRegisterColors()

doRegisterStrings

protected void doRegisterStrings()
Description copied from class: ResourceMapImp
Registers all local strings

Specified by:
doRegisterStrings in class ResourceMapImp
See Also:
ResourceMapImp.doRegisterStrings()

expandFileName

protected java.lang.String expandFileName(java.lang.String src)
Expands a file name

Parameters:
src - Fielename
Returns:
Expanded filename

createImage

protected ImageModel createImage(java.lang.String src,
                                 int width,
                                 int height)
Creates a image model

Parameters:
src - Image path relative to the painter
width - Width
height - Height
Returns:
Image Model


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.