|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| GraphDelayEditor.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* EJTools, the Enterprise Java Tools
|
|
| 3 |
*
|
|
| 4 |
* Distributable under LGPL license.
|
|
| 5 |
* See terms of license at www.gnu.org.
|
|
| 6 |
*/
|
|
| 7 |
package org.ejtools.graph.editor;
|
|
| 8 |
|
|
| 9 |
import com.dreambean.awt.editors.TagsEditor;
|
|
| 10 |
|
|
| 11 |
/**
|
|
| 12 |
* Custom editor for the graph refresh rate.
|
|
| 13 |
*
|
|
| 14 |
* @author Laurent Etiemble
|
|
| 15 |
* @version $Revision: 1.5 $
|
|
| 16 |
*/
|
|
| 17 |
public class GraphDelayEditor extends TagsEditor |
|
| 18 |
{
|
|
| 19 |
/** Constructor for the SearchTypeEditor object */
|
|
| 20 | 0 |
public GraphDelayEditor()
|
| 21 |
{
|
|
| 22 | 0 |
super(new String[]{ |
| 23 |
"1.0 sec",
|
|
| 24 |
"2.5 sec",
|
|
| 25 |
"5 sec",
|
|
| 26 |
"10 sec",
|
|
| 27 |
"1 min",
|
|
| 28 |
"5 min"},
|
|
| 29 |
new Object[]{
|
|
| 30 |
new Long(1000),
|
|
| 31 |
new Long(2500),
|
|
| 32 |
new Long(5000),
|
|
| 33 |
new Long(10000),
|
|
| 34 |
new Long(60000),
|
|
| 35 |
new Long(300000)
|
|
| 36 |
}); |
|
| 37 |
} |
|
| 38 |
} |
|
| 39 |
|
|
| 40 |
|
|
||||||||||