|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.layout.BrowseLayout3D
public class BrowseLayout3D
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()
Lays out the SwoglComponents in a SwoglContainer |
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(SwoglContainer swoglContainer)
This method will assign the given SwoglContainer to this LayoutManager3D. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrowseLayout3D()
Method Detail |
---|
public void setBrowseModeActivated(boolean activated)
activated
- The browse mode activation statuspublic void setSwoglContainer(SwoglContainer swoglContainer)
LayoutManager3D
SwoglContainer.setLayout3D(LayoutManager3D)
method,
the SwoglContainer will pass itself to this method. When a
different LayoutManager3D is assigned to the SwoglContainer,
then the SwoglContainer will call this method and pass 'null'
as the argument. This allows implementations of this interface
to perform an initialization when this LayoutManager3D becomes
assigned to a SwoglContainer, and necessary cleanup operations
when they are detached from a SwoglContainer.
setSwoglContainer
in interface LayoutManager3D
swoglContainer
- The SwoglContainer for this LayoutManager3Dpublic void doLayout3D()
LayoutManager3D
doLayout3D
in interface LayoutManager3D
public void scrollAbout(int steps)
steps
- The number of steps
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |