MCPcopy Create free account
hub / github.com/Card-Forge/forge / setText

Method setText

forge-gui-mobile/src/forge/toolbox/FTextField.java:94–101  ·  view source on GitHub ↗
(String text0)

Source from the content-addressed store, hash-verified

92 return text;
93 }
94 public void setText(String text0) {
95 if (text0 == null) {
96 text0 = ""; //don't allow setting null
97 }
98 text = text0;
99 selStart = 0;
100 selLength = 0;
101 }
102
103 protected void insertText(String text0) {
104 int insertLength = text0.length();

Callers 3

keyDownMethod · 0.95
endEditMethod · 0.95
FTextFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected