|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.jtheque.core.managers.view.impl.frame.abstraction.SwingDialogView
org.jtheque.movies.views.impl.frames.SwingFilthyBuildedDialogView<org.jtheque.core.managers.view.able.components.IModel>
org.jtheque.movies.views.impl.frames.AbstractParserView
org.jtheque.movies.views.impl.frames.ImportFolderView
public final class ImportFolderView
View for the auto-import function.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Nested classes/interfaces inherited from interface org.jtheque.movies.views.able.IImportFolderView |
|---|
IImportFolderView.Phase |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ImportFolderView(Collection<FileParser> parsers)
Construct a new ImportFolderView. |
|
| Method Summary | |
|---|---|
protected void |
buildView(org.jtheque.core.utils.ui.PanelBuilder builder)
Build the view. |
Collection<File> |
getFiles()
Return the files of the view. |
String |
getFolderPath()
Return the path to the specified folder. |
protected void |
initView()
Init the view. |
void |
removeSelectedFile()
Remove the selected file from the list. |
void |
setFiles(Collection<File> files)
Set the files of the view. |
protected void |
validate(Collection<org.jtheque.core.managers.error.JThequeError> errors)
|
boolean |
validateContent(IImportFolderView.Phase phase)
Validate the content of the view at the specified phase. |
| Methods inherited from class org.jtheque.movies.views.impl.frames.AbstractParserView |
|---|
getSelectedParsers |
| Methods inherited from class org.jtheque.movies.views.impl.frames.SwingFilthyBuildedDialogView |
|---|
build, getModel |
| Methods inherited from class org.jtheque.core.managers.view.impl.frame.abstraction.SwingDialogView |
|---|
closeDown, display, getBean, getCloseAction, getDefaultWindowIcon, getGlassPane, getImpl, getManager, getMessage, getMessage, refresh, refreshText, sendMessage, setModel, setTitleKey, setWaitFigure, startWait, stopWait, toFirstPlan, validateContent |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jtheque.movies.views.able.IImportFolderView |
|---|
getSelectedParsers, startWait, stopWait |
| 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 |
| Methods inherited from interface org.jtheque.core.managers.view.able.IWindowView |
|---|
getHeight, getWidth |
| Constructor Detail |
|---|
public ImportFolderView(Collection<FileParser> parsers)
parsers - A List of parsers used to extract the categories from the file name.| Method Detail |
|---|
protected void initView()
SwingFilthyBuildedDialogView
initView in class SwingFilthyBuildedDialogView<org.jtheque.core.managers.view.able.components.IModel>protected void buildView(org.jtheque.core.utils.ui.PanelBuilder builder)
SwingFilthyBuildedDialogView
buildView in class SwingFilthyBuildedDialogView<org.jtheque.core.managers.view.able.components.IModel>builder - The builder to use to build the content pane.public String getFolderPath()
IImportFolderView
getFolderPath in interface IImportFolderViewpublic void removeSelectedFile()
IImportFolderView
removeSelectedFile in interface IImportFolderViewpublic void setFiles(Collection<File> files)
IImportFolderView
setFiles in interface IImportFolderViewfiles - The files to display in the view.public Collection<File> getFiles()
IImportFolderView
getFiles in interface IImportFolderViewprotected void validate(Collection<org.jtheque.core.managers.error.JThequeError> errors)
validate in class SwingFilthyBuildedDialogView<org.jtheque.core.managers.view.able.components.IModel>public boolean validateContent(IImportFolderView.Phase phase)
IImportFolderView
validateContent in interface IImportFolderViewphase - The phase to validate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||