ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
flashx.textLayout.conversion 

FormatDescriptor  - AS3

Packageflashx.textLayout.conversion
Classpublic class FormatDescriptor
InheritanceFormatDescriptor Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Contains information about a format.



Public Properties
 PropertyDefined By
  clipboardFormat : String
[read-only] Descriptor used when matching this format to the formats posted on the external clipboard.
FormatDescriptor
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  exporterClass : Class
[read-only] Returns the class used for converting to the format.
FormatDescriptor
  format : String
[read-only] Returns the data format used by the converter.
FormatDescriptor
  importerClass : Class
[read-only] Returns the class used for converting data from the format.
FormatDescriptor
Public Methods
 MethodDefined By
  
FormatDescriptor(format:String, importerClass:Class, exporterClass:Class, clipboardFormat:String)
Constructor.
FormatDescriptor
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

clipboardFormat

property
clipboardFormat:String  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Descriptor used when matching this format to the formats posted on the external clipboard. If the format supports importing, (it's importerClass is not null), it will be called when pasting from the clipboard, if the clipboard contents include data in this format. If the format supports exporting, it will be called when copying to the clipboard, and the output it creates will be posted to the clipboard with this clipboardFormat.



Implementation
    public function get clipboardFormat():String

Related API Elements

exporterClass

property 
exporterClass:Class  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Returns the class used for converting to the format.



Implementation
    public function get exporterClass():Class

format

property 
format:String  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Returns the data format used by the converter.



Implementation
    public function get format():String

importerClass

property 
importerClass:Class  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Returns the class used for converting data from the format.



Implementation
    public function get importerClass():Class
Constructor Detail

FormatDescriptor

()Constructor
public function FormatDescriptor(format:String, importerClass:Class, exporterClass:Class, clipboardFormat:String)

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Constructor.

Parameters
format:String
 
importerClass:Class
 
exporterClass:Class
 
clipboardFormat:String