Annonce : Tous les projets non commerciaux enregistrés pour utiliser Earth Engine avant le 15 avril 2025 doivent vérifier leur éligibilité non commerciale pour conserver leur accès à Earth Engine.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Définit la mise en page du panneau.
Renvoie ce panneau.
Utilisation
Renvoie
Panel.setLayout(layout)
ui.Panel
Argument
Type
Détails
ceci : ui.panel
ui.Panel
Instance ui.Panel.
layout
ui.Panel.Layout
La nouvelle mise en page.
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 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/26 (UTC)."],[[["The `setLayout` method is used to define the arrangement of elements within a panel."],["This method, when called, returns the `ui.Panel` instance itself, allowing for method chaining."],["You can specify the new layout using a `ui.Panel.Layout` object passed as an argument to the `setLayout` method."]]],["`Panel.setLayout(layout)` modifies the layout of a `ui.Panel` instance. The method takes a `ui.Panel.Layout` object as an argument, which dictates the new arrangement of the panel's contents. This method returns the modified `ui.Panel` instance itself, allowing for method chaining. The `ui.panel` instance is a required argument.\n"]]