The X Toolkit API

X.file

/**
* Create a container for a files path mapping.
*
* @param {?string} path The file path for the file.
* @constructor
* @extends X.base
*/
var f = new X.file();
/**
* The className of this class.
*
* @type {string}
* @protected
*/
f._classname = $_CLASSNAME;
/**
* The 'dirty' flag of this object.
*
* @type {boolean}
* @protected
*/
f._dirty = $_DIRTY;
/**
* The uniqueId of this instance. Each class instance in XTK has a uniqueId.
*
* @type {number}
* @protected
*/
f._id = $_ID;
/**
* The file path.
*
* @type {?string}
* @protected
*/
f._path = $_PATH;
/**
* Get the className of this object.
*
* @return {string} The className of this object.
* @public
*/
var _classname = f.classname;
/**
* Get the id of this instance.
*
* @return {string} The className of this object.
* @public
*/
var _id = f.id;


CONSTRUCTORS
X.file

PROPERTIES
_classname
_dirty
_id
_path

GETTERS/SETTERS
classname
id

FUNCTIONS

STATIC



SOURCECODE