|
Class: DirectoryContentsItem (private in DirectoryContentsBrowser
This class is only visible from within
DirectoryContentsBrowser.
Object
|
+--DirectoryContentsBrowser::DirectoryContentsItem
- Package:
- stx:libtool
- Category:
- Interface-Tools-File
- Owner:
- DirectoryContentsBrowser
- Author:
- cg
documentation to be added.
[instance variables:]
[class variables:]
instance creation
-
fileName: aFilename
-
DirectoryContentsItem fileName:'..'
-
forInfoItem: anItem
-
accessing
-
fileInfo: something
-
-
fileName
-
-
fileName: aFilename
-
set fileName
-
fileType
-
returns the type of the file
-
fileType: aType
-
-
icon
-
answer the icon displayed in the table widget; if the icon is unspecified,
and the fileInfo is set a default icon is returned otherwise nil
-
icon: anIcon
-
-
iconKey
-
-
iconOrNil
-
answer the icon or nil if unspecifed
-
isDirectory
-
-
isSymbolicLink
-
-
lastButOneSuffix
-
returns the suffix of the file
-
lastSuffix
-
returns the suffix of the file
-
linkTargetIsDirectory
-
-
mimeType
-
-
preview
-
-
preview: anImage
-
-
smoothPreview
-
-
smoothPreview: anImage
-
-
suffix
-
returns the suffix of the file
-
suffixes
-
-
type
-
returns the type of the file
actions
-
resetImageFile
-
if the image preview extent is changed the icon will be cleared
to force the update task to reload the image
-
resetItem
-
don't know what someone else is doing with the file - read all item properties new
change queries
-
hasBeenModified
-
check if item modification time has changed
comparing
-
= anItem
-
Transcript showCR:(anItem species == self species).
-
hash
-
presentation
-
baseName
-
returns the baseName of the file
-
baseNameWithOutSuffix
-
returns the baseName of the file
-
date
-
returns the modTimeString
-
fileInfoString
-
get stat info on selected file - return a string which can be
shown in a box
-
fileSize
-
returns the fileSize
-
group
-
returns the printable group
-
inodeNumber
-
returns the inode number
-
modificationTime
-
returns the absolute time of modification
-
owner
-
returns the printable owner
-
permissions
-
returns the permissions as printable string
-
sizeInBytesString
-
leftPaddedTo:8.
-
sizeInKiloBytesString
-
-
sizeString
-
returns the size of the file
-
timeAndDate
-
returns the time- and date string
printing
-
printOn: aStream
-
private
-
getFileInfo
-
do not access, to avoid automount
queries
-
beRemoteDirectory
-
-
exists
-
-
hasMimeType
-
-
isRemoteDirectory
-
-
mimeTypeForContents
-
set mimeType to mimeType of contents if a better mimeType is found
|