Skip navigation links
A B C D E F G H I L N O P R S T V W 

A

abort() - Method in class org.vectomatic.file.FileReader
Aborts the read operation.
abort() - Method in class org.vectomatic.file.impl.FileReaderImpl
 
AbortEvent - Class in org.vectomatic.file.events
The abort event is fired when a read operation has been aborted.
AbortEvent() - Constructor for class org.vectomatic.file.events.AbortEvent
Protected constructor, use DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers) to fire mouse out events.
AbortHandler - Interface in org.vectomatic.file.events
Handler interface for AbortEvent events.
addAbortHandler(AbortHandler) - Method in interface org.vectomatic.file.events.HasAbortHandlers
Adds a AbortHandler handler.
addAbortHandler(AbortHandler) - Method in class org.vectomatic.file.FileReader
 
addChangeHandler(ChangeHandler) - Method in class org.vectomatic.file.FileUploadExt
 
addDomHandler(H, DomEvent.Type<H>) - Method in class org.vectomatic.file.FileReader
 
addDragEnterHandler(DragEnterHandler) - Method in class org.vectomatic.dnd.DropPanel
 
addDragLeaveHandler(DragLeaveHandler) - Method in class org.vectomatic.dnd.DropPanel
 
addDragOverHandler(DragOverHandler) - Method in class org.vectomatic.dnd.DropPanel
 
addDropHandler(DropHandler) - Method in class org.vectomatic.dnd.DropPanel
 
addElement(UIObject) - Method in class org.vectomatic.dnd.DataTransferExt
Set the drag source.
addErrorHandler(ErrorHandler) - Method in interface org.vectomatic.file.events.HasErrorHandlers
Adds a ErrorHandler handler.
addErrorHandler(ErrorHandler) - Method in class org.vectomatic.file.FileReader
 
addLoadEndHandler(LoadEndHandler) - Method in interface org.vectomatic.file.events.HasLoadEndHandlers
Adds a LoadEndHandler handler.
addLoadEndHandler(LoadEndHandler) - Method in class org.vectomatic.file.FileReader
 
addLoadHandler(LoadHandler) - Method in class org.vectomatic.file.FileReader
 
addLoadStartHandler(LoadStartHandler) - Method in interface org.vectomatic.file.events.HasLoadStartHandlers
Adds a LoadStartHandler handler.
addLoadStartHandler(LoadStartHandler) - Method in class org.vectomatic.file.FileReader
 
addProgressHandler(ProgressHandler) - Method in interface org.vectomatic.file.events.HasProgressHandlers
Adds a ProgressHandler handler.
addProgressHandler(ProgressHandler) - Method in class org.vectomatic.file.FileReader
 

B

base64encode(String) - Static method in class org.vectomatic.file.FileUtils
Returns a base64 encoding of the specified binary string
Blob - Class in org.vectomatic.file
A Blob object represents a file-like object of raw data.
Blob() - Constructor for class org.vectomatic.file.Blob
 

C

click() - Method in class org.vectomatic.file.FileUploadExt
Shows the file selection box.
contains(String) - Method in class org.vectomatic.dnd.StringList
Returns true/false depending on whether the given string is in the list.
createDataUrl(String, String) - Static method in class org.vectomatic.file.FileUtils
Returns a data url with the specified mime type and data.
createObjectURL() - Method in class org.vectomatic.file.Blob
createObjectURL(Blob) - Static method in class org.vectomatic.file.FileUtils
Creates a new object URL, whose lifetime is tied to the document in the window on which it was created.

D

DataTransferExt - Class in org.vectomatic.dnd
Class to augment the DataTransfer provided by GWT with the methods it needs to support drag and drop of files.
DataTransferExt() - Constructor for class org.vectomatic.dnd.DataTransferExt
Constructor
dispatch(NativeEvent) - Method in class org.vectomatic.dnd.DropPanel
Dispatches the specified event to this node event handlers
dispatch(AbortHandler) - Method in class org.vectomatic.file.events.AbortEvent
 
dispatch(ErrorHandler) - Method in class org.vectomatic.file.events.ErrorEvent
 
dispatch(LoadEndHandler) - Method in class org.vectomatic.file.events.LoadEndEvent
 
dispatch(LoadStartHandler) - Method in class org.vectomatic.file.events.LoadStartEvent
 
