eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractFileBrowser::DirectoryHistory':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: DirectoryHistory (private in AbstractFileBrowser

This class is only visible from within AbstractFileBrowser.

Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--OrderedCollection
            |
            +--List
               |
               +--AbstractFileBrowser::DirectoryHistory

Package:
stx:libtool
Category:
Interface-Tools-File
Owner:
AbstractFileBrowser

Class protocol:

defaults
o  defaultHistorySize

instance creation
o  new


Instance protocol:

accessing
o  historySize

o  historySize: aNumber

actions
o  addToHistory: aPath
not already in history

o  backForwardListAdd: aPath
a new path comes in remove forward paths

o  goBackward
return the first path of the backward list;
remove it from the back list and add it ti the forward list.

o  goForward
return the first path of the forward list;
remove it from the list.

o  resetForwardBackward

o  setPosition: aPosition for: aPath

initialization
o  initializeHistory

queries
o  canBackward

o  canForward

o  getBackCollection

o  getForwardCollection

o  getItemFor: aPath
self do:[:item| item path = aPath ifTrue:[^ item]].

o  getPositionFor: aPath

o  includesPath: aPath
self do:[:item| item path = aPath ifTrue:[^ true]].

o  nextBackwardItem
return the first path of the backward list

o  nextForwardItem
return the first path of the forward list


Private classes:

    DirectoryHistoryItem


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 24 Apr 2024 12:32:49 GMT