]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/report/html/HTMLTextElement.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.document.linking.ui / src / org / simantics / document / linking / report / html / HTMLTextElement.java
1 package org.simantics.document.linking.report.html;
2
3 import org.simantics.document.linking.report.Document.TextSize;
4
5 public class HTMLTextElement implements HTMLElement{
6         
7         String id;
8         TextSize currentTextSize = TextSize.SMALL;
9         public HTMLTextElement(String id) {
10                 this.id = id;
11         }
12         
13         public void setTextSize(TextSize size) {
14                 currentTextSize = size;
15         }
16         
17         
18         public TextSize getTextSize() {
19                 return currentTextSize;
20         }
21         
22         @Override
23         public String getId() {
24                 return id;
25         }
26
27 }