eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HierarchicalFileList::HierarchicalFileItem':

Home

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

Class: HierarchicalFileItem (private in HierarchicalFileList

This class is only visible from within HierarchicalFileList.

Inheritance:

   Object
   |
   +--AbstractHierarchicalItem
      |
      +--AbstractHierarchicalItemWithModel
         |
         +--HierarchicalItem
            |
            +--HierarchicalFileList::HierarchicalFileItem
               |
               +--HierarchicalFileList::Directory
               |
               +--HierarchicalFileList::File

Package:
stx:libwidg2
Category:
Views-Support
Owner:
HierarchicalFileList

Class protocol:

instance creation
o  fileName: aFileName

o  forContentsItem: aContentsItem

o  new
instnces should not be created with new


Instance protocol:

accessing
o  baseName

o  contentsItem

o  contentsItem: aContentsItem

o  fileName

o  fileName: aFilename
fileName = aFilename ifFalse:[

o  fileSize

o  group
returns the printable group

o  icon
returns the icon

o  label
returns the printable name, the baseName

o  modificationTime
returns the absolute time of modification

o  owner
returns the printable owner

o  pathName
returns the pathName

o  permissions
returns the permissions as printable string

o  suffix
returns the suffix of the file

change & update
o  changed: aParameter
the item changed; send a change notification

fetching
o  fetchIndicator

o  resetFetchIndicator

instance creation
o  fileName: aFilename fileInfo: aFileInfoOrNil
fileName := aFilename.

invalidate
o  invalidate

o  invalidateRepairNow

o  invalidateRepairNow: doRepair
invalidate the contents; dependent on the boolean
do repair immediately

o  matchBlockChanged
called if the matchBlock changed

printing
o  printOn: aStream

protocol
o  displayIcon: anIcon atX: x y: y on: aGC
called to draw the icon - if the item is inaccessible
a red cross is drawn over thge item

o  flushChildren
flush the children (because node is not visible)
Can be redefined by subclass

queries
o  isDirectory

o  isDirectoryItem

o  isInAccessible
answer true if the underlying file is not accessible - for example a directory
than we will draw a red cross through the item...

o  isRemoteDirectory

o  isWritable

o  time



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 27 Nov 2022 09:26:45 GMT