dispatch(ProgressHandler) - Method in class org.vectomatic.file.events.ProgressEvent
 
dispatch(NativeEvent) - Method in class org.vectomatic.file.FileReader
Dispatches the specified event to this node event handlers
DONE - Static variable in class org.vectomatic.file.impl.FileReaderImpl
 
DropPanel - Class in org.vectomatic.dnd
A widget which accepts file drag and drop.
DropPanel() - Constructor for class org.vectomatic.dnd.DropPanel
Constructor.

E

EMPTY - Static variable in class org.vectomatic.file.impl.FileReaderImpl
 
ErrorCode - Enum in org.vectomatic.file
Constants to represent error that occurs while using the FileReader interface.
ErrorEvent - Class in org.vectomatic.file.events
The activate event occurs when an element is activated, for instance, through a mouse click or a keypress.
ErrorEvent() - Constructor for class org.vectomatic.file.events.ErrorEvent
Protected constructor, use DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers) to fire mouse out events.
ErrorHandler - Interface in org.vectomatic.file.events
Handler interface for ErrorEvent events.
eventBus - Static variable in class org.vectomatic.dnd.DropPanel
The event bus shared by all drop panels
eventBus - Static variable in class org.vectomatic.file.FileReader
 

F

File - Class in org.vectomatic.file
The File object provides information about and access to the contents of files.
File() - Constructor for class org.vectomatic.file.File
 
FileError - Class in org.vectomatic.file
Represents an error that occurs while using the FileReader interface.
FileError() - Constructor for class org.vectomatic.file.FileError
Constructor.
FileList - Class in org.vectomatic.file
An object of this type is returned by the files property of the HTML input element; this lets you access the list of files selected with the <input type="file"> element.
FileList(FileListImpl) - Constructor for class org.vectomatic.file.FileList
Constructor.
FileListImpl - Class in org.vectomatic.file.impl
 
FileListImpl() - Constructor for class org.vectomatic.file.impl.FileListImpl
 
FileReader - Class in org.vectomatic.file
The FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
FileReader() - Constructor for class org.vectomatic.file.FileReader
Constructor.
FileReader.State - Enum in org.vectomatic.file
Enum to represent FileReader state constants.
FileReaderImpl - Class in org.vectomatic.file.impl
 
FileReaderImpl() - Constructor for class org.vectomatic.file.impl.FileReaderImpl
 
FileReaderSync - Class in org.vectomatic.file
The FileReaderSync interface allows to read File or Blob objects in a synchronous way.
FileReaderSync() - Constructor for class org.vectomatic.file.FileReaderSync
 
FileUploadExt - Class in org.vectomatic.file
FileUpload widget with support for multiple files.
FileUploadExt() - Constructor for class org.vectomatic.file.FileUploadExt
Constructor.
FileUploadExt(boolean) - Constructor for class org.vectomatic.file.FileUploadExt
Constructor.
FileUploadExt(Element, boolean) - Constructor for class org.vectomatic.file.FileUploadExt
 
FileUtils - Class in org.vectomatic.file
Class to group miscellaneous file-related utility methods.
FileUtils() - Constructor for class org.vectomatic.file.FileUtils
 
fireEvent(GwtEvent<?>) - Method in class org.vectomatic.dnd.DropPanel
 
fireEvent(GwtEvent<?>) - Method in class org.vectomatic.file.FileReader
 
fromValue(short) - Static method in enum org.vectomatic.file.ErrorCode
Converts a javascript error code to a java constant
fromValue(short) - Static method in enum org.vectomatic.file.FileReader.State
 

G

getArrayBufferResult() - Method in class org.vectomatic.file.FileReader
Returns the file's contents.
getArrayBufferResult() - Method in class org.vectomatic.file.impl.FileReaderImpl
 
getAssociatedType() - Method in class org.vectomatic.file.events.AbortEvent
 
getAssociatedType() - Method in class org.vectomatic.file.events.ErrorEvent
 
getAssociatedType() - Method in class org.vectomatic.file.events.LoadEndEvent
 
getAssociatedType() - Method in class org.vectomatic.file.events.LoadStartEvent
 
getAssociatedType() - Method in class org.vectomatic.file.events.ProgressEvent
 
