001 /** 002 * Copyright 2010 The Kuali Foundation Licensed under the 003 * Educational Community License, Version 2.0 (the "License"); you may 004 * not use this file except in compliance with the License. You may 005 * obtain a copy of the License at 006 * 007 * http://www.osedu.org/licenses/ECL-2.0 008 * 009 * Unless required by applicable law or agreed to in writing, 010 * software distributed under the License is distributed on an "AS IS" 011 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 012 * or implied. See the License for the specific language governing 013 * permissions and limitations under the License. 014 */ 015 016 package org.kuali.student.common.ui.theme.standard.client; 017 018 import org.kuali.student.common.ui.client.theme.CommonImages; 019 020 import com.google.gwt.user.client.ui.Image; 021 022 public class CommonImagesImpl implements CommonImages{ 023 @Override 024 public Image getAsterisk() { 025 return new Image(KSClientBundle.INSTANCE.asterisk()); 026 } 027 028 @Override 029 public Image getHelpIcon() { 030 return new Image(KSClientBundle.INSTANCE.helpIcon()); 031 } 032 033 @Override 034 public Image getDeleteCommentIcon() { 035 return new Image(KSClientBundle.INSTANCE.deleteComment()); 036 } 037 038 @Override 039 public Image getEditCommentIcon() { 040 return new Image(KSClientBundle.INSTANCE.editComment()); 041 } 042 043 @Override 044 public Image getErrorIcon() { 045 return new Image(KSClientBundle.INSTANCE.errorIcon()); 046 } 047 048 @Override 049 public Image getOkIcon() { 050 return new Image(KSClientBundle.INSTANCE.okIcon()); 051 } 052 053 054 @Override 055 public Image getWarningIcon() { 056 return new Image(KSClientBundle.INSTANCE.warningIcon()); 057 } 058 059 060 @Override 061 public Image getWarningDiamondIcon() { 062 return new Image(KSClientBundle.INSTANCE.warningDiamondIcon()); 063 } 064 065 @Override 066 public Image getProgressSpinner() { 067 return new Image(KSClientBundle.INSTANCE.spinner()); 068 } 069 070 @Override 071 public Image getSpacer() { 072 return new Image(KSClientBundle.INSTANCE.spacer()); 073 } 074 075 @Override 076 public Image getCurriculumManagementImage() { 077 return new Image(KSClientBundle.INSTANCE.curriculumManagementImage()); 078 } 079 080 @Override 081 public Image getDropDownIconBlack() { 082 return new Image(KSClientBundle.INSTANCE.dropdownBlack()); 083 } 084 085 @Override 086 public Image getDropDownIconCustom() { 087 return new Image(KSClientBundle.INSTANCE.dropdownCustom()); 088 } 089 090 @Override 091 public Image getDropDownIconWhite() { 092 return new Image(KSClientBundle.INSTANCE.dropdownWhite()); 093 } 094 095 @Override 096 public Image getLightBulbIcon() { 097 // TODO Auto-generated method stub 098 return null; 099 } 100 101 @Override 102 public Image getSearchIcon() { 103 return new Image(KSClientBundle.INSTANCE.rightMagnifierIcon()); 104 } 105 106 @Override 107 public Image getAnalysisIcon() { 108 return new Image(KSClientBundle.INSTANCE.analysisIcon()); 109 } 110 111 @Override 112 public Image getCommentIcon() { 113 return new Image(KSClientBundle.INSTANCE.commentIcon()); 114 } 115 116 @Override 117 public Image getDocumentIcon() { 118 return new Image(KSClientBundle.INSTANCE.documentIcon()); 119 } 120 121 @Override 122 public Image getPersonIcon() { 123 return new Image(KSClientBundle.INSTANCE.personIcon()); 124 } 125 126 @Override 127 public Image getSpacerIcon(){ 128 return new Image(KSClientBundle.INSTANCE.spacerIcon()); 129 } 130 131 @Override 132 public Image getApplicationIcon(){ 133 return new Image(KSClientBundle.INSTANCE.applicationIcon()); 134 } 135 136 @Override 137 public Image getBookIcon() { 138 return new Image(KSClientBundle.INSTANCE.bookIcon()); 139 } 140 141 @Override 142 public Image getNodeIcon() { 143 return new Image(KSClientBundle.INSTANCE.nodeIcon()); 144 } 145 146 @Override 147 public Image getPeopleIcon() { 148 return new Image(KSClientBundle.INSTANCE.peopleIcon()); 149 } 150 151 @Override 152 public Image getDisclosureClosedIcon() { 153 return new Image(KSClientBundle.INSTANCE.disclosureClosedIcon()); 154 } 155 156 @Override 157 public Image getDisclosureOpenedIcon() { 158 return new Image(KSClientBundle.INSTANCE.disclosureOpenedIcon()); 159 } 160 161 @Override 162 public Image getFooterImage() { 163 return new Image(KSClientBundle.INSTANCE.footerImage()); 164 } 165 166 public Image getRiceIcon() { 167 return new Image(KSClientBundle.INSTANCE.riceIcon()); 168 } 169 170 }