JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.graph.ui.layout.Alignment Class Reference

Immutable layout alignment options, including Bit#Fill. More...

Collaboration diagram for com.jogamp.graph.ui.layout.Alignment:

Classes

enum  Bit
 

Public Member Functions

 Alignment (final List< Bit > v)
 
 Alignment (final Bit v)
 
 Alignment (final int v)
 
boolean isSet (final Bit bit)
 
boolean isSet (final List< Bit > bits)
 
boolean isSet (final int bits)
 
String toString ()
 
boolean equals (final Object other)
 

Static Public Member Functions

static int getBits (final List< Bit > v)
 

Public Attributes

final int mask
 

Static Public Attributes

static final Alignment None = new Alignment()
 No alignment constant. More...
 
static final Alignment Center = new Alignment(Alignment.Bit.CenterHoriz.value | Alignment.Bit.CenterVert.value )
 Bit#CenterHoriz and Bit#CenterVert alignment constant. More...
 
static final Alignment CenterHoriz = new Alignment(Alignment.Bit.CenterHoriz.value )
 Bit#CenterHoriz alignment constant. More...
 
static final Alignment Fill = new Alignment(Alignment.Bit.Fill.value)
 Bit#Fill alignment constant. More...
 
static final Alignment FillCenter = new Alignment(Alignment.Bit.Fill.value | Alignment.Bit.CenterHoriz.value | Alignment.Bit.CenterVert.value)
 Bit#Fill, Bit#CenterHoriz and Bit#CenterVert alignment constant. More...
 

Detailed Description

Immutable layout alignment options, including Bit#Fill.

Definition at line 35 of file Alignment.java.

Constructor & Destructor Documentation

◆ Alignment() [1/3]

com.jogamp.graph.ui.layout.Alignment.Alignment ( final List< Bit v)

Definition at line 81 of file Alignment.java.

Here is the call graph for this function:

◆ Alignment() [2/3]

com.jogamp.graph.ui.layout.Alignment.Alignment ( final Bit  v)

Definition at line 84 of file Alignment.java.

◆ Alignment() [3/3]

com.jogamp.graph.ui.layout.Alignment.Alignment ( final int  v)

Definition at line 87 of file Alignment.java.

Member Function Documentation

◆ equals()

boolean com.jogamp.graph.ui.layout.Alignment.equals ( final Object  other)

Definition at line 118 of file Alignment.java.

◆ getBits()

static int com.jogamp.graph.ui.layout.Alignment.getBits ( final List< Bit v)
static

Definition at line 74 of file Alignment.java.

Here is the caller graph for this function:

◆ isSet() [1/3]

boolean com.jogamp.graph.ui.layout.Alignment.isSet ( final Bit  bit)

Definition at line 94 of file Alignment.java.

Here is the caller graph for this function:

◆ isSet() [2/3]

boolean com.jogamp.graph.ui.layout.Alignment.isSet ( final int  bits)

Definition at line 96 of file Alignment.java.

◆ isSet() [3/3]

boolean com.jogamp.graph.ui.layout.Alignment.isSet ( final List< Bit bits)

Definition at line 95 of file Alignment.java.

Here is the call graph for this function:

◆ toString()

String com.jogamp.graph.ui.layout.Alignment.toString ( )

Definition at line 99 of file Alignment.java.

Here is the call graph for this function:

Member Data Documentation

◆ Center

final Alignment com.jogamp.graph.ui.layout.Alignment.Center = new Alignment(Alignment.Bit.CenterHoriz.value | Alignment.Bit.CenterVert.value )
static

Bit#CenterHoriz and Bit#CenterVert alignment constant.

Definition at line 39 of file Alignment.java.

◆ CenterHoriz

final Alignment com.jogamp.graph.ui.layout.Alignment.CenterHoriz = new Alignment(Alignment.Bit.CenterHoriz.value )
static

Bit#CenterHoriz alignment constant.

Definition at line 41 of file Alignment.java.

◆ Fill

final Alignment com.jogamp.graph.ui.layout.Alignment.Fill = new Alignment(Alignment.Bit.Fill.value)
static

Bit#Fill alignment constant.

Definition at line 43 of file Alignment.java.

◆ FillCenter

final Alignment com.jogamp.graph.ui.layout.Alignment.FillCenter = new Alignment(Alignment.Bit.Fill.value | Alignment.Bit.CenterHoriz.value | Alignment.Bit.CenterVert.value)
static

Bit#Fill, Bit#CenterHoriz and Bit#CenterVert alignment constant.

Definition at line 45 of file Alignment.java.

◆ mask

final int com.jogamp.graph.ui.layout.Alignment.mask

Definition at line 72 of file Alignment.java.

◆ None

final Alignment com.jogamp.graph.ui.layout.Alignment.None = new Alignment()
static

No alignment constant.

Definition at line 37 of file Alignment.java.


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