예제 #1
0
 private void fireDescriptionChanged() {
   for (TriangleListener listener : new ArrayList<TriangleListener>(listeners))
     listener.descriptionChanged(this);
 }
예제 #2
0
 private void fireGeometryChanged() {
   for (TriangleListener listener : new ArrayList<TriangleListener>(listeners))
     listener.geometryChanged(this);
 }
예제 #3
0
 private void fireNameChanged() {
   for (TriangleListener listener : new ArrayList<TriangleListener>(listeners))
     listener.nameChanged(this);
 }