blockly > FieldCheckbox > configure_
Configura il campo in base alla mappa di opzioni fornita.
Firma:
protected configure_(config: FieldCheckboxConfig): void;
Parametri
Parametro |
Tipo |
Descrizione |
config |
FieldCheckboxConfig |
Una mappa delle opzioni su cui configurare il campo. |
Resi:
null
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-22 UTC.
[null,null,["Ultimo aggiornamento 2024-08-22 UTC."],[[["The `FieldCheckbox.configure_()` method is used to set up a checkbox field within Blockly, adjusting its properties based on provided configuration options."],["It takes a `FieldCheckboxConfig` object as input, which carries settings like the checkbox's initial state or its visual representation."],["The method doesn't return any specific value; instead, it directly modifies the checkbox field to match the desired configuration."]]],["The `configure_()` method of the `FieldCheckbox` class configures a checkbox field using a provided map of options. It accepts a `FieldCheckboxConfig` object as input, which contains the options for configuration. This method, denoted as `protected`, doesn't return any value (void). It is used to set up the `FieldCheckbox` based on the provided configuration.\n"]]