getCode() - Method in class org.vectomatic.file.FileError
Returns a constant representing the error code in Java.
getDropEffect() - Method in class org.vectomatic.dnd.DataTransferExt
The actual effect that will be used, and should always be one of the possible values of effectAllowed.
getEffectAllowed() - Method in class org.vectomatic.dnd.DataTransferExt
Returns the effect allowed for this drag.
getError() - Method in class org.vectomatic.file.FileReader
 
getError() - Method in class org.vectomatic.file.impl.FileReaderImpl
 
getEventBus() - Static method in class org.vectomatic.dnd.DropPanel
Returns the event bus shared by all drop panels
getFilename() - Method in class org.vectomatic.file.FileUploadExt
Gets the filename selected by the user.
getFiles() - Method in class org.vectomatic.dnd.DataTransferExt
Returns a list of all the local files available on the data transfer.
getFiles() - Method in class org.vectomatic.file.FileUploadExt
Returns the files selected by the end-user.
getItem(int) - Method in class org.vectomatic.file.FileList
Returns the indexth item in the collection.
getItem(int) - Method in class org.vectomatic.file.impl.FileListImpl
 
getLastModifiedDate() - Method in class org.vectomatic.file.File
The last modified date of the file.
getLength() - Method in class org.vectomatic.file.FileList
The number of nodes in the list.
getLength() - Method in class org.vectomatic.file.impl.FileListImpl
 
getName() - Method in class org.vectomatic.file.File
The name of the file referenced by the File object.
getName() - Method in class org.vectomatic.file.FileUploadExt
 
getReadyState() - Method in class org.vectomatic.file.FileReader
Indicates the state of the FileReader.
getReadyState() - Method in class org.vectomatic.file.impl.FileReaderImpl
 
getResult() - Method in class org.vectomatic.file.FileReader
Deprecated.
As of version 0.3, users should use the FileReader.getStringResult() or FileReader.getArrayBufferResult() depending on the kind of return which is expected.
getSize() - Method in class org.vectomatic.file.Blob
The size, in bytes, of the data contained in the Blob object.
getStringResult() - Method in class org.vectomatic.file.FileReader
Returns the file's contents.
getStringResult() - Method in class org.vectomatic.file.impl.FileReaderImpl
 
getType() - Method in class org.vectomatic.file.Blob
An ASCII-encoded string, in all lower case, indicating the MIME type of the data contained in the Blob.
getType() - Static method in class org.vectomatic.file.events.AbortEvent
 
getType() - Static method in class org.vectomatic.file.events.ErrorEvent
 
getType() - Static method in class org.vectomatic.file.events.LoadEndEvent
 
getType() - Static method in class org.vectomatic.file.events.LoadStartEvent
 
getType() - Static method in class org.vectomatic.file.events.ProgressEvent
 
getTypes() - Method in class org.vectomatic.dnd.DataTransferExt
Returns a list of the format types of the data that is stored for the first item, in the same order the data was added.
getValue() - Method in enum org.vectomatic.file.ErrorCode
Returns the numerical javascript value corresponding to this constant.
getValue() - Method in enum org.vectomatic.file.FileReader.State
 

H

HasAbortHandlers - Interface in org.vectomatic.file.events
A widget that implements this interface provides registration for AbortHandler instances.
HasErrorHandlers - Interface in org.vectomatic.file.events
A widget that implements this interface provides registration for ErrorHandler instances.
HasLoadEndHandlers - Interface in org.vectomatic.file.events
A widget that implements this interface provides registration for LoadEndHandler instances.
HasLoadStartHandlers - Interface in org.vectomatic.file.events
A widget that implements this interface provides registration for LoadStartHandler instances.
HasProgressHandlers - Interface in org.vectomatic.file.events
A widget that implements this interface provides registration for ProgressHandler instances.

I

isChildOf(Node, Node) - Method in class org.vectomatic.dnd.DropPanel
Tests if a node is part of a DOM subtree.
isEnabled() - Method in class org.vectomatic.file.FileUploadExt
Gets whether this widget is enabled.
isMultiple() - Method in class org.vectomatic.file.FileUploadExt
Returns true if support for multiple file upload is activated, false otherwise.
item(int) - Method in class org.vectomatic.dnd.StringList
Returns the specified item from the list.
iterator() - Method in class org.vectomatic.dnd.StringList
Returns an iterator over the String elements in this list in proper sequence.
iterator() - Method in class org.vectomatic.file.FileList
Returns an iterator over the File elements in this list in proper sequence.

L

