|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
GraphUI Stack Group.Layout.
More...
Public Member Functions | |
| BoxLayout () | |
| BoxLayout (final Padding padding) | |
| BoxLayout (final float cellWidth, final float cellHeight, final Alignment alignment) | |
| BoxLayout (final float cellWidth, final float cellHeight, final Margin margin) | |
| BoxLayout (final float cellWidth, final float cellHeight, final Padding padding) | |
| BoxLayout (final float cellWidth, final float cellHeight, final Margin margin, final Padding padding) | |
| BoxLayout (final float cellWidth, final float cellHeight, final Alignment alignment, final Margin margin) | |
| BoxLayout (final float cellWidth, final float cellHeight, final Alignment alignment, final Padding padding) | |
| BoxLayout (final float cellWidth, final float cellHeight, final Alignment alignment, final Margin margin, final Padding padding) | |
| Vec2f | getCellSize () |
| Returns the preset cell size. More... | |
| Alignment | getAlignment () |
Returns given Alignment. More... | |
| Margin | getMargin () |
Returns given scaled Margin. More... | |
| Padding | getPadding () |
Returns given unscaled Padding, may be null if not given via constructor. More... | |
| void | preValidate (final Shape s) |
Prepare given Shape before validation, e.g. More... | |
| void | layout (final Group g, final AABBox box, final PMVMatrix4f pmv) |
Performing the layout of Group#getShapes(), called @ Shape#validate(GL2ES2) or Shape#validate(GLProfile). More... | |
| String | toString () |
| void | preValidate (final Shape s) |
Prepare given Shape before validation, e.g. More... | |
| void | layout (final Group g, final AABBox box, final PMVMatrix4f pmv) |
Performing the layout of Group#getShapes(), called @ Shape#validate(GL2ES2) or Shape#validate(GLProfile). More... | |
GraphUI Stack Group.Layout.
A stack of Shapes
horizontally, vertically or both. Alignment#Fill Padding is applied to each {@Shape} via Shape#setPaddding(Padding) if passed in constructor and is scaled if Alignment.Bit#Fill Margin is applied unscaled if used and ignored with only center Alignment w/o additional scaling Alignment: Top, Right, Bottom, Left Definition at line 53 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | ) |
Definition at line 66 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final Padding | padding | ) |
| padding | unscaled Padding applied to each {@Shape} via Shape#setPaddding(Padding) and is scaled if Alignment.Bit#Fill |
Definition at line 74 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final float | cellWidth, |
| final float | cellHeight, | ||
| final Alignment | alignment | ||
| ) |
| cellWidth | optional cell width, zero for none |
| cellHeight | optional cell height, zero for none |
| alignment |
Definition at line 84 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final float | cellWidth, |
| final float | cellHeight, | ||
| final Margin | margin | ||
| ) |
| cellWidth | optional cell width, zero for none |
| cellHeight | optional cell height, zero for none |
| margin | scaled Margin is applied unscaled and ignored with only center Alignment w/o additional scaling |
Definition at line 94 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final float | cellWidth, |
| final float | cellHeight, | ||
| final Padding | padding | ||
| ) |
| cellWidth | optional cell width, zero for none |
| cellHeight | optional cell height, zero for none |
| padding | unscaled Padding applied to each {@Shape} via Shape#setPaddding(Padding) and is scaled if Alignment.Bit#Fill |
Definition at line 104 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final float | cellWidth, |
| final float | cellHeight, | ||
| final Margin | margin, | ||
| final Padding | padding | ||
| ) |
| cellWidth | optional cell width, zero for none |
| cellHeight | optional cell height, zero for none |
| margin | scaled Margin is applied unscaled and ignored with only center Alignment w/o additional scaling |
| padding | unscaled Padding applied to each {@Shape} via Shape#setPaddding(Padding) and is scaled if Alignment.Bit#Fill |
Definition at line 115 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final float | cellWidth, |
| final float | cellHeight, | ||
| final Alignment | alignment, | ||
| final Margin | margin | ||
| ) |
| cellWidth | optional cell width, zero for none |
| cellHeight | optional cell height, zero for none |
| margin | scaled Margin is applied unscaled |
Definition at line 125 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final float | cellWidth, |
| final float | cellHeight, | ||
| final Alignment | alignment, | ||
| final Padding | padding | ||
| ) |
| cellWidth | optional cell width, zero for none |
| cellHeight | optional cell height, zero for none |
| alignment | |
| padding | unscaled Padding applied to each {@Shape} via Shape#setPaddding(Padding) and is scaled if Alignment.Bit#Fill |
Definition at line 136 of file BoxLayout.java.
| com.jogamp.graph.ui.layout.BoxLayout.BoxLayout | ( | final float | cellWidth, |
| final float | cellHeight, | ||
| final Alignment | alignment, | ||
| final Margin | margin, | ||
| final Padding | padding | ||
| ) |
| cellWidth | optional cell width, zero for none |
| cellHeight | optional cell height, zero for none |
| alignment | |
| margin | scaled Margin is applied unscaled and ignored with only center Alignment w/o additional scaling |
| padding | unscaled Padding applied to each {@Shape} via Shape#setPaddding(Padding) and is scaled if Alignment.Bit#Fill |
Definition at line 148 of file BoxLayout.java.
| Alignment com.jogamp.graph.ui.layout.BoxLayout.getAlignment | ( | ) |
Returns given Alignment.
Definition at line 159 of file BoxLayout.java.
| Vec2f com.jogamp.graph.ui.layout.BoxLayout.getCellSize | ( | ) |
Returns the preset cell size.
Definition at line 157 of file BoxLayout.java.
| Margin com.jogamp.graph.ui.layout.BoxLayout.getMargin | ( | ) |
Returns given scaled Margin.
Definition at line 161 of file BoxLayout.java.
| Padding com.jogamp.graph.ui.layout.BoxLayout.getPadding | ( | ) |
Returns given unscaled Padding, may be null if not given via constructor.
Definition at line 163 of file BoxLayout.java.
| void com.jogamp.graph.ui.layout.BoxLayout.layout | ( | final Group | g, |
| final AABBox | box, | ||
| final PMVMatrix4f | pmv | ||
| ) |
Performing the layout of Group#getShapes(), called @ Shape#validate(GL2ES2) or Shape#validate(GLProfile).
According to the implemented layout, method
PMVMatrix4f pmvAABBox box | g | the Group to layout |
| box | the bounding box of Group to be updated by this method. |
| pmv | a PMVMatrix4f which can be reused. |
Implements com.jogamp.graph.ui.Group.Layout.
Definition at line 173 of file BoxLayout.java.
| void com.jogamp.graph.ui.layout.BoxLayout.preValidate | ( | final Shape | s | ) |
Prepare given Shape before validation, e.g.
Implements com.jogamp.graph.ui.Group.Layout.
Definition at line 166 of file BoxLayout.java.
| String com.jogamp.graph.ui.layout.BoxLayout.toString | ( | ) |