|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Mutable insets representing rectangular window decoration insets on all four edges in window units. More...
Public Member Functions | |
| Insets () | |
| Insets (final int left, final int right, final int top, final int bottom) | |
| Object | cloneMutable () |
| final int | getLeftWidth () |
| final int | getRightWidth () |
| final int | getTotalWidth () |
| final int | getTopHeight () |
| final int | getBottomHeight () |
| final int | getTotalHeight () |
| final void | set (final int left, final int right, final int top, final int bottom) |
| Set the inset values of this instance in window units. More... | |
| final void | setLeftWidth (final int left) |
| Set the left inset value of this instance in window units. More... | |
| final void | setRightWidth (final int right) |
| Set the right inset value of this instance in window units. More... | |
| final void | setTopHeight (final int top) |
| Set the top inset value of this instance in window units. More... | |
| final void | setBottomHeight (final int bottom) |
| Set the bottom inset value of this instance in window units. More... | |
| boolean | equals (final Object obj) |
| Checks whether two rect objects are equal. More... | |
| int | hashCode () |
| String | toString () |
| int | getLeftWidth () |
| int | getRightWidth () |
| int | getTotalWidth () |
| int | getTopHeight () |
| int | getBottomHeight () |
| int | getTotalHeight () |
| boolean | equals (Object obj) |
| Checks whether two rect objects are equal. More... | |
| int | hashCode () |
Static Public Member Functions | |
| static final InsetsImmutable | getZero () |
Protected Member Functions | |
| Object | clone () |
Mutable insets representing rectangular window decoration insets on all four edges in window units.
Definition at line 35 of file Insets.java.
| com.jogamp.nativewindow.util.Insets.Insets | ( | ) |
| com.jogamp.nativewindow.util.Insets.Insets | ( | final int | left, |
| final int | right, | ||
| final int | top, | ||
| final int | bottom | ||
| ) |
Definition at line 45 of file Insets.java.
|
protected |
| Object com.jogamp.nativewindow.util.Insets.cloneMutable | ( | ) |
| boolean com.jogamp.nativewindow.util.Insets.equals | ( | final 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.
true if the two Insets are equal; otherwise false. Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 111 of file Insets.java.
| final int com.jogamp.nativewindow.util.Insets.getBottomHeight | ( | ) |
Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 75 of file Insets.java.
| final int com.jogamp.nativewindow.util.Insets.getLeftWidth | ( | ) |
Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 67 of file Insets.java.
| final int com.jogamp.nativewindow.util.Insets.getRightWidth | ( | ) |
Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 69 of file Insets.java.
| final int com.jogamp.nativewindow.util.Insets.getTopHeight | ( | ) |
Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 73 of file Insets.java.
| final int com.jogamp.nativewindow.util.Insets.getTotalHeight | ( | ) |
top_height + bottom_height Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 77 of file Insets.java.
| final int com.jogamp.nativewindow.util.Insets.getTotalWidth | ( | ) |
left_width + right_width Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 71 of file Insets.java.
|
static |
Definition at line 37 of file Insets.java.
| int com.jogamp.nativewindow.util.Insets.hashCode | ( | ) |
Implements com.jogamp.nativewindow.util.InsetsImmutable.
Definition at line 122 of file Insets.java.
| final void com.jogamp.nativewindow.util.Insets.set | ( | final int | left, |
| final int | right, | ||
| final int | top, | ||
| final int | bottom | ||
| ) |
Set the inset values of this instance in window units.
| left | left inset width in window units. |
| right | right inset width in window units. |
| top | top inset width in window units. |
| bottom | bottom inset width in window units. |
Definition at line 86 of file Insets.java.
| final void com.jogamp.nativewindow.util.Insets.setBottomHeight | ( | final int | bottom | ) |
Set the bottom inset value of this instance in window units.
| bottom | bottom inset width in window units. |
Definition at line 108 of file Insets.java.
| final void com.jogamp.nativewindow.util.Insets.setLeftWidth | ( | final int | left | ) |
Set the left inset value of this instance in window units.
| left | left inset width in window units. |
Definition at line 93 of file Insets.java.
| final void com.jogamp.nativewindow.util.Insets.setRightWidth | ( | final int | right | ) |
Set the right inset value of this instance in window units.
| right | right inset width in window units. |
Definition at line 98 of file Insets.java.
| final void com.jogamp.nativewindow.util.Insets.setTopHeight | ( | final int | top | ) |
Set the top inset value of this instance in window units.
| top | top inset width in window units. |
Definition at line 103 of file Insets.java.
| String com.jogamp.nativewindow.util.Insets.toString | ( | ) |