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

GraphUI CSS property Gap, scaled spacing between (grid) cells not belonging to the cell element. More...

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

Public Member Functions

 Gap (final float row, final float column)
 Ctor. More...
 
 Gap (final float rc)
 Ctor. More...
 
float width ()
 Return scaled width of horizontal value, i.e. More...
 
float height ()
 Return scaled height of vertical value, i.e. More...
 
boolean zeroSumWidth ()
 
boolean zeroSumHeight ()
 
boolean zeroSumSize ()
 
String toString ()
 

Public Attributes

final float row
 Scaled row gap value, vertical spacing. More...
 
final float column
 Scaled column gap value, horizontal spacing. More...
 

Static Public Attributes

static final Gap None = new Gap()
 Zero gap constant. More...
 

Detailed Description

GraphUI CSS property Gap, scaled spacing between (grid) cells not belonging to the cell element.

The CSS gap property defines the size of the gap between the rows and columns in a grid layout.

Definition at line 38 of file Gap.java.

Constructor & Destructor Documentation

◆ Gap() [1/2]

com.jogamp.graph.ui.layout.Gap.Gap ( final float  row,
final float  column 
)

Ctor.

Parameters
rowscaled vertical row value
columnscaled horizontal column value

Definition at line 56 of file Gap.java.

◆ Gap() [2/2]

com.jogamp.graph.ui.layout.Gap.Gap ( final float  rc)

Ctor.

Parameters
rcscaled vertical row and horizontal column value

Definition at line 64 of file Gap.java.

Member Function Documentation

◆ height()

float com.jogamp.graph.ui.layout.Gap.height ( )

Return scaled height of vertical value, i.e.

1 * row.

Definition at line 72 of file Gap.java.

Here is the caller graph for this function:

◆ toString()

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

Definition at line 81 of file Gap.java.

Here is the caller graph for this function:

◆ width()

float com.jogamp.graph.ui.layout.Gap.width ( )

Return scaled width of horizontal value, i.e.

1 * column.

Definition at line 69 of file Gap.java.

Here is the caller graph for this function:

◆ zeroSumHeight()

boolean com.jogamp.graph.ui.layout.Gap.zeroSumHeight ( )

Definition at line 76 of file Gap.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zeroSumSize()

boolean com.jogamp.graph.ui.layout.Gap.zeroSumSize ( )

Definition at line 78 of file Gap.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zeroSumWidth()

boolean com.jogamp.graph.ui.layout.Gap.zeroSumWidth ( )

Definition at line 74 of file Gap.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ column

final float com.jogamp.graph.ui.layout.Gap.column

Scaled column gap value, horizontal spacing.

Definition at line 45 of file Gap.java.

◆ None

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

Zero gap constant.

Definition at line 40 of file Gap.java.

◆ row

final float com.jogamp.graph.ui.layout.Gap.row

Scaled row gap value, vertical spacing.

Definition at line 43 of file Gap.java.


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