Class View

An abstract class for all views.

Signature

exportabstractclassView

Details

Final No

Methods

Name Description
getId() Returns the ViewId of the view.
(削除) getLabel() (削除ここまで) (Deprecated)
(削除) setLabel(label) (削除ここまで) (Deprecated)
setMimeTypes(mimeTypes) Sets the MIME types included in the view. Use commas to separate MIME types if more than one is required. If you don't set MIME types, files of all MIME types are displayed in the view.
setQuery(query) For views involving searches, prepopulate the search query with these terms.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月20日 UTC.