ccs.cpc.impl
Class BrowserModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by ccs.cpc.impl.BrowserModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ListModel

public class BrowserModel
extends javax.swing.AbstractListModel

The model corresponding to a browser.

See Also:
Serialized Form

Field Summary
(package private)  int currentIndex
           
(package private)  ReaperManager reapers
           
(package private)  BrowserLogic sibling
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
BrowserModel(BrowserLogic bl, Model m)
           
 
Method Summary
(package private)  java.util.Comparator<? super VFile> getComparator()
           
(package private)  VFile[] getContents()
           
 java.lang.Object getElementAt(int idx)
           
 VFile getPwd()
           
 int getSize()
           
 VDevice getVDeviceAt(int idx)
           
 VFile getVFileAt(int idx)
           
 int indexOf(VFile vf)
           
 boolean isRecursableElement(int idx)
           
 boolean isVDList()
           
 VFile lastPwdFor(VDevice vd)
           
(package private)  void setContents(VFile pwd, VFile[] contents)
           
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reapers

ReaperManager reapers

sibling

BrowserLogic sibling

currentIndex

int currentIndex
Constructor Detail

BrowserModel

BrowserModel(BrowserLogic bl,
             Model m)
Method Detail

setContents

void setContents(VFile pwd,
                 VFile[] contents)

getContents

VFile[] getContents()

getComparator

java.util.Comparator<? super VFile> getComparator()

getPwd

public VFile getPwd()

getElementAt

public java.lang.Object getElementAt(int idx)

getVDeviceAt

public VDevice getVDeviceAt(int idx)

getVFileAt

public VFile getVFileAt(int idx)

indexOf

public int indexOf(VFile vf)

lastPwdFor

public VFile lastPwdFor(VDevice vd)

isRecursableElement

public boolean isRecursableElement(int idx)

getSize

public int getSize()

isVDList

public boolean isVDList()