Class NullInteractor
- java.lang.Object
-
- com.bc.ceres.swing.figure.interactions.NullInteractor
-
- All Implemented Interfaces:
Interactor
,KeyListener
,MouseListener
,MouseMotionListener
,EventListener
public final class NullInteractor extends Object implements Interactor
-
-
Field Summary
Fields Modifier and Type Field Description static NullInteractor
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
activate()
void
addListener(InteractorListener l)
void
deactivate()
Cursor
getCursor()
InteractorListener[]
getListeners()
boolean
isActive()
void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)
void
keyTyped(KeyEvent e)
void
mouseClicked(MouseEvent e)
void
mouseDragged(MouseEvent e)
void
mouseEntered(MouseEvent e)
void
mouseExited(MouseEvent e)
void
mouseMoved(MouseEvent e)
void
mousePressed(MouseEvent e)
void
mouseReleased(MouseEvent e)
void
removeListener(InteractorListener l)
-
-
-
Field Detail
-
INSTANCE
public static final NullInteractor INSTANCE
-
-
Method Detail
-
getCursor
public Cursor getCursor()
- Specified by:
getCursor
in interfaceInteractor
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceInteractor
-
activate
public boolean activate()
- Specified by:
activate
in interfaceInteractor
-
deactivate
public void deactivate()
- Specified by:
deactivate
in interfaceInteractor
-
addListener
public void addListener(InteractorListener l)
- Specified by:
addListener
in interfaceInteractor
-
removeListener
public void removeListener(InteractorListener l)
- Specified by:
removeListener
in interfaceInteractor
-
getListeners
public InteractorListener[] getListeners()
- Specified by:
getListeners
in interfaceInteractor
-
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interfaceMouseListener
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interfaceKeyListener
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interfaceKeyListener
-
-