Top Description Methods
com.jogamp.nativewindow.util

public Interface InsetsImmutable

extends WriteCloneable
Known Direct Implementers
com.jogamp.nativewindow.util.Insets
Imports
com.jogamp.common.type.WriteCloneable

Immutable insets representing rectangular window decoration insets on all four edges in window units.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the two Insets are equal; otherwise false.
equals
(Object obj)

Checks whether two rect objects are equal.

public int

Returns:

bottom inset height in window units.
getBottomHeight
()

public int

Returns:

left inset width in window units.
getLeftWidth
()

public int

Returns:

right inset width in window units.
getRightWidth
()

public int

Returns:

top inset height in window units.
getTopHeight
()

public int

Returns:

total height in window units, ie. top_height + bottom_height
getTotalHeight
()

public int

Returns:

total width in window units, ie. left_width + right_width
getTotalWidth
()

public int
Inherited from com.jogamp.common.type.WriteCloneable:
cloneMutable

Method Detail

equalsback to summary
public 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.

Returns:boolean

true if the two Insets are equal; otherwise false.

Annotations
@Override
getBottomHeightback to summary
public int getBottomHeight()
Returns:int

bottom inset height in window units.

getLeftWidthback to summary
public int getLeftWidth()
Returns:int

left inset width in window units.

getRightWidthback to summary
public int getRightWidth()
Returns:int

right inset width in window units.

getTopHeightback to summary
public int getTopHeight()
Returns:int

top inset height in window units.

getTotalHeightback to summary
public int getTotalHeight()
Returns:int

total height in window units, ie. top_height + bottom_height

getTotalWidthback to summary
public int getTotalWidth()
Returns:int

total width in window units, ie. left_width + right_width

hashCodeback to summary
public int hashCode()
Annotations
@Override