Ejemplo n.º 1
0
 public virtual void setCap(DialLayer cap)
 {
   if (this.cap != null)
     this.cap.removeChangeListener((DialLayerChangeListener) this);
   this.cap = cap;
   if (cap != null)
     cap.addChangeListener((DialLayerChangeListener) this);
   this.fireChangeEvent();
 }
Ejemplo n.º 2
0
 public virtual void addLayer(DialLayer layer)
 {
   if (layer == null)
   {
     string str = "Null 'layer' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     this.layers.add((object) layer);
     layer.addChangeListener((DialLayerChangeListener) this);
     this.fireChangeEvent();
   }
 }
Ejemplo n.º 3
0
 public virtual void setBackground(DialLayer background)
 {
   if (this.background != null)
     this.background.removeChangeListener((DialLayerChangeListener) this);
   this.background = background;
   if (background != null)
     background.addChangeListener((DialLayerChangeListener) this);
   this.fireChangeEvent();
 }