eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DropObject::File':

Home

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

Class: File (private in DropObject

This class is only visible from within DropObject.

Inheritance:

   Object
   |
   +--DropObject
      |
      +--DropObject::File
         |
         +--DropObject::FileInArchive

Package:
stx:libview2
Category:
Interface-DragAndDrop
Owner:
DropObject

Description:


I represent a file being dragged (from a file browser)


Class protocol:

defaults
o  displayObjectName
return the name of a bitmap image file, which is used
during a drag.


Instance protocol:

accessing
o  fetchFileInfo

o  theObject: aPathname
info := f info.

queries
o  asFilename

o  exists
returns true if the file or directory exists

o  isDirectory
checks whether file is a directory

o  isHtmlFile
checks whether file is an html file

usage example(s):

isHtmlFile := self exists 

o  isImageFile
returns true if file is an image file

o  isPrintable
return true if file contains only printable characters (in the first 300 bytes)

o  isRegularFile
checks whether file is a directory

testing
o  isFileObject
return true, if the dropObject represents a file- or directory



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 07 Oct 2022 18:43:06 GMT