public virtual void addPointer(DialPointer pointer) { if (pointer == null) { string str = "Null 'pointer' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { this.pointers.add((object) pointer); pointer.addChangeListener((DialLayerChangeListener) this); this.fireChangeEvent(); } }
public virtual void removePointer(DialPointer pointer) { this.removeLayer(this.getPointerIndex(pointer)); }
public virtual int getPointerIndex(DialPointer pointer) { if (pointer == null) { string str = "Null 'pointer' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else return this.pointers.indexOf((object) pointer); }