Package com.jogamp.graph.ui.layout
Class Gap
- java.lang.Object
-
- com.jogamp.graph.ui.layout.Gap
-
public class Gap extends Object
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
height()
Return scaled height of vertical value, i.e.String
toString()
float
width()
Return scaled width of horizontal value, i.e.boolean
zeroSumHeight()
boolean
zeroSumSize()
boolean
zeroSumWidth()
-
-
-
Field Detail
-
None
public static final Gap None
Zero gap constant.
-
row
public final float row
Scaled row gap value, vertical spacing.
-
column
public final float column
Scaled column gap value, horizontal spacing.
-
-
Method Detail
-
width
public float width()
Return scaled width of horizontal value, i.e. 1 * column.
-
height
public float height()
Return scaled height of vertical value, i.e. 1 * row.
-
zeroSumWidth
public boolean zeroSumWidth()
-
zeroSumHeight
public boolean zeroSumHeight()
-
zeroSumSize
public boolean zeroSumSize()
-
-