Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

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 Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.