Class FileWrapperListModel

    • Field Detail

      • m_ShowParentDirs

        protected boolean m_ShowParentDirs
        whether to show parent dirs.
    • Constructor Detail

      • FileWrapperListModel

        public FileWrapperListModel​(List<FileObject> files,
                                    boolean showParentDirs)
        Initializes the model.
        Parameters:
        files - the files to display
        showParentDirs - true if to show parent dirs
    • Method Detail

      • getSize

        public int getSize()
        Returns the number of files/elements.
        Returns:
        the number of elements
      • getElementAt

        public String getElementAt​(int index)
        Returns the element at the specified position.
        Parameters:
        index - the index
        Returns:
        the element