Guest User

Untitled

a guest
May 24th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. private ChemObjectNotifier notifier = new ChemObjectNotifier();
  2.  
  3. /** {@inheritDoc} */
  4. public void addListener(IChemObjectListener col) {
  5. notifier.addListener(col);
  6. }
  7.  
  8. /** {@inheritDoc} */
  9. public int getListenerCount() {
  10. return notifier.getListenerCount();
  11. }
  12.  
  13. /** {@inheritDoc} */
  14. public void removeListener(IChemObjectListener col) {
  15. notifier.removeListener(col);
  16. }
  17.  
  18. /** {@inheritDoc} */
  19. public void notifyChanged() {
  20. notifier.notifyChanged();
  21. }
  22.  
  23. /** {@inheritDoc} */
  24. public void notifyChanged(IChemObjectChangeEvent evt) {
  25. notifier.notifyChanged(evt);
  26. }
Add Comment
Please, Sign In to add comment