de.javagl.swogl.layout
Class GridLayoutControl

java.lang.Object
  extended by de.javagl.swogl.layout.GridLayoutControl
All Implemented Interfaces:
de.javagl.swogl.interaction.Control

public class GridLayoutControl
extends java.lang.Object
implements de.javagl.swogl.interaction.Control

Implementation of a Control for a GridLayout3D.


Constructor Summary
GridLayoutControl(GridLayout3D gridLayout, de.javagl.swogl.SwoglContainer swoglContainer)
          Creates a new GridLayoutControl for the given GridLayout3D.
 
Method Summary
 void attachTo(javax.swing.JComponent component)
           
 void detachFrom(javax.swing.JComponent component)
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridLayoutControl

public GridLayoutControl(GridLayout3D gridLayout,
                         de.javagl.swogl.SwoglContainer swoglContainer)
Creates a new GridLayoutControl for the given GridLayout3D.

Parameters:
gridLayout - The layout
swoglContainer - The SwoglContainer
Method Detail

attachTo

public void attachTo(javax.swing.JComponent component)
Specified by:
attachTo in interface de.javagl.swogl.interaction.Control

detachFrom

public void detachFrom(javax.swing.JComponent component)
Specified by:
detachFrom in interface de.javagl.swogl.interaction.Control

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface de.javagl.swogl.interaction.Control

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface de.javagl.swogl.interaction.Control