protected synchronized void addShapeGeometryChangeListener ( ShapeGeometryChangeListener listener ) { assert listener != null : AssertMessages . notNullParameter ( ) ; if ( this . geometryListeners == null ) { this . geometryListeners = new WeakArrayList <> ( ) ; } this . geometryListeners . add ( listener ) ; }
Add listener on geometry changes .