|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.layout.GridLayout3D
public class GridLayout3D
An implementation of the LayoutManager3D interface that lays out the SwoglComponents in a grid.
Constructor Summary | |
---|---|
GridLayout3D(int rows,
int columns)
Creates a new GridLayout3D that lays out the SwoglComponents of a SwoglContainer in a grid with the given number of rows and columns and with no space between the components. |
|
GridLayout3D(int rows,
int columns,
int hGap,
int vGap)
Creates a new GridLayout3D that lays out the SwoglComponents of a SwoglContainer in a grid with the given number of rows and columns and with the given spacing between the components. |
Method Summary | |
---|---|
void |
doLayout3D()
|
void |
setSwoglContainer(de.javagl.swogl.SwoglContainer swoglContainer)
|
void |
zoomTo(de.javagl.swogl.SwoglComponent swoglComponent)
Zoom to the given SwoglComponent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridLayout3D(int rows, int columns, int hGap, int vGap)
rows
- The rows of the gridcolumns
- The columns of the grid.hGap
- The horizontal gap between componentsvGap
- The vertical gap between componentspublic GridLayout3D(int rows, int columns)
rows
- The rows of the gridcolumns
- The columns of the grid.Method Detail |
---|
public void setSwoglContainer(de.javagl.swogl.SwoglContainer swoglContainer)
setSwoglContainer
in interface de.javagl.swogl.layout.LayoutManager3D
public void doLayout3D()
doLayout3D
in interface de.javagl.swogl.layout.LayoutManager3D
public void zoomTo(de.javagl.swogl.SwoglComponent swoglComponent)
swoglComponent
- The SwoglComponent to zoom to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |