javax.media.nativewindow.util
Interface RectangleImmutable

All Superinterfaces:
WriteCloneable
All Known Implementing Classes:
Rectangle

public interface RectangleImmutable
extends WriteCloneable

Immutable Rectangle interface


Method Summary
 boolean equals(Object obj)
          Checks whether two rect objects are equal.
 int getHeight()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 int hashCode()
           
 
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
 

Method Detail

getHeight

int getHeight()

getWidth

int getWidth()

getX

int getX()

getY

int getY()

equals

boolean equals(Object obj)
Checks whether two rect objects are equal. Two instances of Rectangle are equal if the four integer values of the fields y, x, height, and width are all equal.

Overrides:
equals in class Object
Returns:
true if the two rectangles are equal; otherwise false.

hashCode

int hashCode()
Overrides:
hashCode in class Object


Copyright 2010 JogAmp Community.