length() - Method in class org.vectomatic.dnd.StringList
The length of the list.
lengthComputable() - Method in class org.vectomatic.file.events.ProgressEventBase
 
loaded() - Method in class org.vectomatic.file.events.ProgressEventBase
 
LoadEndEvent - Class in org.vectomatic.file.events
The loadend event is triggered when the read request has completed (either in success or failure).
LoadEndEvent() - Constructor for class org.vectomatic.file.events.LoadEndEvent
Protected constructor, use DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers) to fire mouse out events.
LoadEndHandler - Interface in org.vectomatic.file.events
Handler interface for LoadEndEvent events.
LOADING - Static variable in class org.vectomatic.file.impl.FileReaderImpl
 
LoadStartEvent - Class in org.vectomatic.file.events
The loadstart event is triggered when the read operation starts.
LoadStartEvent() - Constructor for class org.vectomatic.file.events.LoadStartEvent
Protected constructor, use DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers) to fire mouse out events.
LoadStartHandler - Interface in org.vectomatic.file.events
Handler interface for LoadStartEvent events.

N

newInstance() - Static method in class org.vectomatic.file.impl.FileReaderImpl
 

O

onAbort(AbortEvent) - Method in interface org.vectomatic.file.events.AbortHandler
Called when 'abort' is fired.
onBrowserEvent(Event) - Method in class org.vectomatic.file.FileUploadExt
 
onError(ErrorEvent) - Method in interface org.vectomatic.file.events.ErrorHandler
Called when 'error' is fired.
onLoadEnd(LoadEndEvent) - Method in interface org.vectomatic.file.events.LoadEndHandler
Called when 'loadend' is fired.
onLoadStart(LoadStartEvent) - Method in interface org.vectomatic.file.events.LoadStartHandler
Called when 'loadstart' is fired.
onProgress(ProgressEvent) - Method in interface org.vectomatic.file.events.ProgressHandler
Called when 'progress' is fired.
org.vectomatic.dnd - package org.vectomatic.dnd
Classes to provide support for drag and dropping files.
org.vectomatic.file - package org.vectomatic.file
Classes to provide abstraction of the W3C File API.
org.vectomatic.file.events - package org.vectomatic.file.events
Event classes specific to the W3C File API.
org.vectomatic.file.impl - package org.vectomatic.file.impl
Implementation package for the W3C File API interface defined in the org.vectomatic.file package.

P

ProgressEvent - Class in org.vectomatic.file.events
The progress event is triggered while reading (and decoding) blob, and reporting partial Blob data (progess.loaded/progress.total)
ProgressEvent() - Constructor for class org.vectomatic.file.events.ProgressEvent
Protected constructor, use DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers) to fire mouse out events.
ProgressEventBase<H extends com.google.gwt.event.shared.EventHandler> - Class in org.vectomatic.file.events
Base class for all file events
ProgressEventBase() - Constructor for class org.vectomatic.file.events.ProgressEventBase
 
ProgressHandler - Interface in org.vectomatic.file.events
Handler interface for ProgressEvent events.

R

readAsArrayBuffer(Blob) - Method in class org.vectomatic.file.FileReader
Starts reading the contents of the specified Blob, which may be a File.
readAsArrayBuffer(Blob) - Method in class org.vectomatic.file.FileReaderSync
 
readAsArrayBuffer(Blob) - Method in class org.vectomatic.file.impl.FileReaderImpl
 
readAsBinaryString(Blob) - Method in class org.vectomatic.file.FileReader
Starts reading the contents of the specified Blob, which may be a File.
readAsBinaryString(Blob) - Method in class org.vectomatic.file.FileReaderSync
 
readAsBinaryString(Blob) - Method in class org.vectomatic.file.impl.FileReaderImpl
 
readAsDataURL(Blob) - Method in class org.vectomatic.file.FileReader
Starts reading the contents of the specified Blob, which may be a File.
readAsDataURL(Blob) - Method in class org.vectomatic.file.FileReaderSync
 
readAsDataURL(Blob) - Method in class org.vectomatic.file.impl.FileReaderImpl
 
readAsText(Blob) - Method in class org.vectomatic.file.FileReader
Starts reading the contents of the specified Blob, which may be a File.
readAsText(Blob, String) - Method in class org.vectomatic.file.FileReader
Starts reading the contents of the specified Blob, which may be a File.
readAsText(Blob) - Method in class org.vectomatic.file.FileReaderSync
 
readAsText(Blob, String) - Method in class org.vectomatic.file.FileReaderSync
 
readAsText(Blob) - Method in class org.vectomatic.file.impl.FileReaderImpl
 
readAsText(Blob, String) - Method in class org.vectomatic.file.impl.FileReaderImpl
 
registerEvent(FileReader, String) - Method in class org.vectomatic.file.impl.FileReaderImpl
 
revokeObjectURL(String) - Method in class org.vectomatic.file.Blob
revokeObjectURL(String) - Static method in class org.vectomatic.file.FileUtils
Releases an existing object URL which was previously created by calling FileUtils.createObjectURL(org.vectomatic.file.Blob) .

S

setDragImage(Image, int, int) - Method in class org.vectomatic.dnd.DataTransferExt
Set the image to be used for dragging if a custom one is desired.
setDropEffect(String) - Method in class org.vectomatic.dnd.DataTransferExt
Sets the actual effect that will be used, and should always be one of the possible values of effectAllowed.
setEffectAllowed(String) - Method in class org.vectomatic.dnd.DataTransferExt
Specifies the effects that are allowed for this drag.
setEnabled(boolean) - Method in class org.vectomatic.file.FileUploadExt
Sets whether this widget is enabled.
setEventBus(EventBus) - Static method in class org.vectomatic.dnd.DropPanel
Sets the event bus shared by all drop panels
setMultiple(boolean) - Method in class org.vectomatic.file.FileUploadExt
Sets support for multiple file upload.
setName(String) - Method in class org.vectomatic.file.FileUploadExt
 
slice() - Method in class org.vectomatic.file.Blob
Returns a new Blob object containing a full copy of the data in the source Blob.
slice(long) - Method in class org.vectomatic.file.Blob
Returns a new Blob object containing the data in the specified range of bytes of the source Blob.
slice(long, long) - Method in class org.vectomatic.file.Blob
Returns a new Blob object containing the data in the specified range of bytes of the source Blob.
slice(long, long, String) - Method in class org.vectomatic.file.Blob
Returns a new Blob object containing the data in the specified range of bytes of the source Blob.
slice(Blob) - Method in class org.vectomatic.file.impl.SliceImpl
 
slice(Blob, long) - Method in class org.vectomatic.file.impl.SliceImpl
 
slice(Blob, long, long) - Method in class org.vectomatic.file.impl.SliceImpl
 
slice(Blob, long, long, String) - Method in class org.vectomatic.file.impl.SliceImpl
 
slice(Blob) - Method in class org.vectomatic.file.impl.SliceImplMozilla
 
slice(Blob) - Method in class org.vectomatic.file.impl.SliceImplStandard
 
slice(Blob) - Method in class org.vectomatic.file.impl.SliceImplWebkit
 
SliceImpl - Class in org.vectomatic.file.impl
 
SliceImpl() - Constructor for class org.vectomatic.file.impl.SliceImpl
 
SliceImplMozilla - Class in org.vectomatic.file.impl
 
SliceImplMozilla() - Constructor for class org.vectomatic.file.impl.SliceImplMozilla
 
SliceImplStandard - Class in org.vectomatic.file.impl
 
SliceImplStandard() - Constructor for class org.vectomatic.file.impl.SliceImplStandard
 
SliceImplWebkit - Class in org.vectomatic.file.impl
 
SliceImplWebkit() - Constructor for class org.vectomatic.file.impl.SliceImplWebkit
 
StringList - Class in org.vectomatic.dnd
Class to store the mime types specifying the contents of a DataTransferExt object.
StringList(JavaScriptObject) - Constructor for class org.vectomatic.dnd.StringList
 
supportsFileAPI() - Static method in class org.vectomatic.file.FileUtils
Tests whether the browser support the W3C File API

T

total() - Method in class org.vectomatic.file.events.ProgressEventBase
 

V

valueOf(String) - Static method in enum org.vectomatic.file.ErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.vectomatic.file.FileReader.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.vectomatic.file.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.vectomatic.file.FileReader.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrap(Element, boolean) - Static method in class org.vectomatic.file.FileUploadExt
Creates a FileUploadExt widget that wraps an existing <input type='file'> element.
A B C D E F G H I L N O P R S T V W 
Skip navigation links

Copyright © 2017. All Rights Reserved.