|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.compat.trace.TraceController
public class TraceController
A controller for trace diagrams. This controller sets up all the interaction on the pane, and creates interactors and other objects that control how the surface responds to user interaction. Currently, the degree of parameterization is limited, but this will be increased in future.
Constructor Summary | |
---|---|
TraceController()
Create a new controller |
|
TraceController(GraphicsPane pane)
Create a new controller for the given pane |
Method Summary | |
---|---|
DragInteractor |
getDragInteractor()
Get the drag interactor |
SelectionDragger |
getSelectionDragger()
Get the selection interactor |
SelectionInteractor |
getSelectionInteractor()
Get the selection interactor |
SelectionRenderer |
getSelectionRenderer()
Get the selection renderer |
TraceModel |
getTraceModel()
Get the trace model. |
TraceView |
getTraceView()
Get the trace view. |
void |
initializeInteraction()
Initialize all interaction on the trace pane. |
void |
setSelectionManipulator(Manipulator manipulator)
Set the prototype selection manipulator. |
void |
setSelectionRenderer(SelectionRenderer renderer)
Set the selection renderer. |
void |
setTraceModel(TraceModel m)
Set the trace model that is being viewed. |
void |
setTraceView(TraceView view)
Set the view that this controller operates on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TraceController()
public TraceController(GraphicsPane pane)
Method Detail |
---|
public DragInteractor getDragInteractor()
public final TraceModel getTraceModel()
public final TraceView getTraceView()
public SelectionDragger getSelectionDragger()
public SelectionRenderer getSelectionRenderer()
public SelectionInteractor getSelectionInteractor()
public void initializeInteraction()
public void setTraceModel(TraceModel m)
public void setTraceView(TraceView view)
public void setSelectionManipulator(Manipulator manipulator)
public void setSelectionRenderer(SelectionRenderer renderer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |