Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
блочно > комментарии > WorkspaceComment > setMovable
Устанавливает, является ли комментарий подвижным или нет.
Подпись:
setMovable(movable: boolean): void;
Параметры
Параметр | Тип | Описание |
---|
подвижный | логическое значение | |
Возврат:
пустота
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-24 UTC."],[[["The `comments.WorkspaceComment.setMovable()` method determines if a workspace comment can be moved or not by the user."],["This method accepts a single boolean parameter, `movable`, indicating whether the comment should be movable (true) or not (false)."],["Calling `setMovable()` with the desired boolean value modifies the movability of the workspace comment."]]],["The `setMovable()` method, part of the `WorkspaceComment` class, determines if a comment can be moved. It accepts a single boolean parameter, `movable`. If `movable` is true, the comment can be moved; otherwise, it cannot. The method's return type is void, indicating it doesn't produce any output value but modifies the comment's behavior directly.\n"]]