|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.layout.BrowseLayoutControl
public class BrowseLayoutControl
Simple implementation of a Control
for the default
behavior of a BrowseLayout3D
.
Constructor Summary | |
---|---|
BrowseLayoutControl(BrowseLayout3D browseLayout)
Creates a new BrowseLayoutControl for the given BrowseLayout3D . |
Method Summary | |
---|---|
void |
attachTo(javax.swing.JComponent component)
Attach this control to the given component. |
protected void |
browseModeActivated(boolean activated)
Will be called when the "browse mode" is activated. |
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 BrowseLayoutControl(BrowseLayout3D browseLayout)
BrowseLayout3D
.
browseLayout
- The layoutMethod Detail |
---|
protected void browseModeActivated(boolean activated)
activated
- Whether the browse mode is activatedpublic 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 |