|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.layout.GridLayoutControl
public class GridLayoutControl
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)
Attach this control to the given component. |
void |
detachFrom(javax.swing.JComponent component)
Detach this control from the given component. |
boolean |
isEnabled()
Returns whether this control is enabled |
void |
setEnabled(boolean enabled)
Enable or disable this control |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridLayoutControl(GridLayout3D gridLayout, de.javagl.swogl.SwoglContainer swoglContainer)
GridLayout3D
.
gridLayout
- The layoutswoglContainer
- The SwoglContainerMethod Detail |
---|
public void attachTo(javax.swing.JComponent component)
Control
Control.detachFrom(JComponent)
method has to be called.
attachTo
in interface Control
component
- The component to attach topublic void detachFrom(javax.swing.JComponent component)
Control
Control.attachTo(JComponent)
was called.
detachFrom
in interface Control
component
- The component to detach frompublic void setEnabled(boolean enabled)
Control
setEnabled
in interface Control
enabled
- Whether this control is enabledpublic boolean isEnabled()
Control
isEnabled
in interface Control
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |