JSR-209 (Final Release)

java.awt.image
Class DataBufferInt

java.lang.Object
  extended byjava.awt.image.DataBuffer
      extended byjava.awt.image.DataBufferInt

public final class DataBufferInt
extends DataBuffer

This class extends DataBuffer and stores data internally as integers.


Field Summary
 
Fields inherited from class java.awt.image.DataBuffer
dataType, size, TYPE_BYTE, TYPE_INT, TYPE_UNDEFINED, TYPE_USHORT
 
Constructor Summary
DataBufferInt(int size)
          Constructs an integer-based DataBuffer with a single bank and the specified size.
 
Method Summary
 int[] getData()
          Returns the single int data array in DataBuffer.
 
Methods inherited from class java.awt.image.DataBuffer
getDataType, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataBufferInt

public DataBufferInt(int size)
Constructs an integer-based DataBuffer with a single bank and the specified size.

Parameters:
size - The size of the DataBuffer.
Method Detail

getData

public int[] getData()
Returns the single int data array in DataBuffer.

Returns:
The single integer data array.

JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.