Detailed Description

A list of items being transferred.

Inheritance diagram for PowerUI.DataTransferList:

Public Member Functions

void add (WebFile file)
 
void add (string format, string data)
 
void push (DataTransferItem node)
 Adds the given node to the list. More...
 
DataTransferItem item (int index)
 Gets a node at a particular index. More...
 
void clearText (string format)
 
void setText (string format, string data)
 
string getText (string format)
 
IEnumerator< DataTransferItemGetEnumerator ()
 

Package Functions

void Reset ()
 Rebuilds the values array. More...
 

Package Attributes

FileList files_
 
Dictionary< string,
TextTransferItem
text_
 
List< DataTransferItemvalues
 Combined list of values. Computed on demand. More...
 

Properties

List< string > types [get]
 
int length [get]
 The number of nodes in the list. More...
 
DataTransferItem this[int index] [get, set]
 Gets an element at the specified index. More...
 

Private Member Functions

string MapFormat (string format)
 Tidies up the given format, and e.g. converts 'text' to 'text/plain'. More...
 
IEnumerator IEnumerable. GetEnumerator ()
 

Member Function Documentation

void PowerUI.DataTransferList.add ( WebFile  file)
inline
void PowerUI.DataTransferList.add ( string  format,
string  data 
)
inline
void PowerUI.DataTransferList.clearText ( string  format)
inline
IEnumerator<DataTransferItem> PowerUI.DataTransferList.GetEnumerator ( )
inline
IEnumerator IEnumerable. PowerUI.DataTransferList.GetEnumerator ( )
inlineprivate
string PowerUI.DataTransferList.getText ( string  format)
inline
DataTransferItem PowerUI.DataTransferList.item ( int  index)
inline

Gets a node at a particular index.

string PowerUI.DataTransferList.MapFormat ( string  format)
inlineprivate

Tidies up the given format, and e.g. converts 'text' to 'text/plain'.

void PowerUI.DataTransferList.push ( DataTransferItem  node)
inline

Adds the given node to the list.

void PowerUI.DataTransferList.Reset ( )
inlinepackage

Rebuilds the values array.

void PowerUI.DataTransferList.setText ( string  format,
string  data 
)
inline

Member Data Documentation

FileList PowerUI.DataTransferList.files_
package
Dictionary<string,TextTransferItem> PowerUI.DataTransferList.text_
package
List<DataTransferItem> PowerUI.DataTransferList.values
package

Combined list of values. Computed on demand.

Property Documentation

int PowerUI.DataTransferList.length
get

The number of nodes in the list.

DataTransferItem PowerUI.DataTransferList.this[int index]
getset

Gets an element at the specified index.

List<string> PowerUI.DataTransferList.types
get