Package de.fzi.kadmos.api.listener

Provides an API for representing alignment listeners and alignment change events.

See:
          Description

Interface Summary
AlignmentChangeEvent Interface representing a change of an Alignment.
AlignmentListener Interface representing an Alignment listener.
CorrespondenceAddedChange Interface representing the change event of a Correspondence being added to an Alignment.
CorrespondenceRemovedChange Interface representing the change event of a Correspondence being removed from an Alignment.
 

Package de.fzi.kadmos.api.listener Description

Provides an API for representing alignment listeners and alignment change events. This package provides and interface for representing alignment listeners. Concrete listeners implement the AlignmentListener interface. Listeners are notified by the Alignment to which they are attached in case the alignment changes. This package provides interfaces representing change events. The AlignmentChangeEvent interface is the common super interface for all kinds of changed. The two most frequent kinds of changes, namely addition and removal of correspondences, are covered by the CorrespondenceAddedChange and the CorrespondenceRemovedChange interfaces. Default implementations of the change event interfaces can be found in the package de.fzi.kadmos.api.listener.impl. Instances of those change events should be obtained via the AlignmentChangeEventFactory. Developers providing their own Alignment implementations (extensions of the ForwardingAlignment wrapper class) might want to notify listeners about different kinds of changes. Those changes might require new subinterfaces of AlignmentChangeEvent. There is no default implementation of a AlignmentListener provided, since there is no default behaviour for any listener. Depending on the application scenario, specific listeners have to be implemented.

Since:
1.3.0
See Also:
de.fzi.kadmos.api, de.fzi.kadmos.api.listener.impl


Copyright © 2012. All Rights Reserved.