]> gerrit.simantics Code Review - simantics/platform.git/blob - HTMLTextElement.java
e9f59cb2d42d4dd122679fc2f258b282afd2f979
[simantics/platform.git] / 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 }