java.de.TimeSlice
Interface ControlPanelListener

All Known Implementing Classes:
TaskManager

public interface ControlPanelListener

interface

ControlpanelListener
is a collection of messages send by instances of
Controlpanel
or their child windows (
Taskpanel
its implemented by
TaskManager


Method Summary
 void activateTask(boolean active, java.lang.String TaskName)
          activates an existing Task
 void addTask(Task t)
          add the Task t to the TaskManager (being the listener)
 void deleteTask(java.lang.String TaskName)
          removes the Task named TaskName from the TaskManager.
 void editTask(java.lang.String OldName, Task t)
          called by the TaskPanel associated to the edited data
 

Method Detail

addTask

public void addTask(Task t)
             throws java.de.TimeSlice.TaskNameAlreadyExist
add the
Task t
to the TaskManager (being the listener)
Parameters:
t - the new Task to add to the TaskManager
Throws:
java.de.TimeSlice.TaskNameAlreadyExist -  

deleteTask

public void deleteTask(java.lang.String TaskName)
removes the
Task
named
TaskName
from the TaskManager. Is called from
TaskPanel
,
 when it is closed
Parameters:
TaskName -  

editTask

public void editTask(java.lang.String OldName,
                     Task t)
              throws java.de.TimeSlice.TaskNameAlreadyExist
called by the
TaskPanel
associated to the edited data
Parameters:
OldName - : name of the
Task
before editing
t - : contains the new data
Throws:
java.de.TimeSlice.TaskNameAlreadyExist -  

activateTask

public void activateTask(boolean active,
                         java.lang.String TaskName)
activates an existing Task
Parameters:
active - whether active or not
TaskName -