org.jtheque.movies.views.able
Interface IImportFolderView

All Superinterfaces:
org.jtheque.core.managers.view.able.IView, org.jtheque.core.managers.view.ViewComponent
All Known Implementing Classes:
ImportFolderView

public interface IImportFolderView
extends org.jtheque.core.managers.view.able.IView

A view specification in which we can import movies from a folder.

Author:
Baptiste Wicht

Nested Class Summary
static class IImportFolderView.Phase
          The Phase.
 
Method Summary
 Collection<File> getFiles()
          Return the files of the view.
 String getFolderPath()
          Return the path to the specified folder.
 Collection<FileParser> getSelectedParsers()
          Return all the selected file parser.
 void removeSelectedFile()
          Remove the selected file from the list.
 void setFiles(Collection<File> files)
          Set the files of the view.
 void startWait()
          Start the wait animation.
 void stopWait()
          Stop the wait animation.
 boolean validateContent(IImportFolderView.Phase phase)
          Validate the content of the view at the specified phase.
 
Methods inherited from interface org.jtheque.core.managers.view.able.IView
closeDown, display, getModel, isEnabled, refresh, sendMessage, setEnabled, toFirstPlan, validateContent
 
Methods inherited from interface org.jtheque.core.managers.view.ViewComponent
getImpl
 

Method Detail

getFolderPath

String getFolderPath()
Return the path to the specified folder.

Returns:
The path to the specified folder.

removeSelectedFile

void removeSelectedFile()
Remove the selected file from the list.


validateContent

boolean validateContent(IImportFolderView.Phase phase)
Validate the content of the view at the specified phase.

Parameters:
phase - The phase to validate.
Returns:
true if the view is valid else false.

stopWait

void stopWait()
Stop the wait animation.


startWait

void startWait()
Start the wait animation.


setFiles

void setFiles(Collection<File> files)
Set the files of the view.

Parameters:
files - The files to display in the view.

getFiles

Collection<File> getFiles()
Return the files of the view.

Returns:
The files in the view.

getSelectedParsers

Collection<FileParser> getSelectedParsers()
Return all the selected file parser.

Returns:
A Collection containing all the file parser.


Copyright © 2010 JTheque. All Rights Reserved.