package androidemu.widget;

import androidemu.view.View;

import com.google.gwt.user.client.Element;

public class TextView extends View {

	public TextView(Element element) {
		super(element);
	}

	public Object getText() {
		return element.getInnerText();
	}

	public void setText(String string) {
		element.setInnerHTML(string.replace("\n", "<br/>"));
	}

}

@@ -77,12 +77,11 @@
 gwt.
-user
+dom
 .cli
@@ -202,14 +202,14 @@
 lic 
-Object
+String
  get

work with strings