Package com.jogamp.graph.ui.layout
Class BoxLayout
- java.lang.Object
-
- com.jogamp.graph.ui.layout.BoxLayout
-
- All Implemented Interfaces:
Group.Layout
public class BoxLayout extends Object implements Group.Layout
GraphUI StackGroup.Layout
.A stack of
Shape
s - Size kept unscaled - Position depends on andMargin
- Cell size can be set
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Margin
getMargin()
Padding
getPadding()
void
layout(Group g, AABBox box, PMVMatrix pmv)
Performing the layout ofGroup.getShapes()
, called @Shape.validate(GL2ES2)
orShape.validate(GLProfile)
.String
toString()
-
-
-
Method Detail
-
getPadding
public Padding getPadding()
-
getMargin
public Margin getMargin()
-
layout
public void layout(Group g, AABBox box, PMVMatrix pmv)
Description copied from interface:Group.Layout
Performing the layout ofGroup.getShapes()
, called @Shape.validate(GL2ES2)
orShape.validate(GLProfile)
.According to the implemented layout, method - may scale the s - may move the s - may reuse the given
PMVMatrix
`pmv` - must update the givenAABBox
`box`- Specified by:
layout
in interfaceGroup.Layout
- Parameters:
g
- theGroup
to layoutbox
- the bounding box ofGroup
to be updated by this method.pmv
- aPMVMatrix
which can be reused.
-
-