|
Class: File (private in DropObject
This class is only visible from within
DropObject.
Object
|
+--DropObject
|
+--DropObject::File
|
+--DropObject::FileInArchive
- Package:
- stx:libview2
- Category:
- Interface-DragAndDrop
- Owner:
- DropObject
I represent a file being dragged (from a file browser)
image specs
-
displayImage
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self displayImage inspect
ImageEditor openOnClass:self andSelector:#displayImage
Icon flushCachedIcons
|
accessing
-
fetchFileInfo
-
-
theObject: aPathname
-
info := f info.
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.
queries
-
asFilename
-
-
exists
-
returns true if the file or directory exists
-
isDirectory
-
checks whether file is a directory
-
isHtmlFile
-
checks whether file is an html file
Usage example(s):
isHtmlFile := self exists
|
-
isImageFile
-
returns true if file is an image file
-
isPrintable
-
return true if file contains only printable characters (in the first 300 bytes)
-
isRegularFile
-
checks whether file is a directory
testing
-
isFileObject
-
return true, if the dropObject represents a file- or directory
|