View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.student.common.ui.theme.standard.client;
17  
18  import org.kuali.student.common.ui.client.theme.CommonImages;
19  
20  import com.google.gwt.user.client.ui.Image;
21  
22  public class CommonImagesImpl implements CommonImages{
23  	@Override
24  	public Image getAsterisk() {
25  		return new Image(KSClientBundle.INSTANCE.asterisk());
26  	}
27  
28  	@Override
29  	public Image getHelpIcon() {
30  		return new Image(KSClientBundle.INSTANCE.helpIcon());
31  	}
32  
33  	@Override
34  	public Image getDeleteCommentIcon() {
35  		return new Image(KSClientBundle.INSTANCE.deleteComment());
36  	}
37  
38  	@Override
39  	public Image getEditCommentIcon() {
40  		return new Image(KSClientBundle.INSTANCE.editComment());
41  	}
42  
43  	@Override
44  	public Image getErrorIcon() {
45  		return new Image(KSClientBundle.INSTANCE.errorIcon());
46  	}
47  
48  	@Override
49  	public Image getOkIcon() {
50  		return new Image(KSClientBundle.INSTANCE.okIcon());
51  	}
52  
53  
54  	@Override
55  	public Image getWarningIcon() {
56  		return new Image(KSClientBundle.INSTANCE.warningIcon());
57  	}
58  	
59  	
60      @Override
61  	public Image getWarningDiamondIcon() {
62  		return new Image(KSClientBundle.INSTANCE.warningDiamondIcon());
63  	}
64  
65  	@Override
66  	public Image getProgressSpinner() {
67  		return new Image(KSClientBundle.INSTANCE.spinner());
68  	}
69  
70  	@Override
71  	public Image getSpacer() {
72  		return new Image(KSClientBundle.INSTANCE.spacer());
73  	}
74  	
75  	@Override
76  	public Image getCurriculumManagementImage() {
77  		return new Image(KSClientBundle.INSTANCE.curriculumManagementImage());
78  	}
79  
80  	@Override
81  	public Image getDropDownIconBlack() {
82  		return new Image(KSClientBundle.INSTANCE.dropdownBlack());
83  	}
84  
85  	@Override
86  	public Image getDropDownIconCustom() {
87  		return new Image(KSClientBundle.INSTANCE.dropdownCustom());
88  	}
89  
90  	@Override
91  	public Image getDropDownIconWhite() {
92  		return new Image(KSClientBundle.INSTANCE.dropdownWhite());
93  	}
94  
95  	@Override
96  	public Image getLightBulbIcon() {
97  		// TODO Auto-generated method stub
98  		return null;
99  	}
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 }