public class HGListenerAtom extends Object
This is a simple bean-like atom that can be used to register listeners that
will be automatically loaded when a HyperGraph is open. To configure such an
auto-loaded listeners, instantiate a HGListenerAtom
, set the
event type and listener class properties and add it to a HyperGraph instance. The listener
will be automatically registered with the event manager the next time this HyperGraph
is opened. If the
listener should become effective right away, you will need to register it with
the event manager separately.
Constructor and Description |
---|
HGListenerAtom() |
HGListenerAtom(String eventClassName,
String listenerClassName) |
Modifier and Type | Method and Description |
---|---|
String |
getEventClassName() |
String |
getListenerClassName() |
void |
setEventClassName(String eventClassName) |
void |
setListenerClassName(String listenerClassName) |
Copyright © 2015. All rights reserved.