com.teamdev.jxcapture.image.operation.controllers
Class ScreenObjectController

java.lang.Object
  extended by com.teamdev.jxcapture.image.operation.controllers.SelectionController
      extended by com.teamdev.jxcapture.image.operation.controllers.ScreenObjectController

public class ScreenObjectController
extends SelectionController

The specified controller for processing the mouse and key events during the capture of the screen object.


Field Summary
 
Fields inherited from class com.teamdev.jxcapture.image.operation.controllers.SelectionController
captureListener
 
Constructor Summary
ScreenObjectController(SelectionPainter painter)
           
 
Method Summary
 SelectionPainter getSelectionPainter()
          Returns a SelectionPainter object.
 boolean onKeyAction(java.awt.event.KeyEvent event)
          Invoked when a key action has occurred.
 boolean onMouseAction(java.awt.event.MouseEvent event)
          Invoked when a mouse action has occurred.
 
Methods inherited from class com.teamdev.jxcapture.image.operation.controllers.SelectionController
activate, fireCancelAction, fireCompleteAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenObjectController

public ScreenObjectController(SelectionPainter painter)
Method Detail

onKeyAction

public boolean onKeyAction(java.awt.event.KeyEvent event)
Description copied from class: SelectionController
Invoked when a key action has occurred.

Specified by:
onKeyAction in class SelectionController
Returns:
If need repaint returns true, otherwise - false

onMouseAction

public boolean onMouseAction(java.awt.event.MouseEvent event)
Description copied from class: SelectionController
Invoked when a mouse action has occurred.

Specified by:
onMouseAction in class SelectionController
Returns:
If need repaint returns true, otherwise - false

getSelectionPainter

public SelectionPainter getSelectionPainter()
Description copied from class: SelectionController
Returns a SelectionPainter object.

Specified by:
getSelectionPainter in class SelectionController