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 ArrayBuffercreateArrayBuffer(int length)DataViewcreateDataView(ArrayBuffer buffer, int byteOffset, int byteLength)Float32ArraycreateFloat32Array(float[] array)Float32ArraycreateFloat32Array(ArrayBuffer buffer, int byteOffset, int length)Float64ArraycreateFloat64Array(ArrayBuffer buffer, int byteOffset, int length)Int16ArraycreateInt16Array(ArrayBuffer buffer, int byteOffset, int length)Int32ArraycreateInt32Array(ArrayBuffer buffer, int byteOffset, int length)Int8ArraycreateInt8Array(ArrayBuffer buffer, int byteOffset, int length)Uint16ArraycreateUint16Array(ArrayBuffer buffer, int byteOffset, int length)Uint32ArraycreateUint32Array(ArrayBuffer buffer, int byteOffset, int length)Uint8ArraycreateUint8Array(ArrayBuffer buffer, int byteOffset, int length)Uint8ClampedArraycreateUint8ClampedArray(ArrayBuffer buffer, int byteOffset, int length)protected booleanmightBeSupported()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:
createArrayBufferin classTypedArrays.Impl
-
createDataView
public DataView createDataView(ArrayBuffer buffer, int byteOffset, int byteLength)
- Specified by:
createDataViewin classTypedArrays.Impl
-
createFloat32Array
public Float32Array createFloat32Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createFloat32Arrayin classTypedArrays.Impl
-
createFloat32Array
public Float32Array createFloat32Array(float[] array)
- Overrides:
createFloat32Arrayin classTypedArrays.Impl
-
createFloat64Array
public Float64Array createFloat64Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createFloat64Arrayin classTypedArrays.Impl
-
createInt16Array
public Int16Array createInt16Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createInt16Arrayin classTypedArrays.Impl
-
createInt32Array
public Int32Array createInt32Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createInt32Arrayin classTypedArrays.Impl
-
createInt8Array
public Int8Array createInt8Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createInt8Arrayin classTypedArrays.Impl
-
createUint16Array
public Uint16Array createUint16Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint16Arrayin classTypedArrays.Impl
-
createUint32Array
public Uint32Array createUint32Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint32Arrayin classTypedArrays.Impl
-
createUint8Array
public Uint8Array createUint8Array(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint8Arrayin classTypedArrays.Impl
-
createUint8ClampedArray
public Uint8ClampedArray createUint8ClampedArray(ArrayBuffer buffer, int byteOffset, int length)
- Specified by:
createUint8ClampedArrayin classTypedArrays.Impl
-
mightBeSupported
protected boolean mightBeSupported()
Description copied from class:TypedArrays.ImplCheck 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:
mightBeSupportedin classTypedArrays.Impl- Returns:
- true if the current environment might possibly support typed arrays
-
-