blockly > FieldCheckbox > configure_
Configurez le champ en fonction de la carte d'options donnée.
Signature :
protected configure_(config: FieldCheckboxConfig): void;
Paramètres
Paramètre |
Type |
Description |
config |
FieldCheckboxConfig |
Carte des options à partir desquelles configurer le champ. |
Renvoie :
vide
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/22 (UTC).
[null,null,["Dernière mise à jour le 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"]]