EOMGListenerSupport (OpenMap API)
Date: 2016-12-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bbn.openmap.omGraphics.event
Class EOMGListenerSupport

    java.lang.Object
      java.util.concurrent.CopyOnWriteArrayList<E>
          com.bbn.openmap.event.ListenerSupport<EOMGListener>
              com.bbn.openmap.omGraphics.event.EOMGListenerSupport

All Implemented Interfaces:
  java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<EOMGListener>, java.util.Collection<EOMGListener>, java.util.List<EOMGListener>, java.util.RandomAccess

    public class EOMGListenerSupport

extends ListenerSupport<EOMGListener>

This is a utility class that can be used by beans that need support for handling EOMGListeners and calling the EOMGListener method. You can use an instance of this class as a member field of your bean and delegate work to it.

See Also:
  Serialized Form

Field Summary

Fields inherited from class com.bbn.openmap.event.ListenerSupport
`source`

Constructor Summary
`EOMGListenerSupport()` Construct a EOMGListenerSupport.
`EOMGListenerSupport(EditableOMGraphic graphic)` Construct a EOMGListenerSupport.

Method Summary
`void` | `fireEvent(EOMGEvent event)` Send a eomgChanged event to all registered listeners.
`EditableOMGraphic` | `getEOMG()` Get the source object.
`void` | `setEOMG(EditableOMGraphic graphic)` Set the source object.

Methods inherited from class com.bbn.openmap.event.ListenerSupport
`add, add, addAll, clear, getSource, iterator, listIterator, remove, remove, set, setSource, size`

Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
`addAll, addAllAbsent, addIfAbsent, clone, contains, containsAll, equals, get, hashCode, indexOf, indexOf, isEmpty, lastIndexOf, lastIndexOf, listIterator, removeAll, retainAll, subList, toArray, toArray, toString`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### EOMGListenerSupport

    public EOMGListenerSupport()

  Construct a EOMGListenerSupport.

### EOMGListenerSupport

    public EOMGListenerSupport(EditableOMGraphic graphic)

  Construct a EOMGListenerSupport.

  Parameters:
    `graphic` - source graphic

Method Detail

### setEOMG

    public void setEOMG(EditableOMGraphic graphic)

  Set the source object.

  Parameters:
    `graphic` - source EditableOMGraphic

### getEOMG

    public EditableOMGraphic getEOMG()

  Get the source object.

  Returns:
    EditableOMGraphic

### fireEvent

    public void fireEvent(EOMGEvent event)

  Send a eomgChanged event to all registered listeners.

  Parameters:
    `event` - EOMGEvent

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details