|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.jtimer.ui.systray.SystrayManager
public abstract class SystrayManager
Factory to get correct working systray implementation.
| Field Summary | |
|---|---|
protected JTimer |
parent
Parent reference |
| Constructor Summary | |
|---|---|
protected |
SystrayManager(JTimer parent)
Default constructor. |
| Method Summary | |
|---|---|
void |
addProject(TimerProject project)
Add project event. |
void |
addTask(TimerTask task)
Add task event. |
void |
dataLoaded(Collection<TimerProject> projects)
All data loaded. |
void |
deleteProject(TimerProject project)
Delete project. |
void |
deleteTask(TimerTask task)
Delete task. |
static SystrayManager |
getSystray(JTimer parentApp)
Get systray. |
void |
install()
Default install method. |
void |
modifyProject(TimerProject project)
Modify project. |
void |
modifyTask(TimerTask task)
Modify task. |
void |
postChangeClosedState(TimerTask task)
Post change task state. |
void |
postIdleDetect()
Notify idle dtect ended. |
void |
postMergeTasks(TimerTask destinationTask,
List<TimerTask> otherTasks)
Post merge task. |
void |
postMoveTask(TimerTask task)
Post move task. |
void |
preChangeClosedState(TimerTask task)
Pre change task state. |
void |
preIdleDetect()
Notify idle detect. |
void |
preMergeTasks(TimerTask destinationTask,
List<TimerTask> otherTasks)
Pre merge task. |
void |
preMoveTask(TimerTask task)
Pre move task. |
void |
setAnnotation(TimerTask task,
Date date,
String annotation)
Add annotation. |
void |
setTaskTime(TimerTask task,
Date date,
Long time)
Set task time. |
void |
startTask(TimerTask task)
Start task. |
void |
stopTask(TimerTask task)
Stop task. |
void |
windowActivated(WindowEvent e)
|
void |
windowClosed(WindowEvent e)
|
void |
windowClosing(WindowEvent e)
|
void |
windowDeactivated(WindowEvent e)
|
void |
windowDeiconified(WindowEvent e)
|
void |
windowIconified(WindowEvent e)
|
void |
windowOpened(WindowEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JTimer parent
| Constructor Detail |
|---|
protected SystrayManager(JTimer parent)
parent - parent| Method Detail |
|---|
public static SystrayManager getSystray(JTimer parentApp)
parentApp - parent application ref
public void install()
public void addProject(TimerProject project)
DataEventListener
addProject in interface DataEventListenerproject - project to addpublic void addTask(TimerTask task)
DataEventListener
addTask in interface DataEventListenertask - task to addpublic void dataLoaded(Collection<TimerProject> projects)
DataEventListener
dataLoaded in interface DataEventListenerprojects - projects collectionpublic void deleteProject(TimerProject project)
DataEventListener
deleteProject in interface DataEventListenerproject - deleted projectpublic void deleteTask(TimerTask task)
DataEventListener
deleteTask in interface DataEventListenertask - deleted taskpublic void modifyProject(TimerProject project)
DataEventListener
modifyProject in interface DataEventListenerproject - modified projectpublic void modifyTask(TimerTask task)
DataEventListener
modifyTask in interface DataEventListenertask - modified taskpublic void postChangeClosedState(TimerTask task)
DataEventListener
postChangeClosedState in interface DataEventListenertask - taskpublic void preChangeClosedState(TimerTask task)
DataEventListener
preChangeClosedState in interface DataEventListenertask - taskpublic void startTask(TimerTask task)
DataEventListener
startTask in interface DataEventListenertask - started taskpublic void stopTask(TimerTask task)
DataEventListener
stopTask in interface DataEventListenertask - stoped task
public void setAnnotation(TimerTask task,
Date date,
String annotation)
DataEventListener
setAnnotation in interface DataEventListenertask - task where annotation is changeddate - dateannotation - new annotation value
public void setTaskTime(TimerTask task,
Date date,
Long time)
DataEventListener
setTaskTime in interface DataEventListenertask - task where time is changeddate - datetime - task timepublic void postMoveTask(TimerTask task)
DataEventListener
postMoveTask in interface DataEventListenertask - taskpublic void preMoveTask(TimerTask task)
DataEventListener
preMoveTask in interface DataEventListenertask - task
public void postMergeTasks(TimerTask destinationTask,
List<TimerTask> otherTasks)
DataEventListener
postMergeTasks in interface DataEventListenerdestinationTask - task where all other task will be mergedotherTasks - other tasks to merge
public void preMergeTasks(TimerTask destinationTask,
List<TimerTask> otherTasks)
DataEventListener
preMergeTasks in interface DataEventListenerdestinationTask - task where all other task will be mergedotherTasks - other tasks to mergepublic void postIdleDetect()
public void preIdleDetect()
public void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerpublic void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerpublic void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerpublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||