public abstract class AbstractLensSupport extends java.lang.Object implements LensSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractLensSupport.Lens
the background for the hyperbolic projection
|
static class |
AbstractLensSupport.LensControls
the background for the hyperbolic projection
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
defaultToolTipText |
protected VisualizationViewer.GraphMouse |
graphMouse |
protected static java.lang.String |
instructions |
protected AbstractLensSupport.Lens |
lens |
protected AbstractLensSupport.LensControls |
lensControls |
protected ModalGraphMouse |
lensGraphMouse |
protected LensTransformer |
lensTransformer |
protected MutableTransformer |
savedViewTransformer |
protected VisualizationViewer |
vv |
| Constructor and Description |
|---|
AbstractLensSupport(VisualizationViewer vv,
ModalGraphMouse lensGraphMouse)
create the base class, setting common members and creating
a custom GraphMouse
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate(boolean state) |
ModalGraphMouse |
getGraphMouse() |
LensTransformer |
getLensTransformer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate, deactivateprotected VisualizationViewer vv
protected VisualizationViewer.GraphMouse graphMouse
protected MutableTransformer savedViewTransformer
protected LensTransformer lensTransformer
protected ModalGraphMouse lensGraphMouse
protected AbstractLensSupport.Lens lens
protected AbstractLensSupport.LensControls lensControls
protected java.lang.String defaultToolTipText
protected static final java.lang.String instructions
public AbstractLensSupport(VisualizationViewer vv, ModalGraphMouse lensGraphMouse)
vv - the VisualizationViewer to work onpublic void activate(boolean state)
activate in interface LensSupportpublic LensTransformer getLensTransformer()
getLensTransformer in interface LensSupportpublic ModalGraphMouse getGraphMouse()
getGraphMouse in interface LensSupport