UTJML

edu.utep.cs.utjml.canica.filebrowser
Class FileBrowserController

java.lang.Object
  extended by edu.utep.cs.utjml.canica.filebrowser.FileBrowserController
All Implemented Interfaces:
FileBrowserable

public class FileBrowserController
extends Object
implements FileBrowserable

This class implements the services to the Filebrowserable interface. Its main functionalitly is to control the internal classes in the File Browser System and integrate the objects (directory browser, document selector, and file statistics) to the FileBrowserView object.

Author:
Angelica B. Perez, Jun 2, 2006

Constructor Summary
FileBrowserController(Mainable canica)
          Constructor, initialize its data members
 
Method Summary
 DirTreeable getDirTreeable()
          It returns the interface to acces the Directory tree
 DocumentSelectorable getDocumentSelectorable()
          It returns the interface to access the Document Selector
 JPanel getFileBrowserView()
          It returns a panel object containing the file browser view, which three components are: Directory browser, document selector and file statistics.
 FileStatisticsable getFileStatisticsable()
          It returns the interface to access the File Statistics
 void updateDirBrowserPopupActions(File file)
          Enables or Disables the popup actions to Dir Browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileBrowserController

public FileBrowserController(Mainable canica)
Constructor, initialize its data members

Method Detail

getFileBrowserView

public JPanel getFileBrowserView()
Description copied from interface: FileBrowserable
It returns a panel object containing the file browser view, which three components are: Directory browser, document selector and file statistics.

Specified by:
getFileBrowserView in interface FileBrowserable
Returns:
File Browser view

getDirTreeable

public DirTreeable getDirTreeable()
Description copied from interface: FileBrowserable
It returns the interface to acces the Directory tree

Specified by:
getDirTreeable in interface FileBrowserable

getDocumentSelectorable

public DocumentSelectorable getDocumentSelectorable()
Description copied from interface: FileBrowserable
It returns the interface to access the Document Selector

Specified by:
getDocumentSelectorable in interface FileBrowserable

getFileStatisticsable

public FileStatisticsable getFileStatisticsable()
Description copied from interface: FileBrowserable
It returns the interface to access the File Statistics

Specified by:
getFileStatisticsable in interface FileBrowserable

updateDirBrowserPopupActions

public void updateDirBrowserPopupActions(File file)
Enables or Disables the popup actions to Dir Browser.


UTJML

UTJML is Copyright (C) 2004-2006 by University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the JML project.