javax.media.nativewindow.util
Interface InsetsImmutable

All Superinterfaces:
WriteCloneable
All Known Implementing Classes:
Insets

public interface InsetsImmutable
extends WriteCloneable

Immutable Rectangle interface


Method Summary
 boolean equals(Object obj)
          Checks whether two rect objects are equal.
 int getBottomHeight()
           
 int getLeftWidth()
           
 int getRightWidth()
           
 int getTopHeight()
           
 int getTotalHeight()
           
 int getTotalWidth()
           
 int hashCode()
           
 
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
 

Method Detail

getLeftWidth

int getLeftWidth()
Returns:
left inset width

getRightWidth

int getRightWidth()
Returns:
right inset width

getTotalWidth

int getTotalWidth()
Returns:
total width, ie. left_width + right_width

getTopHeight

int getTopHeight()
Returns:
top inset height

getBottomHeight

int getBottomHeight()
Returns:
bottom inset height

getTotalHeight

int getTotalHeight()
Returns:
total height, ie. top_height + bottom_height

equals

boolean equals(Object obj)
Checks whether two rect objects are equal. Two instances of Insets are equal if the four integer values of the fields left, right, top, and bottom are all equal.

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

hashCode

int hashCode()
Overrides:
hashCode in class Object


Copyright 2010 JogAmp Community.