|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjcuda.jnpp.utilnpp.AbstractImage
class AbstractImage
Abstract base class for Images
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.Image |
|---|
Image.Size |
| Constructor Summary | |
|---|---|
protected |
AbstractImage(Image.Size rSize)
Creates an AbstractImage with the given size |
protected |
AbstractImage(int nWidth,
int nHeight)
Creates an AbstractImage with the given size |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
int |
height()
Return the height of this image |
void |
set(Image rImage)
Assignment operator: Set this image to have the same contents as the given image. |
Image.Size |
size()
Return the size of this image |
void |
swap(Image rImage)
Swap the contents of this image and the given image |
int |
width()
Return the width of this image |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractImage(int nWidth,
int nHeight)
nWidth - The widthnHeight - The heightprotected AbstractImage(Image.Size rSize)
rSize - The size| Method Detail |
|---|
public int width()
Image
width in interface Imagepublic int height()
Image
height in interface Imagepublic Image.Size size()
Image
size in interface Imagepublic void set(Image rImage)
Image
set in interface ImagerImage - The other imagepublic void swap(Image rImage)
Image
swap in interface ImagerImage - The other imagepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||