User Guide
The Shared folder contents 379
The Class folder
The Class folder contains the following utility functions:
classCheckbox.js Helps manipulate a checkbox control in your HTML extension.
FileClass.js Contains class that represents a file in the file system. The paths
are represented by URLs for cross-platform compatibility.
Methods include
toString(), getName(), getSimpleName(),
getExtension(), getPath(), setPath(), isAbsolute(),
getAbsolutePath(), getParent(), getAbsoluteParent(),
exists(), getAttributes(), canRead(), canWrite(), isFile(),
isFolder(), listFolder(), createFolder(), getContents(),
setContents(), copyTo(), and remove().
GridClass.js Contains class that manages
MM:TREECONTROL.
GridControlClass.js Older version of the GridControlClass in the Common folder.
See the GridControlClass.js file in the Shared/Common/Scripts
folder.
ImageButtonClass.js Older version of the
ImageButtonClass in the Common folder.
See the ImageButtonClass.js file in the Shared/Common/Scripts
folder.
ListControlClass.js Older version of the
ListControlClass in the Common folder.
See the Shared/Common/Scripts/ListControlClass.js file.
NameValuePairClass.js Creates and manages a list of name/value pairs. Names can
contain any character. Values can be blank, but cannot be set to
null, which is the same as deleting them.
PageControlClass.js Example of a page class to be used with the
TabControl class.
See
TabControl class.
PreferencesClass.js Contains an object and methods that contain all the preference
information for a command.
RadioGroupClass.js Older version of the
RadioGroupClass in the Common folder. See
the RadioGroupClass.js file in the Shared/Common/Scripts
folder.
TabControlClass.js Helps build an extension that has multiple tab views,
page.lastUnload()