MCPcopy Create free account
hub / github.com/esengine/esengine / getTextField

Method getTextField

packages/fairygui/src/widgets/GButton.ts:322–329  ·  view source on GitHub ↗

* Get text field from title object * 从标题对象获取文本字段

()

Source from the content-addressed store, hash-verified

320 * 从标题对象获取文本字段
321 */
322 public getTextField(): GTextField | null {
323 if (this._titleObject instanceof GTextField) {
324 return this._titleObject;
325 } else if (this._titleObject instanceof GButton) {
326 return this._titleObject.getTextField();
327 }
328 return null;
329 }
330
331 /**
332 * Fire a click event programmatically

Callers 4

titleColorMethod · 0.95
titleFontSizeMethod · 0.95
getPropMethod · 0.95
setPropMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected