예제 #1
0
 private void fireImageBoxEventInternal(ImageFieldEvent e) {
   EventListener[] a = m_listenerList.getListeners(ImageFieldListener.class);
   if (a != null) {
     for (int i = 0; i < a.length; i++) {
       ((ImageFieldListener) a[i]).imageFieldChanged(e);
     }
   }
 }
예제 #2
0
 @Override
 public void removeImageFieldListener(ImageFieldListener listener) {
   m_listenerList.remove(ImageFieldListener.class, listener);
 }
예제 #3
0
 /** model observer */
 @Override
 public void addImageFieldListener(ImageFieldListener listener) {
   m_listenerList.add(ImageFieldListener.class, listener);
 }