NpTextArea: Remove unused constructor
Change-Id: I359dc847872616eda465a12c4583f0afdf3bbb8a
This commit is contained in:

committed by
Hugo Arès

parent
697b4bcd74
commit
882aeb8191
@@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
package com.google.gwtexpui.globalkey.client;
|
package com.google.gwtexpui.globalkey.client;
|
||||||
|
|
||||||
import com.google.gwt.dom.client.Element;
|
|
||||||
import com.google.gwt.user.client.ui.TextArea;
|
import com.google.gwt.user.client.ui.TextArea;
|
||||||
|
|
||||||
public class NpTextArea extends TextArea {
|
public class NpTextArea extends TextArea {
|
||||||
@@ -22,11 +21,6 @@ public class NpTextArea extends TextArea {
|
|||||||
addKeyPressHandler(GlobalKey.STOP_PROPAGATION);
|
addKeyPressHandler(GlobalKey.STOP_PROPAGATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
public NpTextArea(final Element element) {
|
|
||||||
super(element);
|
|
||||||
addKeyPressHandler(GlobalKey.STOP_PROPAGATION);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSpellCheck(boolean spell) {
|
public void setSpellCheck(boolean spell) {
|
||||||
getElement().setPropertyBoolean("spellcheck", spell);
|
getElement().setPropertyBoolean("spellcheck", spell);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user