javax.media.nativewindow.util
Interface DimensionReadOnly

All Superinterfaces:
Cloneable
All Known Implementing Classes:
Dimension

public interface DimensionReadOnly
extends Cloneable

Immutable Dimension Interface, consisting of it's read only components:


Method Summary
 boolean equals(Object obj)
          Checks whether two dimensions objects are equal.
 int getHeight()
           
 int getWidth()
           
 int hashCode()
           
 

Method Detail

getHeight

int getHeight()

getWidth

int getWidth()

equals

boolean equals(Object obj)
Checks whether two dimensions objects are equal. Two instances of DimensionReadOnly are equal if two components height and width are equal.

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

hashCode

int hashCode()
Overrides:
hashCode in class Object


Copyright 2010 JogAmp Community.