|
Class: HierarchicalFileItem (private in HierarchicalFileList
This class is only visible from within
HierarchicalFileList.
Object
|
+--AbstractHierarchicalItem
|
+--AbstractHierarchicalItemWithModel
|
+--HierarchicalItem
|
+--HierarchicalFileList::HierarchicalFileItem
|
+--HierarchicalFileList::Directory
|
+--HierarchicalFileList::File
- Package:
- stx:libwidg2
- Category:
- Views-Support
- Owner:
- HierarchicalFileList
instance creation
-
fileName: aFileName
-
-
forContentsItem: aContentsItem
-
-
new
-
instnces should not be created with new
accessing
-
baseName
-
-
contentsItem
-
-
contentsItem: aContentsItem
-
-
fileName
-
-
fileName: aFilename
-
fileName = aFilename ifFalse:[
-
fileSize
-
-
group
-
returns the printable group
-
icon
-
returns the icon
-
label
-
returns the printable name, the baseName
-
modificationTime
-
returns the absolute time of modification
-
owner
-
returns the printable owner
-
pathName
-
returns the pathName
-
permissions
-
returns the permissions as printable string
-
setExpanded: aBoolean
-
set expanded flag without any computation or notification
-
suffix
-
returns the suffix of the file
fetching
-
fetchIndicator
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
resetFetchIndicator
-
** This method must be redefined in concrete classes (subclassResponsibility) **
instance creation
-
fileName: aFilename fileInfo: aFileInfoOrNil
-
fileName := aFilename.
invalidate
-
invalidate
-
(comment from inherited method)
force redrawing of me
-
invalidateRepairNow
-
-
invalidateRepairNow: doRepair
-
invalidate the contents; dependent on the boolean
do repair immediately
-
matchBlockChanged
-
called if the matchBlock changed
printing
-
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
-
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
-
flushChildren
-
flush the children (because node is not visible)
Can be redefined by subclass
queries
-
isDirectory
-
-
isDirectoryItem
-
-
isInAccessible
-
answer true if the underlying file is not accessible - for example a directory
than we will draw a red cross through the item...
-
isInAccessible: aBoolean
-
-
isRemoteDirectory
-
-
isWritable
-
-
time
-
|