Skip to content
Snippets Groups Projects
Commit 473c3828 authored by Leonard Kupper's avatar Leonard Kupper
Browse files

Add language to javadoc.

parent 7a6ddd91
No related branches found
No related tags found
1 merge request!37Bar chart update & according legend change
......@@ -22,7 +22,7 @@ public class Legend implements Renderable {
private int mTextureExampleHeightCells = 1;
/**
* Constructor. Creates a legend.
* Constructor. Creates a legend with default language (DE_BASISSCHRIFT).
* @param title The title of the legend.
*/
public Legend(final String title) {
......@@ -30,6 +30,11 @@ public class Legend implements Renderable {
setLanguage(BrailleLanguage.Language.DE_BASISSCHRIFT);
}
/**
* Constructor. Creates a legend with a defined language.
* @param title The title of the legend.
* @param language A {@link BrailleLanguage.Language}.
*/
public Legend(final String title, final BrailleLanguage.Language language) {
setTitle(title);
setLanguage(language);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment