public int getColor(int type) {
        switch(type){
        case COLOR_BACKGROUND: return ApplicationManager.manager.getIntProperty("item.background", 0x0ffffff);   
        case COLOR_FOREGROUND: return ApplicationManager.manager.getIntProperty("item.foreground", 0);   
        case COLOR_HIGHLIGHTED_BACKGROUND: return ApplicationManager.manager.getIntProperty("item.focus.background", 0x00000ff);   
        case COLOR_HIGHLIGHTED_FOREGROUND: return ApplicationManager.manager.getIntProperty("item.focus.foreground", 0);   
        case COLOR_BORDER: return ApplicationManager.manager.getIntProperty("item.border", 0x0ffffff);
        case COLOR_HIGHLIGHTED_BORDER: return ApplicationManager.manager.getIntProperty("item.focus.border", 0x08888ff);
        }
        return 0x08888ff;
    }