MCPcopy Index your code
hub / github.com/benfry/processing4 / useInputMethod

Method useInputMethod

app/src/processing/app/Language.java:273–278  ·  view source on GitHub ↗

Is this a CJK language where Input Method support is suggested/required? @return true if the user is running in Japanese, Korean, or Chinese

()

Source from the content-addressed store, hash-verified

271 * @return true if the user is running in Japanese, Korean, or Chinese
272 */
273 static public boolean useInputMethod() {
274 final String language = getLanguage();
275 return (language.equals("ja") ||
276 language.equals("ko") ||
277 language.equals("zh"));
278 }
279
280
281 @SuppressWarnings("unused")

Callers 1

initMethod · 0.95

Calls 2

getLanguageMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected