JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.util.DimensionImmutable Interface Reference

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

Inheritance diagram for com.jogamp.nativewindow.util.DimensionImmutable:
Collaboration diagram for com.jogamp.nativewindow.util.DimensionImmutable:

Public Member Functions

int getHeight ()
 
int getWidth ()
 
int compareTo (final DimensionImmutable d)
 
boolean equals (Object obj)
 Checks whether two dimensions objects are equal. More...
 
int hashCode ()
 

Detailed Description

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

  • width
  • height

Definition at line 40 of file DimensionImmutable.java.

Member Function Documentation

◆ compareTo()

int com.jogamp.nativewindow.util.DimensionImmutable.compareTo ( final DimensionImmutable  d)

Compares square of size.

Implemented in com.jogamp.nativewindow.util.Dimension.

Here is the caller graph for this function:

◆ equals()

boolean com.jogamp.nativewindow.util.DimensionImmutable.equals ( Object  obj)

Checks whether two dimensions objects are equal.

Two instances of DimensionReadOnly are equal if two components height and width are equal.

Returns
true if the two dimensions are equal; otherwise false.

Implemented in com.jogamp.nativewindow.util.Dimension.

Here is the caller graph for this function:

◆ getHeight()

int com.jogamp.nativewindow.util.DimensionImmutable.getHeight ( )

Implemented in com.jogamp.nativewindow.util.Dimension.

Here is the caller graph for this function:

◆ getWidth()

int com.jogamp.nativewindow.util.DimensionImmutable.getWidth ( )

Implemented in com.jogamp.nativewindow.util.Dimension.

Here is the caller graph for this function:

◆ hashCode()

int com.jogamp.nativewindow.util.DimensionImmutable.hashCode ( )

Implemented in com.jogamp.nativewindow.util.Dimension.

Here is the caller graph for this function:

The documentation for this interface was generated from the following file: