public class DrawController extends Object
Modifier and Type | Field and Description |
---|---|
protected DragInteractor |
_dragInteractor
The interactor that drags objects by default
|
protected GraphicsPane |
_pane
The pane that this controller is associated with.
|
protected DragRegion |
_selectionDragger
The selection dragger
|
protected SelectionInteractor |
_selectionInteractor
The selection interactor.
|
protected SelectionRenderer |
_selectionRenderer
The selection renderer.
|
Constructor and Description |
---|
DrawController(GraphicsPane pane)
Create a new controller for the given pane
|
Modifier and Type | Method and Description |
---|---|
DragInteractor |
getDragInteractor()
Get the drag interactor
|
DragRegion |
getSelectionDragger()
Get the selection interactor
|
SelectionInteractor |
getSelectionInteractor()
Get the selection interactor
|
SelectionRenderer |
getSelectionRenderer()
Get the selection renderer
|
void |
setSelectionManipulator(Manipulator manipulator)
Set the prototype selection manipulator.
|
void |
setSelectionRenderer(SelectionRenderer renderer)
Set the selection renderer.
|
protected DragInteractor _dragInteractor
protected SelectionInteractor _selectionInteractor
protected SelectionRenderer _selectionRenderer
protected DragRegion _selectionDragger
protected GraphicsPane _pane
public DrawController(GraphicsPane pane)
public DragInteractor getDragInteractor()
public DragRegion getSelectionDragger()
public SelectionRenderer getSelectionRenderer()
public SelectionInteractor getSelectionInteractor()
public void setSelectionManipulator(Manipulator manipulator)
public void setSelectionRenderer(SelectionRenderer renderer)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.