Packageorg.samchon.library.filetree.file
Classpublic class FTFolder
InheritanceFTFolder Inheritance EntityArray Inheritance mx.collections.ArrayCollection
Implements IFTFile

A folder.

A folder object has recursive and hierarchical relationship.

Default MXML Propertysource



Public Properties
 PropertyDefined By
  $label : String
[read-only]
FTFolder
  CHILD_TAG : String
[override] [read-only]
FTFolder
  key : *
[override] [read-only]
FTFolder
  LISTENER : String
[read-only]
FTFolder
  TAG : String
[override] [read-only]
FTFolder
Protected Properties
 PropertyDefined By
  comment : String
A comment of attached to the file for description.
FTFolder
  factory : FTFactory
A factory object for creating sub-files.
FTFolder
  name : String
Name of the file.
FTFolder
  parent : FTFolder
Parent folder containing the file.
FTFolder
  uid : int
Key, an unique if of the file.
FTFolder
Public Methods
 MethodDefined By
  
FTFolder(factory:FTFactory, parent:FTFolder)
Construct from factory and parent folder.
FTFolder
  
construct(xml:XML):void
[override]
FTFolder
  
[override]
FTFolder
 Inherited
erase(key:*):Boolean
EntityArray
  
getComment():String
FTFolder
  
getName():String
FTFolder
  
FTFolder
  
getPath():String
FTFolder
  
getUID():int
FTFolder
 Inherited
has(key:*):Boolean
EntityArray
  
For merging
FTFolder
  
toXML():XML
[override]
FTFolder
Protected Methods
 MethodDefined By
 Inherited
_at(index:int):IEntity
Access the element(Entity) by specified index.
EntityArray
 Inherited
_get(key:*):IEntity
Access the element(Entity) by specified identifier(key).
EntityArray
Property Detail
$labelproperty
$label:String  [read-only]


Implementation
    public function get $label():String
CHILD_TAGproperty 
CHILD_TAG:String  [read-only] [override]


Implementation
    public function get CHILD_TAG():String
commentproperty 
protected var comment:String

A comment of attached to the file for description.

factoryproperty 
protected var factory:FTFactory

A factory object for creating sub-files.

keyproperty 
key:*  [read-only] [override]


Implementation
    public function get key():*
LISTENERproperty 
LISTENER:String  [read-only]


Implementation
    public function get LISTENER():String
nameproperty 
protected var name:String

Name of the file.

parentproperty 
protected var parent:FTFolder

Parent folder containing the file.

TAGproperty 
TAG:String  [read-only] [override]


Implementation
    public function get TAG():String
uidproperty 
protected var uid:int

Key, an unique if of the file.

Constructor Detail
FTFolder()Constructor
public function FTFolder(factory:FTFactory, parent:FTFolder)

Construct from factory and parent folder.

Parameters
factory:FTFactory — Factory instance.
 
parent:FTFolder — A parent folder that this folder is belonged to.
Method Detail
construct()method
override public function construct(xml:XML):void

Parameters

xml:XML

createChild()method 
override public function createChild(xml:XML):IEntity

Parameters

xml:XML

Returns
IEntity
getComment()method 
public function getComment():String

Returns
String
getName()method 
public function getName():String

Returns
String
getParent()method 
public function getParent():FTFolder

Returns
FTFolder
getPath()method 
public function getPath():String

Returns
String
getUID()method 
public function getUID():int

Returns
int
toInvoke()method 
public function toInvoke():Invoke

For merging

Returns
Invoke
toXML()method 
override public function toXML():XML

Returns
XML