Example #1
0
 public DialPlot(ValueDataset dataset)
 {
   DialPlot dialPlot = this;
   this.background = (DialLayer) null;
   this.cap = (DialLayer) null;
   this.dialFrame = (DialFrame) new ArcDialFrame();
   this.datasets = new ObjectList();
   if (dataset != null)
     this.setDataset(dataset);
   this.scales = new ObjectList();
   this.datasetToScaleMap = new ObjectList();
   this.layers = (List) new ArrayList();
   this.pointers = (List) new ArrayList();
   this.viewX = 0.0;
   this.viewY = 0.0;
   this.viewW = 1.0;
   this.viewH = 1.0;
 }
Example #2
0
 public virtual void setDialFrame(DialFrame frame)
 {
   if (frame == null)
   {
     string str = "Null 'frame' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     this.dialFrame.removeChangeListener((DialLayerChangeListener) this);
     this.dialFrame = frame;
     frame.addChangeListener((DialLayerChangeListener) this);
     this.fireChangeEvent();
   }
 }