| A | |
| Activate, SearchPanel | |
| C | |
| cleanupFile | |
| CloseResultsWindow, SearchPanel | |
| D | |
| DOMPopupSearchResults, SearchPanel | |
| DOMPopupSearchResultsWindow, SearchPanel | |
| DOMSearchField, SearchPanel | |
| DOMSearchPanel, SearchPanel | |
| DOMSearchType, SearchPanel | |
| doUpload | |
| F | |
| fadeInPanels | |
| H | |
| handleHTTPFault | |
| headRelEvt | |
| I | |
| InactivateAfterTimeout, SearchPanel | |
| init | |
| O | |
| OnSearchFieldChange, SearchPanel | |
| OnSearchFieldFocus, SearchPanel | |
| OnSearchTypeChange, SearchPanel | |
| OnSearchTypeFocus, SearchPanel | |
| P | |
| preInit | |
| progressToNextFile | |
| R | |
| removeFileHandler | |
| removeFiles | |
| requestToken | |
| requestTokenHandler | |
| S | |
| Search | |
| styleInit | |
| styleUpdatedHandler | |
| T | |
| Toggle, SearchResults | |
| U | |
| uploadCompleteHandler | |
| UploadFile, UploadFile | |
| uploadFiles | |
| uploadHTTPStatusHandler | |
| uploadIoErrorHandler | |
| uploadOpenHandler | |
| uploadSelectHandler |
Activates or deactivates the search panel, resetting things to their default values if necessary.
this.Activate = function( isActive, ignoreDeactivateDelay )
Removes the event listeners.
private function cleanupFile( file: FileReference ):void
Closes the results window.
this.CloseResultsWindow = function()
this.DOMPopupSearchResults = function()
this.DOMPopupSearchResultsWindow = function()
this.DOMSearchField = function()
this.DOMSearchPanel = function()
this.DOMSearchType = function()
Adds event listeners to the local file, formats the variables to be passed to the upload, and initiates the file upload.
private function doUpload( data: compu.UploadFile ):void
Fades in the main panel and its children.
private function fadeInPanels():void
Handle faults in the event of HTTP Service failure.
private function handleHTTPFault( error: FaultEvent ):void
Handles a click on the header of the file list.
private function headRelEvt( event: DataGridEvent ):void
Called by inactivateTimeout, which is set by Activate().
this.InactivateAfterTimeout = function()
Called on initialize and on data change to update the data display of the item.
private function init():void
Called when the content of the search field is changed.
this.OnSearchFieldChange = function()
Called when focus is added or removed from the search field.
this.OnSearchFieldFocus = function( isActive )
Called when the search type is changed.
this.OnSearchTypeChange = function()
Called when focus is added or removed from the search type.
this.OnSearchTypeFocus = function( isActive )
Reads in and sets the query string parameters.
private function preInit():void
Triggers a cleanup on the current file, and initiates the upload of the next file.
private function progressToNextFile( file: FileReference ):void
Handles the result of the file removal operation.
private function removeFileHandler( event: ResultEvent ):void
Sends the removal request.
private function removeFiles():void
Requests a token from the server to assist in identifying the upload since session information isn’t communicated on file upload.
private function requestToken() : void
Handles the return of the HTTPService request for the token, setting the token variable.
private function requestTokenHandler() : void
Performs a search.
this.Search = function()
Searches for the passed string.
this.Search = function( search )
Loads the flash css style if it is available.
private function styleInit():void
When the style is added, makes the panel visible.
private function styleUpdatedHandler( event: StyleEvent ):void
Toggles the visibility of the passed element ID.
this.Toggle = function( id )
Called when a file upload is completed.
private function uploadCompleteHandler ( event: Event ):void
Initializes the object.
public function UploadFile( name: String, size: Number, status: String, file: FileReference = null )
Displays the file selector and initiates the file upload.
private function uploadFiles():void
Displays an error alert, and sets the eventHandled variable to true.
private function uploadHTTPStatusHandler( event: HTTPStatusEvent ):void
Displays an error message and progresses to the next file.
private function uploadIoErrorHandler( event: Event ):void
Called when a upload is initiated.
private function uploadOpenHandler( event: Event ):void
Called when a user selects files from the File Select box created in the uploadFiles function.
private function uploadSelectHandler( event: Event ):void