public interface InteractiveFigureViewManager extends FigureViewManager
Details:
An InteractiveFigureViewManager
is the client interface to settings and methods related to a logical figure and its view.
All GUI components implementing the InteractiveFigureView
interface must provide access to an implementation of this interface via InteractiveFigureView.getFigureViewManager()
.
Modifier and Type | Method and Description |
---|---|
void |
addMouseButtonListener(Doodle iDoodle,
FigMouseButtonListener iListener)
Registers mouse button listener.
|
void |
addMouseMotionListener(Doodle iDoodle,
FigMouseMotionListener iListener)
Registers mouse motion listener.
|
void |
addMouseWheelListener(Doodle iDoodle,
FigMouseWheelListener iListener)
Registers mouse wheel listener.
|
void |
addTransformInteractor(TransformInteractor iInteractor)
Attaches transform interactor.
|
void |
removeMouseButtonListener(Doodle iDoodle,
FigMouseButtonListener iListener)
Unregisters mouse button listener.
|
void |
removeMouseMotionListener(Doodle iDoodle,
FigMouseMotionListener iListener)
Unregisters mouse motion listener.
|
void |
removeMouseWheelListener(Doodle iDoodle,
FigMouseWheelListener iListener)
Unregisters mouse wheel listener.
|
void |
removeTransformInteractor(TransformInteractor iInteractor)
Detaches transform interactor.
|
getDetailLevel, getFigure, getTransform, paint, setDetailLevel, setFigure
void addTransformInteractor(TransformInteractor iInteractor)
Details: This method attaches the given transform interactor to the view.
iInteractor
- the interactorvoid removeTransformInteractor(TransformInteractor iInteractor)
Details: This method detaches the given transform interactor from the view.
iInteractor
- the interactorvoid addMouseButtonListener(Doodle iDoodle, FigMouseButtonListener iListener)
Details: This method registers the given mouse button listener with the view and given doodle. When mouse button events occur in this view over the given doodle, those events will be transmitted to the listener through its callback methods.
iDoodle
- the doodleiListener
- the listenervoid removeMouseButtonListener(Doodle iDoodle, FigMouseButtonListener iListener)
Details: This method unregisters the given mouse button listener from the view and given doodle. The listener will no longer receive events related to the view and given doodle.
iDoodle
- the doodleiListener
- the listenervoid addMouseMotionListener(Doodle iDoodle, FigMouseMotionListener iListener)
Details: This method registers the given mouse motion listener with the view and given doodle. When mouse motion events occur in this view over the given doodle, those events will be transmitted to the listener through its callback methods.
iDoodle
- the doodleiListener
- the listenervoid removeMouseMotionListener(Doodle iDoodle, FigMouseMotionListener iListener)
Details: This method unregisters the given mouse motion listener from the view and given doodle. The listener will no longer receive events related to the view and given doodle.
iDoodle
- the doodleiListener
- the listenervoid addMouseWheelListener(Doodle iDoodle, FigMouseWheelListener iListener)
Details: This method registers the given mouse motion listener with the view and given doodle. When mouse wheel events (i.e. rotations) occur in this view over the given doodle, those events will be transmitted to the listener through its callback methods.
iDoodle
- the doodleiListener
- the listenervoid removeMouseWheelListener(Doodle iDoodle, FigMouseWheelListener iListener)
Details: This method unregisters the given mouse wheel listener from the view and given doodle. The listener will no longer receive events related to the view and given doodle.
iDoodle
- the doodleiListener
- the listenerCopyright © 2013. All Rights Reserved.