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
Shapes - 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 MargingetMargin()PaddinggetPadding()voidlayout(Group g, AABBox box, PMVMatrix pmv)Performing the layout ofGroup.getShapes(), called @Shape.validate(GL2ES2)orShape.validate(GLProfile).StringtoString()
-
-
-
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.LayoutPerforming 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:
layoutin interfaceGroup.Layout- Parameters:
g- theGroupto layoutbox- the bounding box ofGroupto be updated by this method.pmv- aPMVMatrixwhich can be reused.
-
-