Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
blockly > commenti > WorkspaceComment > isMovable
Restituisce se il commento è spostabile o meno, rispettando se l'area di lavoro è di sola lettura.
Firma:
isMovable(): boolean;
Resi:
booleano
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 2025-07-25 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["This method, `isMovable()`, determines if a WorkspaceComment can be moved."],["It considers both the comment's individual movability setting and the read-only status of the workspace it's in."],["The method returns `true` if the comment is movable and the workspace is not read-only, otherwise `false`."]]],["The `isMovable()` method, part of the `WorkspaceComment` class within the `comments` namespace, determines if a comment can be moved. It checks if the workspace is read-only and returns a boolean value accordingly. If the comment is movable and the workspace is not read-only, the method returns `true`; otherwise, it returns `false`. The method's output is a boolean indicating the comment's movability status.\n"]]