1 7 package org.ejtools.graph.editor; 8 9 import com.dreambean.awt.editors.TagsEditor; 10 11 17 public class GraphScaleEditor extends TagsEditor 18 { 19 20 public GraphScaleEditor() 21 { 22 super(new String []{ 23 "0.1 sec/pixel", 24 "0.5 sec/pixel", 25 "1.0 sec/pixel", 26 "5.0 sec/pixel", 27 "10 sec/pixel", 28 "1 min/pixel", 29 "5 min/pixel"}, 30 new Object []{ 31 new Double (1.0d / 100), 32 new Double (1.0d / 500), 33 new Double (1.0d / 1000), 34 new Double (1.0d / 5000), 35 new Double (1.0d / 10000), 36 new Double (1.0d / 60000), 37 new Double (1.0d / 300000) 38 }); 39 } 40 } 41 42 | Popular Tags |