de.javagl.swogl.layout
Class WheelLayoutControl

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

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

Implementation of a Control for a WheelLayout3D.


Constructor Summary
WheelLayoutControl(WheelLayout3D wheelLayout)
          Creates a new WheelLayoutControl that controls the given layout.
 
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

WheelLayoutControl

public WheelLayoutControl(WheelLayout3D wheelLayout)
Creates a new WheelLayoutControl that controls the given layout.

Parameters:
wheelLayout - The controlled layout
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