blockly > FieldCheckbox > getDisplayText_
FieldCheckbox.getDisplayText_() method
Signature:
getDisplayText_(): string;
Returns:
string
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["This method retrieves the display text for a checkbox field, which is either 'TRUE' or 'FALSE' depending on the checked state."],["It's a method belonging to the `FieldCheckbox` class within the `blockly` library."],["The method returns a string representing the display text of the checkbox."]]],["The `getDisplayText_()` method, part of the `FieldCheckbox` class, is designed to return a string value. This method's core function is encapsulated in its signature: `getDisplayText_(): string;`, indicating it takes no input parameters. The method's output is explicitly defined as a string, per the \"Returns: string\" specification. Essentially, it provides a textual representation, the nature of which is not detailed in the provided context.\n"]]