Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
BooleanDisplayLabel |
|
| 2.0;2 |
1 | package org.kuali.student.common.ui.client.widgets; | |
2 | ||
3 | import org.kuali.student.common.ui.client.application.Application; | |
4 | ||
5 | 0 | public class BooleanDisplayLabel extends KSLabel{ |
6 | @Override | |
7 | public void setText(String text) { | |
8 | 0 | if(text.equalsIgnoreCase("true")){ |
9 | 0 | text = Application.getApplicationContext().getMessage("booleanTrue"); |
10 | } | |
11 | else{ | |
12 | 0 | text = Application.getApplicationContext().getMessage("booleanFalse"); |
13 | } | |
14 | 0 | super.setText(text); |
15 | 0 | } |
16 | } |