Метод DocsView.setIncludeFolders
Показывать папки в элементах просмотра. Не комбинируйте с setOwnedByMe
. Если установлен setIncludeFolders(true)
, setOwnedByMe
игнорируется.
Подпись
setIncludeFolders(included: boolean): DocsView;
Подробности
Необязательный | Нет |
---|
Финал | Нет |
---|
Защищено | Нет |
---|
Статический | Нет |
---|
Параметры
Имя | Тип | Необязательный | Описание |
---|
included | boolean | Нет | |
Возврат
DocsView
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-09 UTC.
[null,null,["Последнее обновление: 2025-01-09 UTC."],[[["The `setIncludeFolders` method controls the display of folders within the view items, and if set to `true`, it overrides the `setOwnedByMe` setting."],["By default, folders are not displayed in the view unless you explicitly enable them using this method."],["This method is a non-final, non-protected, and non-static member of the `DocsView` class and accepts a boolean parameter indicating whether to include folders."],["Utilizing `setIncludeFolders`, developers can manipulate the visibility of folders within the `DocsView` and ultimately refine the user's document browsing experience."]]],[]]