Package com.bc.ceres.swing.figure
Interface Interactor
-
- All Superinterfaces:
EventListener
,KeyListener
,MouseListener
,MouseMotionListener
- All Known Implementing Classes:
AbstractInteractor
,FigureEditorInteractor
,InsertEllipseFigureInteractor
,InsertLineFigureInteractor
,InsertMultiPointFigureInteractor
,InsertPolygonFigureInteractor
,InsertPolylineFigureInteractor
,InsertRectangleFigureInteractor
,InsertRectangularFigureInteractor
,NullInteractor
,PanInteractor
,SelectionInteractor
,ViewportInteractor
,ZoomInteractor
public interface Interactor extends MouseListener, MouseMotionListener, KeyListener
Interactors catch user input to aFigureEditor
component and translate them into behaviour.- Since:
- Ceres 0.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
activate()
void
addListener(InteractorListener l)
void
deactivate()
Cursor
getCursor()
InteractorListener[]
getListeners()
boolean
isActive()
void
removeListener(InteractorListener l)
-
Methods inherited from interface java.awt.event.KeyListener
keyPressed, keyReleased, keyTyped
-
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
-
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
-
-
-
-
Method Detail
-
getCursor
Cursor getCursor()
-
isActive
boolean isActive()
-
activate
boolean activate()
-
deactivate
void deactivate()
-
addListener
void addListener(InteractorListener l)
-
removeListener
void removeListener(InteractorListener l)
-
getListeners
InteractorListener[] getListeners()
-
-