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
(comment from inherited method)
create a new, empty OrderedCollection


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

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 02:45:03 GMT