Modifier and Type | Field and Description |
---|---|
private String |
_code |
private I18nizableText |
_label |
Constructor and Description |
---|
Language(String code,
I18nizableText label)
Creates a language
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Get the language code
|
private String |
getIcon(String size) |
I18nizableText |
getLabel()
Get the language label
|
String |
getLargeIcon()
Get the large icon flag image
|
String |
getMediumIcon()
Get the medium icon flag image
|
String |
getSmallIcon()
Get the small icon flag image
|
private I18nizableText _label
public Language(String code, I18nizableText label)
code
- The code of the languagelabel
- The label of the languagepublic I18nizableText getLabel()
public String getSmallIcon()
public String getMediumIcon()
public String getLargeIcon()