KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > monitor > model > JobMenu


1 /*
2  * (c) Rob Gordon 2005
3  */

4 package org.oddjob.monitor.model;
5
6
7 /**
8  * A JobOption which is a sub menu with further options.
9  *
10  * @author Rob Gordon
11  */

12 abstract public class JobMenu extends JobOption {
13
14     /**
15      * Further options.
16      *
17      * @return The futher options this menu offers.
18      */

19     abstract public JobOption[] options();
20     
21     /*
22      * (non-Javadoc)
23      * @see org.oddjob.monitor.model.JobOption#process(org.oddjob.monitor.model.JobOptionProcessor)
24      */

25     public void process(JobOptionProcessor processor) {
26         processor.processMenu(this);
27     }
28 }
29
Popular Tags