[Ejtools-cvs] libraries/graph/src/main/org/ejtools/graph/editor GraphDelayEditor.java,1.4,1.5 GraphS
Brought to you by:
letiemble
From: <let...@us...> - 2003-12-14 10:50:10
|
Update of /cvsroot/ejtools/libraries/graph/src/main/org/ejtools/graph/editor In directory sc8-pr-cvs1:/tmp/cvs-serv18699/graph/src/main/org/ejtools/graph/editor Modified Files: GraphDelayEditor.java GraphScaleEditor.java Log Message: Add more javadocs. Adjust text export. Index: GraphDelayEditor.java =================================================================== RCS file: /cvsroot/ejtools/libraries/graph/src/main/org/ejtools/graph/editor/GraphDelayEditor.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GraphDelayEditor.java 15 Sep 2003 22:11:22 -0000 1.4 --- GraphDelayEditor.java 13 Dec 2003 21:26:47 -0000 1.5 *************** *** 1,39 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.editor; ! ! import com.dreambean.awt.editors.TagsEditor; ! ! /** ! * Custom editor for the graph refresh rate. ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! */ ! public class GraphDelayEditor extends TagsEditor ! { ! /** Constructor for the SearchTypeEditor object */ ! public GraphDelayEditor() ! { ! super(new String[]{ ! "1.0 sec", ! "2.5 sec", ! "5 sec", ! "10 sec", ! "1 min", ! "5 min"}, ! new Object[]{ ! new Long(1000), ! new Long(2500), ! new Long(5000), ! new Long(10000), ! new Long(60000), ! new Long(300000) ! }); ! } ! } ! --- 1,39 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.editor; ! ! import com.dreambean.awt.editors.TagsEditor; ! ! /** ! * Custom editor for the graph refresh rate. ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! */ ! public class GraphDelayEditor extends TagsEditor ! { ! /** Constructor for the SearchTypeEditor object */ ! public GraphDelayEditor() ! { ! super(new String[]{ ! "1.0 sec", ! "2.5 sec", ! "5 sec", ! "10 sec", ! "1 min", ! "5 min"}, ! new Object[]{ ! new Long(1000), ! new Long(2500), ! new Long(5000), ! new Long(10000), ! new Long(60000), ! new Long(300000) ! }); ! } ! } ! Index: GraphScaleEditor.java =================================================================== RCS file: /cvsroot/ejtools/libraries/graph/src/main/org/ejtools/graph/editor/GraphScaleEditor.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GraphScaleEditor.java 15 Sep 2003 22:11:22 -0000 1.4 --- GraphScaleEditor.java 13 Dec 2003 21:26:47 -0000 1.5 *************** *** 1,41 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.editor; ! ! import com.dreambean.awt.editors.TagsEditor; ! ! /** ! * Custom editor for the graph scale. ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! */ ! public class GraphScaleEditor extends TagsEditor ! { ! /** Constructor for the SearchTypeEditor object */ ! public GraphScaleEditor() ! { ! super(new String[]{ ! "0.1 sec/pixel", ! "0.5 sec/pixel", ! "1.0 sec/pixel", ! "5.0 sec/pixel", ! "10 sec/pixel", ! "1 min/pixel", ! "5 min/pixel"}, ! new Object[]{ ! new Double(1.0d / 100), ! new Double(1.0d / 500), ! new Double(1.0d / 1000), ! new Double(1.0d / 5000), ! new Double(1.0d / 10000), ! new Double(1.0d / 60000), ! new Double(1.0d / 300000) ! }); ! } ! } ! --- 1,41 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.editor; ! ! import com.dreambean.awt.editors.TagsEditor; ! ! /** ! * Custom editor for the graph scale. ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! */ ! public class GraphScaleEditor extends TagsEditor ! { ! /** Constructor for the SearchTypeEditor object */ ! public GraphScaleEditor() ! { ! super(new String[]{ ! "0.1 sec/pixel", ! "0.5 sec/pixel", ! "1.0 sec/pixel", ! "5.0 sec/pixel", ! "10 sec/pixel", ! "1 min/pixel", ! "5 min/pixel"}, ! new Object[]{ ! new Double(1.0d / 100), ! new Double(1.0d / 500), ! new Double(1.0d / 1000), ! new Double(1.0d / 5000), ! new Double(1.0d / 10000), ! new Double(1.0d / 60000), ! new Double(1.0d / 300000) ! }); ! } ! } ! |