org.japura.task.listener
Class InputEventBlockerListener

java.lang.Object
  extended by org.japura.task.listener.InputEventBlockerListener
All Implemented Interfaces:
TaskManagerListener

public class InputEventBlockerListener
extends java.lang.Object
implements TaskManagerListener

Copyright (C) 2011 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Constructor Summary
InputEventBlockerListener()
           
 
Method Summary
 void afterExecute(Task<?> task)
           
 void beforeExecute(Task<?> task)
           
 void removed(Task<?> task)
           
protected  void setEnabled(boolean enabled)
           
 void submitted(Task<?> task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputEventBlockerListener

public InputEventBlockerListener()
Method Detail

submitted

public void submitted(Task<?> task)
Specified by:
submitted in interface TaskManagerListener

beforeExecute

public void beforeExecute(Task<?> task)
Specified by:
beforeExecute in interface TaskManagerListener

afterExecute

public void afterExecute(Task<?> task)
Specified by:
afterExecute in interface TaskManagerListener

setEnabled

protected void setEnabled(boolean enabled)

removed

public void removed(Task<?> task)
Specified by:
removed in interface TaskManagerListener