Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Kommentare > WorkspaceComment > isMovable
Gibt zurück, ob der Kommentar verschiebbar ist oder nicht. Dabei wird berücksichtigt, ob der Arbeitsbereich schreibgeschützt ist.
Unterschrift:
isMovable(): boolean;
Gibt zurück:
boolean
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]