com.cc.framework.ui.painter.def
Class DefResourceMap

java.lang.Object
  extended bycom.cc.framework.ui.painter.ResourceMapImp
      extended bycom.cc.framework.ui.painter.def.DefResourceMap
All Implemented Interfaces:
DefResources, FrameworkResources, ResourceMap, Resources, java.io.Serializable
Direct Known Subclasses:
Def2ResourceMap

public class DefResourceMap
extends ResourceMapImp
implements DefResources

The DefResourceMap registers all images that are needed by the DefaulPainter.

Since:
1.2
Version:
$Revision: 1.69 $
Author:
Harald Schulz
See Also:
Serialized Form

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.def.DefResources
BUTTON_CHECKALL_1, BUTTON_CLOSE_1, BUTTON_COLLAPSE, BUTTON_CREATE_1, BUTTON_CREATE_2, BUTTON_EXPAND, BUTTON_EXPORT_1, BUTTON_EXPORT_2, BUTTON_FIRST_1, BUTTON_FIRST_2, BUTTON_HELP_1, BUTTON_HELP_2, BUTTON_LAST_1, BUTTON_LAST_2, BUTTON_MAXIMIZE_1, BUTTON_MINIMIZE_1, BUTTON_NEXT_1, BUTTON_NEXT_2, BUTTON_PREVIOUS_1, BUTTON_PREVIOUS_2, BUTTON_PRINT_1, BUTTON_PRINT_2, BUTTON_REFRESH_1, BUTTON_REFRESH_2, BUTTON_RESTORE_1, BUTTON_SCHEDULER_CREATE1, BUTTON_SCHEDULER_DAY1, BUTTON_SCHEDULER_MONTH1, BUTTON_SCHEDULER_NEXT_1, BUTTON_SCHEDULER_PREV_1, BUTTON_SCHEDULER_WEEK1, BUTTON_SCHEDULER_WORKWEEK1, BUTTON_SCHEDULER_YEAR1, BUTTON_SORTABLE, BUTTON_SORTASC, BUTTON_SORTDESC, BUTTON_TABBAR_MORE_EMPTY, BUTTON_TABBAR_MORE_NEXT, BUTTON_TABBAR_MORE_PREVIOUS, BUTTON_TABBAR_NEXT_1, BUTTON_TABBAR_NEXT_2, BUTTON_TABBAR_PREVIOUS_1, BUTTON_TABBAR_PREVIOUS_2, BUTTON_TABSET_MORE_EMPTY, BUTTON_TABSET_MORE_NEXT, BUTTON_TABSET_MORE_PREVIOUS, BUTTON_TABSET_NEXT_1, BUTTON_TABSET_NEXT_2, BUTTON_TABSET_PREVIOUS_1, BUTTON_TABSET_PREVIOUS_2, BUTTON_UNCHECKALL_1, CHECKBOX_CHECKED, CHECKBOX_INDETERMINATE, CHECKBOX_INVALID, CHECKBOX_NONE, CHECKBOX_UNCHECKED, CORNER_FORM_LEFT, CORNER_FORM_LEFT_COLOR, CORNER_FORM_RIGHT, CORNER_FORM_RIGHT_COLOR, CORNER_FORMSEARCH_LEFT, CORNER_FORMSEARCH_RIGHT, CORNER_PANEL_BL, CORNER_PANEL_BR, CORNER_PANEL_TL, CORNER_PANEL_TR, CORNER_TABLE_LEFT, CORNER_TABLE_RIGHT, CRUMBS_DIS_BG, CRUMBS_DIS_DIS, CRUMBS_DIS_NONE, CRUMBS_DIS_SEL, CRUMBS_DIS_UNSEL, CRUMBS_NONE_DIS, CRUMBS_NONE_SEL, CRUMBS_NONE_UNSEL, CRUMBS_SEL_BG, CRUMBS_SEL_DIS, CRUMBS_SEL_NONE, CRUMBS_SEL_SEL, CRUMBS_SEL_UNSEL, CRUMBS_UNSEL_BG, CRUMBS_UNSEL_DIS, CRUMBS_UNSEL_NONE, CRUMBS_UNSEL_SEL, CRUMBS_UNSEL_UNSEL, FW_FILE_CSS_DEFAULT, FW_FILE_JS_CONTROLS, FW_FILE_JS_FUNCTIONS, FW_FILE_JS_LIST, FW_FILE_JS_MENU, FW_FILE_JS_RESOURCEMAP, FW_FILE_JS_TABSET, FW_FILE_JS_TREE, IMAGE_DOT_COLOR, IMAGE_ERROR, IMAGE_ERROR_INPUT, IMAGE_HAND, IMAGE_HEADER_BOTTOM, IMAGE_HEADER_TOP, IMAGE_HELP, IMAGE_INFORMATION, IMAGE_LINK_EXTERNAL, IMAGE_MAGNIFIER, IMAGE_MESSAGE_INPUT, IMAGE_REQUIRED, IMAGE_SEV_ERROR, IMAGE_SEV_FATAL, IMAGE_SEV_INFO, IMAGE_SEV_NONE, IMAGE_SEV_QUESTION, IMAGE_SEV_WARN, IMAGE_WARNING, RADIO_CHECKED, RADIO_UNCHECKED, RATING_BAR, RATING_BG, SCHEDULER_ADD_APPOINTMENT, SCHEDULER_ATTACHMENT, SCHEDULER_CLOCK, SCHEDULER_MORE_DOWN, SCHEDULER_MORE_UP, SCHEDULER_NEXT, SCHEDULER_PREV, SCHEDULER_PRIO_HIGH, SCHEDULER_PRIO_LOW, SCHEDULER_PRIO_NONE, SCHEDULER_PRIO_NORMAL, SCHEDULER_RECURRING, TABBAR_BACKGROUND, TABBAR_DIS_BG, TABBAR_DIS_DIS, TABBAR_DIS_NONE, TABBAR_DIS_SEL, TABBAR_DIS_UNSEL, TABBAR_NONE_DIS, TABBAR_NONE_SEL, TABBAR_NONE_UNSEL, TABBAR_SEL_BG, TABBAR_SEL_DIS, TABBAR_SEL_NONE, TABBAR_SEL_UNSEL, TABBAR_TABDISABLED_BG, TABBAR_TABDISABLED_L, TABBAR_TABDISABLED_R, TABBAR_TABSEL_BG_COLOR, TABBAR_TABSEL_L_COLOR, TABBAR_TABSEL_R_COLOR, TABBAR_TABUNSEL_BG, TABBAR_TABUNSEL_L, TABBAR_TABUNSEL_R, TABBAR_UNSEL_BG, TABBAR_UNSEL_DIS, TABBAR_UNSEL_NONE, TABBAR_UNSEL_SEL, TABBAR_UNSEL_UNSEL, TABSET_BACKGROUND, TABSET_DIS_BG, TABSET_DIS_DIS, TABSET_DIS_NONE, TABSET_DIS_SEL, TABSET_DIS_UNSEL, TABSET_NONE_DIS, TABSET_NONE_SEL, TABSET_NONE_UNSEL, TABSET_SEL_BG, TABSET_SEL_DIS, TABSET_SEL_NONE, TABSET_SEL_UNSEL, TABSET_TABDISABLED_BG, TABSET_TABDISABLED_L, TABSET_TABDISABLED_R, TABSET_TABSEL_BG_COLOR, TABSET_TABSEL_L_COLOR, TABSET_TABSEL_R_COLOR, TABSET_TABUNSEL_BG, TABSET_TABUNSEL_L, TABSET_TABUNSEL_R, TABSET_UNSEL_BG, TABSET_UNSEL_DIS, TABSET_UNSEL_NONE, TABSET_UNSEL_SEL, TABSET_UNSEL_UNSEL, TEXTBUTTON_BG_LEFT1, TEXTBUTTON_BG_MIDDLE1, TEXTBUTTON_BG_RIGHT1, TREE_FOLDERCLOSED, TREE_FOLDEROPEN, TREE_ITEM, TREE_STRUCTURE, TREE_STRUCTURE_10, TREE_STRUCTURE_12, TREE_STRUCTURE_14, TREE_STRUCTURE_16, TREE_STRUCTURE_18, TREE_STRUCTURE_2, TREE_STRUCTURE_26, TREE_STRUCTURE_30, TREE_STRUCTURE_32, TREE_STRUCTURE_34, TREE_STRUCTURE_42, TREE_STRUCTURE_46
 
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
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

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 painter factory

See Also:
Constant Field Values
Constructor Detail

DefResourceMap

public DefResourceMap()
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()

doRegisterStrings

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

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

doRegisterColors

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

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

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

expandFileName

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

Parameters:
src - Filename
Returns:
Expanded filename


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