UTJML

edu.utep.cs.utjml.canica.filebrowser
Interface DirTreeable


public interface DirTreeable

This interface shall provide the services to get or set data to the Directory Browser.

Author:
Angelica B. Perez, Jun 2, 2006

Method Summary
 String getAbsoluteFileNameSelected()
          It returns the absolute file name, or file object currently selected in the directory browser.
 DropTarget getDropTarget()
          Returns a target item where the file has been dropped
 String getFileNameSelected()
          It returns the file name, or file object currently selected in the directory browser.
 void refreshSelected()
          Refresh the last selected item.
 void refreshSelectedParent()
          Refresh the last selected item by re-exploring its parent.
 void setRoot(File root)
          It sets the directory root that will be used as the main path to the directory browser.
 

Method Detail

getDropTarget

DropTarget getDropTarget()
Returns a target item where the file has been dropped


refreshSelectedParent

void refreshSelectedParent()
Refresh the last selected item by re-exploring its parent.


refreshSelected

void refreshSelected()
Refresh the last selected item.


getAbsoluteFileNameSelected

String getAbsoluteFileNameSelected()
It returns the absolute file name, or file object currently selected in the directory browser.


getFileNameSelected

String getFileNameSelected()
It returns the file name, or file object currently selected in the directory browser.


setRoot

void setRoot(File root)
It sets the directory root that will be used as the main path to the directory 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.