Module java.desktop

Class OpenFilesEvent

    • Method Detail

      • getSearchTerm

        public String getSearchTerm()
        Gets the search term. The platform may optionally provide the search term that was used to find the files. This is for example the case on Mac OS X, when the files were opened using the Spotlight search menu or a Finder search window.

        This is useful for highlighting the search term in the documents when they are opened.

        Returns:
        the search term used to find the files

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部