edu.washington.cs.supple.net.browser
Class DirectoryBean

java.lang.Object
  extended byedu.washington.cs.supple.rep.SuppleBeanImpl
      extended byedu.washington.cs.supple.net.browser.DirectoryBean
All Implemented Interfaces:
SuppleBean

public class DirectoryBean
extends SuppleBeanImpl

Beanlike interface to a NetDirectory.

Author:
dbc1

Field Summary
 
Fields inherited from class edu.washington.cs.supple.rep.SuppleBeanImpl
pcs
 
Constructor Summary
DirectoryBean()
           
 
Method Summary
 void back()
          Pop one up the stack.
 DirectoryEntry getCurrentDirectory()
          Get the current directory.
 java.util.Vector getEntries()
           
 java.lang.String getSearchStatus()
           
 DirectoryEntry getSelectedEntry()
          Get the current entry.
 boolean isNotAtRoot()
           
 void open()
          Open the currently selected Entry
 void setCurrentDirectory(DirectoryEntry newDir)
          Sets the current directory and starts search for entries in separate thread.
 void setSelectedEntry(DirectoryEntry newEntry)
          Sets the current entry.
 
Methods inherited from class edu.washington.cs.supple.rep.SuppleBeanImpl
addPropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryBean

public DirectoryBean()
Method Detail

open

public void open()
Open the currently selected Entry


back

public void back()
Pop one up the stack.


isNotAtRoot

public boolean isNotAtRoot()
Returns:
whether or not there are any parent directories.

getCurrentDirectory

public DirectoryEntry getCurrentDirectory()
Get the current directory.


setCurrentDirectory

public void setCurrentDirectory(DirectoryEntry newDir)
Sets the current directory and starts search for entries in separate thread.


getSelectedEntry

public DirectoryEntry getSelectedEntry()
Get the current entry.


setSelectedEntry

public void setSelectedEntry(DirectoryEntry newEntry)
Sets the current entry.


getEntries

public java.util.Vector getEntries()
Returns:
the list of directory entries in the current directory.

getSearchStatus

public java.lang.String getSearchStatus()
Returns:
search status