de.javagl.swogl.layout
Class BrowseLayout3D

java.lang.Object
  extended by de.javagl.swogl.layout.BrowseLayout3D
All Implemented Interfaces:
de.javagl.swogl.layout.LayoutManager3D

public class BrowseLayout3D
extends java.lang.Object
implements de.javagl.swogl.layout.LayoutManager3D

An implementation of the LayoutManager3D interface that allows browsing through the components. It arranges the components of a SwoglContainer along the view direction, and may give a browsable overview over the components.


Constructor Summary
BrowseLayout3D()
          Creates a new BrowseLayout
 
Method Summary
 void doLayout3D()
           
 void scrollAbout(int steps)
          Scroll through the components for the given number of steps
 void setBrowseModeActivated(boolean activated)
          Set the browse mode (overview mode) activation status
 void setSwoglContainer(de.javagl.swogl.SwoglContainer swoglContainer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowseLayout3D

public BrowseLayout3D()
Creates a new BrowseLayout

Method Detail

setBrowseModeActivated

public void setBrowseModeActivated(boolean activated)
Set the browse mode (overview mode) activation status

Parameters:
activated - The browse mode activation status

setSwoglContainer

public void setSwoglContainer(de.javagl.swogl.SwoglContainer swoglContainer)
Specified by:
setSwoglContainer in interface de.javagl.swogl.layout.LayoutManager3D

doLayout3D

public void doLayout3D()
Specified by:
doLayout3D in interface de.javagl.swogl.layout.LayoutManager3D

scrollAbout

public void scrollAbout(int steps)
Scroll through the components for the given number of steps

Parameters:
steps - The number of steps