Class NoSupportImpl
- java.lang.Object
-
- com.google.gwt.typedarrays.shared.TypedArrays.Impl
-
- com.google.gwt.typedarrays.client.NoSupportImpl
-
public class NoSupportImpl extends TypedArrays.Impl
The implementation class for browsers known to have no support (even emulated) for typed arrays.
-
-
Constructor Summary
Constructors Constructor Description NoSupportImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayBuffer
createArrayBuffer(int length)
DataView
createDataView(ArrayBuffer buffer, int byteOffset, int byteLength)
Float32Array
createFloat32Array(float[] array)
Float32Array
createFloat32Array(ArrayBuffer buffer, int byteOffset, int length)
Float64Array
createFloat64Array(ArrayBuffer buffer, int byteOffset, int length)
Int16Array
createInt16Array(ArrayBuffer buffer, int byteOffset, int length)
Int32Array
createInt32Array(ArrayBuffer buffer, int byteOffset, int length)
Int8Array
createInt8Array(ArrayBuffer buffer, int byteOffset, int length)
Uint16Array
createUint16Array(ArrayBuffer buffer, int byteOffset, int length)
Uint32Array
createUint32Array(ArrayBuffer buffer, int byteOffset, int length)
Uint8Array
createUint8Array(ArrayBuffer buffer, int byteOffset, int length)
Uint8ClampedArray
createUint8ClampedArray(ArrayBuffer buffer, int byteOffset, int length)
protected boolean
mightBeSupported()
Check if the current environment might possibly support typed arrays.-
Methods inherited from class com.google.gwt.typedarrays.shared.TypedArrays.Impl
createDataView, createDataView, createFloat32Array, createFloat32Array, createFloat32Array, createFloat64Array, createFloat64Array, createFloat64Array, createFloat64Array, createInt16Array, createInt16Array, createInt16Array, createInt16Array, createInt32Array, createInt32Array, createInt32Array, createInt32Array, createInt8Array, createInt8Array, createInt8Array, createInt8Array, createUint16Array, createUint16Array, createUint16Array, createUint16Array, createUint32Array, createUint32Array, createUint32Array, createUint32Array, createUint32Array, createUint8Array, createUint8Array, createUint8Array, createUint8Array, createUint8ClampedArray, createUint8ClampedArray, createUint8ClampedArray, createUint8ClampedArray, getElementCount, runtimeSupportCheck
-
-
-
-
Method Detail
-
createArrayBuffer
public ArrayBuffer createArrayBuffer(int length)
- Specified by:
createArrayBuffer
in classTypedArrays.Impl
-
createDataView
public DataView createDataView(ArrayBuffer buffer, int byteOffset, int byteLength)
- Specified by:
createDataView
in classTypedArrays.Impl
-
createFloat32Array
public Float32Array createFloat32Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createFloat32Array
in classTypedArrays.Impl
-
createFloat32Array
public Float32Array createFloat32Array(float[] array)
- Overrides:
createFloat32Array
in classTypedArrays.Impl
-
createFloat64Array
public Float64Array createFloat64Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createFloat64Array
in classTypedArrays.Impl
-
createInt16Array
public Int16Array createInt16Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createInt16Array
in classTypedArrays.Impl
-
createInt32Array
public Int32Array createInt32Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createInt32Array
in classTypedArrays.Impl
-
createInt8Array
public Int8Array createInt8Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createInt8Array
in classTypedArrays.Impl
-
createUint16Array
public Uint16Array createUint16Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint16Array
in classTypedArrays.Impl
-
createUint32Array
public Uint32Array createUint32Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint32Array
in classTypedArrays.Impl
-
createUint8Array
public Uint8Array createUint8Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint8Array
in classTypedArrays.Impl
-
createUint8ClampedArray
public Uint8ClampedArray createUint8ClampedArray(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint8ClampedArray
in classTypedArrays.Impl
-
mightBeSupported
protected boolean mightBeSupported()
Description copied from class:TypedArrays.Impl
Check if the current environment might possibly support typed arrays.The default implementation always returns true, and this is intended to be a static check based on deffered-bound parameters.
- Overrides:
mightBeSupported
in classTypedArrays.Impl
- Returns:
- true if the current environment might possibly support typed arrays
-
-