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  setExpanded: aBoolean
set expanded flag without any computation or notification

o  suffix
returns the suffix of the file

fetching
o  fetchIndicator

** This method must be redefined in concrete classes (subclassResponsibility) **

o  resetFetchIndicator

** This method must be redefined in concrete classes (subclassResponsibility) **

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

invalidate
o  invalidate
(comment from inherited method)
force redrawing of me

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
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.

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  isInAccessible: aBoolean

o  isRemoteDirectory

o  isWritable

o  time



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 23 Nov 2024 12:02:06 GMT