- File - Class in org.moxieapps.gwt.uploader.client
-
A logical bean that provides access to the details of a file being uploaded.
- File() - Constructor for class org.moxieapps.gwt.uploader.client.File
-
Instances of the File object can not be created directly, but should instead
be obtained via an event handler.
- File.Status - Enum in org.moxieapps.gwt.uploader.client
-
An enumeration of reported file status types, which can be determined during
any of the uploader events, such as
UploadEvent.getFile()
.
- FileDialogCompleteEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when a 'fileDialogComplete' event occurs.
- FileDialogCompleteEvent(int, int, int) - Constructor for class org.moxieapps.gwt.uploader.client.events.FileDialogCompleteEvent
-
This constructor is intended for internal use only.
- FileDialogCompleteHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when file dialog complete events are fired by
the Uploader component.
- FileDialogStartEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when a 'fileDialogStart' event occurs.
- FileDialogStartEvent() - Constructor for class org.moxieapps.gwt.uploader.client.events.FileDialogStartEvent
-
This constructor is intended for internal use only.
- FileDialogStartHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when file dialog start events are fired by
the Uploader component.
- FileQueuedEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when a 'fileQueued' event occurs.
- FileQueuedEvent(File) - Constructor for class org.moxieapps.gwt.uploader.client.events.FileQueuedEvent
-
This constructor is intended for internal use only.
- FileQueuedHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when file queued events are fired by
the Uploader component.
- FileQueueErrorEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when a 'fileQueueError' event occurs.
- FileQueueErrorEvent(File, int, String) - Constructor for class org.moxieapps.gwt.uploader.client.events.FileQueueErrorEvent
-
This constructor is intended for internal use only.
- FileQueueErrorEvent.ErrorCode - Enum in org.moxieapps.gwt.uploader.client.events
-
An enumeration of reported file queue error code types.
- FileQueueErrorHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when file queue error events are fired by
the Uploader component.
- getAverageSpeed() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return a floating point number indicating the overall average uploader speed,
bytes per second, in bits per second.
- getButtonDisabled() - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
- getBytesComplete() - Method in class org.moxieapps.gwt.uploader.client.events.UploadProgressEvent
-
Return the bytes transferred since the uploader process began.
- getBytesTotal() - Method in class org.moxieapps.gwt.uploader.client.events.UploadProgressEvent
-
Return the total size of the file being uploaded.
- getCreationDate() - Method in class org.moxieapps.gwt.uploader.client.File
-
Returns the date the file was created, as reported by the client machine.
- getCurrentSpeed() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return a floating point number indicating the current uploader speed of
the file, in bits per second.
- getCustomSettings() - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
- getDroppedFiles(NativeEvent) - Static method in class org.moxieapps.gwt.uploader.client.Uploader
-
A convenience method that can be used to extract the files that a user dropped
on the application during a GWT drop event.
- getErrorCode() - Method in class org.moxieapps.gwt.uploader.client.events.FileQueueErrorEvent
-
The error code returned by the Uploader component in the case of a file queu failure, conveniently
converted to an enumeration type.
- getErrorCode() - Method in class org.moxieapps.gwt.uploader.client.events.UploadErrorEvent
-
The error code returned by the Uploader component in the case of an uploader failure, conveniently
converted to an enumeration type.
- getErrorCodeAsInt() - Method in class org.moxieapps.gwt.uploader.client.events.FileQueueErrorEvent
-
The original numeric error code returned by the Uploader component in the case of a file queue failure.
- getErrorCodeAsInt() - Method in class org.moxieapps.gwt.uploader.client.events.UploadErrorEvent
-
The original numeric error code returned by the Uploader component in the case of an uploader failure.
- getFile() - Method in class org.moxieapps.gwt.uploader.client.events.FileQueuedEvent
-
Return the details of the file that was added to the queue.
- getFile() - Method in class org.moxieapps.gwt.uploader.client.events.FileQueueErrorEvent
-
Return the details of the file that experienced the error in the queue
- getFile() - Method in class org.moxieapps.gwt.uploader.client.events.UploadEvent
-
Return the details of the file upon which the uploader event has occurred.
- getFilesQueued() - Method in class org.moxieapps.gwt.uploader.client.Stats
-
Return the number of files currently in the queue
- getId() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return the unique id of the file instance as it is being maintained within the Uploader
component file queue.
- getIndex() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return the index of the file within the queue of files being uploaded by the Uploader component.
- getMessage() - Method in class org.moxieapps.gwt.uploader.client.events.FileQueueErrorEvent
-
Return a human readable error message explaining the cause of the file queue failure.
- getMessage() - Method in class org.moxieapps.gwt.uploader.client.events.UploadErrorEvent
-
Return a human readable error message explaining the cause of the uploader failure.
- getModificationDate() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return the date the file was last modified, as reported by the client machine, or null
if the browser or OS did not make the file's modification date available.
- getMovingAverageSpeed() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return a floating point number indicating the uploader speed averaged over the
last several measurements, in bits per second.
- getName() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return the original name of the file being uploaded.
- getNumberOfFilesQueued() - Method in class org.moxieapps.gwt.uploader.client.events.FileDialogCompleteEvent
-
Return the number of files selected in the dialog.
- getNumberOfFilesSelected() - Method in class org.moxieapps.gwt.uploader.client.events.FileDialogCompleteEvent
-
Return the number of files that were queued as a result of the dialog selection.
- getOptions() - Method in class org.moxieapps.gwt.uploader.client.Configurable
-
Retrieve all of the options that have been configured for this instance
as a JSONObject.
- getPercentUploaded() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return a floating point number indicating the percentage of the
file uploaded (0 to 100).
- getQueueErrors() - Method in class org.moxieapps.gwt.uploader.client.Stats
-
- getResponseReceived() - Method in class org.moxieapps.gwt.uploader.client.events.UploadSuccessEvent
-
Return the HTTP response code sent from the server at the completion of the uploader.
- getServerData() - Method in class org.moxieapps.gwt.uploader.client.events.UploadSuccessEvent
-
Return any HTTP response data sent from the server at the completion of the uploader.
- getSize() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return the original size of the file being uploaded (in bytes).
- getSizeUploaded() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return a floating point number indicating the size uploaded so far, in bytes.
- getStats() - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Returns the overall general statistics being tracked by the Uploader component, or null
if the widget has not yet been added to the DOM.
- getStatus() - Method in class org.moxieapps.gwt.uploader.client.File
-
Get the file's current status (see
File.Status
enumeration for possible values)
- getSuccessfulUploads() - Method in class org.moxieapps.gwt.uploader.client.Stats
-
Return the number of files that have uploaded successfully (caused uploadSuccess to be fired)
- getTimeElapsed() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return a floating point number indicating the number of seconds
passed so far for this uploader.
- getTimeRemaining() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return a floating point number indicating the estimated remaining
uploader time, in seconds.
- getTotalFilesInQueue() - Method in class org.moxieapps.gwt.uploader.client.events.FileDialogCompleteEvent
-
Return the total number of files now in the queue.
- getType() - Method in class org.moxieapps.gwt.uploader.client.File
-
Return the mime type of the file being uploaded.
- getUploadErrors() - Method in class org.moxieapps.gwt.uploader.client.Stats
-
Return the number of files that have had errors (excluding cancelled files)
- getUploadsCancelled() - Method in class org.moxieapps.gwt.uploader.client.Stats
-
Return the number of files that have been cancelled
- getUploadsInProgress() - Method in class org.moxieapps.gwt.uploader.client.Stats
-
Return a 1 or 0 indicating if a file upload is currently in progress
- setAjaxUploadEnabled(boolean) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
By default the component will attempt to use a DOM based Ajax uploader process if it detects
that the browser can support the necessary requirements of the "XMLHttpRequest Level 2".
- setAjaxUploadURL(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
By default both the XMLHttpRequest Level 2/Ajax uploads and the SWFUpload/Flash uploads will
be posted to whatever URL is specified via the
Uploader.setUploadURL(String)
method.
- setAssumeSuccessTimeout(long) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'assume_success_timeout' option of the component.
- setButtonAction(Uploader.ButtonAction) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_action' option of the component, either before or
after the widget has been added to the DOM.
- setButtonCursor(Uploader.Cursor) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_cursor' option of the component, either before or
after the widget has been added to the DOM.
- setButtonDisabled(boolean) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_disabled' option of the component, either before or
after the widget has been added to the DOM.
- setButtonHeight(int) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_height' option of the component, either before or
after the widget has been added to the DOM.
- setButtonImageURL(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_image_url' option of the component, either before or
after the widget has been added to the DOM.
- setButtonText(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_text' option of the component, either before or
after the widget has been added to the DOM.
- setButtonTextLeftPadding(int) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_text_left_padding' option of the component, either before or
after the widget has been added to the DOM.
- setButtonTextStyle(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_text_style' option of the component, either before or
after the widget has been added to the DOM.
- setButtonTextTopPadding(int) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_text_top_padding' option of the component, either before or
after the widget has been added to the DOM.
- setButtonWidth(int) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_width' option of the component, either before or
after the widget has been added to the DOM.
- setButtonWindowMode(Uploader.WindowMode) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'button_window_mode' option of the component.
- setCustomSettings(JSONObject) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'custom_settings' option of the component.
- setDebug(boolean) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'debug' option of the component.
- setFileDialogCompleteHandler(FileDialogCompleteHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever a file dialog complete event is fired.
- setFileDialogStartHandler(FileDialogStartHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever a file dialog start event is fired.
- setFilePostName(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'file_post_name' option of the component, either before or
after the widget has been added to the DOM.
- setFileQueuedHandler(FileQueuedHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever a file queued event is fired.
- setFileQueueErrorHandler(FileQueueErrorHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever a file queue error event is fired.
- setFileQueueLimit(long) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'file_queue_limit' option of the component, either before or
after the widget has been added to the DOM.
- setFileSizeLimit(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'file_size_limit' option of the component, either before or
after the widget has been added to the DOM.
- setFileTypes(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'file_types' option of the component, either before or
after the widget has been added to the DOM.
- setFileTypesDescription(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'file_types_description' option of the component, either before or
after the widget has been added to the DOM.
- setFileUploadLimit(long) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'file_upload_limit' option of the component, either before or
after the widget has been added to the DOM.
- setFlashURL(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Overrides the default "flash_url" setting.
- setHttpSuccess(Long...) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'http_success' option of the component.
- setOption(String, Object) - Method in class org.moxieapps.gwt.uploader.client.Configurable
-
Set an option on the object at any level, using "/" characters to designate which
level of option you'd like to set.
- setOption(String, Object) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
General purpose method to set an option on the SWFUpload object at any level, using "/" characters
to designate which level of option you'd like to set.
- setPostParams(JSONObject) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'post_params' option of the component, either before or
after the widget has been added to the DOM.
- setPreserveRelativeURLs(boolean) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'preserve_relative_urls' option of the component.
- setPreventSWFCaching(boolean) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'prevent_swf_caching' option of the component.
- setRequeueOnError(boolean) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'requeue_on_error' option of the component.
- setSWFUploadLoadedHandler(SWFUploadLoadedHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever a Uploader loaded event is fired.
- setUploadCompleteHandler(UploadCompleteHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever an uploader complete event is fired.
- setUploadErrorHandler(UploadErrorHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever an uploader error event is fired.
- setUploadProgressHandler(UploadProgressHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever an uploader progress event is fired.
- setUploadStartHandler(UploadStartHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever an uploader start event is fired.
- setUploadSuccessHandler(UploadSuccessHandler) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Set a callback handler that will be invoked whenever an uploader success event is fired.
- setUploadURL(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'upload_url' option of the component, either before or
after the widget has been added to the DOM.
- setUseQueryString(boolean) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Convenience method for setting the 'use_query_string' option of the component, either before or
after the widget has been added to the DOM.
- startUpload() - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Cause the first file in the queue to start the uploader process
- startUpload(String) - Method in class org.moxieapps.gwt.uploader.client.Uploader
-
Cause the file with the specified Id to start the uploader process.
- Stats - Class in org.moxieapps.gwt.uploader.client
-
A simple bean that provides access to the statistical counters managed by the Uploader
component.
- Stats() - Constructor for class org.moxieapps.gwt.uploader.client.Stats
-
Instances of the Stats object can not be created directly, but should instead
be obtained via the
Uploader.getStats()
method.
- SWFUploadLoadedEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by the Uploader when an 'swfUploadLoaded' event occurs.
- SWFUploadLoadedEvent() - Constructor for class org.moxieapps.gwt.uploader.client.events.SWFUploadLoadedEvent
-
This constructor is intended for internal use only.
- SWFUploadLoadedHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when SWFUpload loaded events are fired by
the Uploader component.
- UploadCompleteEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when an 'uploader complete' event occurs.
- UploadCompleteEvent(File) - Constructor for class org.moxieapps.gwt.uploader.client.events.UploadCompleteEvent
-
This constructor is intended for internal use only.
- UploadCompleteHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when uploader completion events are fired by
the Uploader component.
- Uploader - Class in org.moxieapps.gwt.uploader.client
-
The main GWT widget that can be constructed and then configured in order to add an uploader
component into a GWT application.
- Uploader() - Constructor for class org.moxieapps.gwt.uploader.client.Uploader
-
Create a new Uploader component that can be added to a GWT application, setting up
an element in the DOM that the uploader button elements will be rendered inside of.
- Uploader.ButtonAction - Enum in org.moxieapps.gwt.uploader.client
-
- Uploader.Cursor - Enum in org.moxieapps.gwt.uploader.client
-
- Uploader.WindowMode - Enum in org.moxieapps.gwt.uploader.client
-
- UploadErrorEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when an 'uploader error' event occurs.
- UploadErrorEvent(File, int, String) - Constructor for class org.moxieapps.gwt.uploader.client.events.UploadErrorEvent
-
This constructor is intended for internal use only.
- UploadErrorEvent.ErrorCode - Enum in org.moxieapps.gwt.uploader.client.events
-
An enumeration of reported uploaded error code types.
- UploadErrorHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when uploader error events are fired by
the Uploader component.
- UploadEvent - Class in org.moxieapps.gwt.uploader.client.events
-
The base class of all events that are triggered during the uploader process, and includes methods for
accessing the general state of the event, most notably the details of the file that is being uploaded.
- UploadEvent(File) - Constructor for class org.moxieapps.gwt.uploader.client.events.UploadEvent
-
We can only be created by instantiating one of our sub classes.
- UploadProgressEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when an 'uploader progress' event occurs.
- UploadProgressEvent(File, long, long) - Constructor for class org.moxieapps.gwt.uploader.client.events.UploadProgressEvent
-
This constructor is intended for internal use only.
- UploadProgressHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when uploader progress events are fired by
the Uploader component.
- UploadStartEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when an 'uploader start' event occurs.
- UploadStartEvent(File) - Constructor for class org.moxieapps.gwt.uploader.client.events.UploadStartEvent
-
This constructor is intended for internal use only.
- UploadStartHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when uploader start events are fired by
the Uploader component.
- UploadSuccessEvent - Class in org.moxieapps.gwt.uploader.client.events
-
Provides access to the raw information provided by Uploader when an 'uploader success' event occurs.
- UploadSuccessEvent(File, String, String) - Constructor for class org.moxieapps.gwt.uploader.client.events.UploadSuccessEvent
-
This constructor is intended for internal use only.
- UploadSuccessHandler - Interface in org.moxieapps.gwt.uploader.client.events
-
An interface that can be used as a callback handler when uploader success events are fired by
the Uploader component.
- valueOf(String) - Static method in enum org.moxieapps.gwt.uploader.client.events.FileQueueErrorEvent.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.moxieapps.gwt.uploader.client.events.UploadErrorEvent.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.moxieapps.gwt.uploader.client.File.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.moxieapps.gwt.uploader.client.Uploader.ButtonAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.moxieapps.gwt.uploader.client.Uploader.Cursor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.moxieapps.gwt.uploader.client.Uploader.WindowMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.moxieapps.gwt.uploader.client.events.FileQueueErrorEvent.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.moxieapps.gwt.uploader.client.events.UploadErrorEvent.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.moxieapps.gwt.uploader.client.File.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.moxieapps.gwt.uploader.client.Uploader.ButtonAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.moxieapps.gwt.uploader.client.Uploader.Cursor
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.moxieapps.gwt.uploader.client.Uploader.WindowMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.