|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedBNListener
Defines a listener for ExtendedBNEvents. Any object interested in such events should implement this interface.
Method Summary | |
---|---|
void |
extendedBNAboutToBePropagated(ExtendedBNEvent ebne)
Invoked whenever an ExtendedBN has received a request to propagate itself |
void |
extendedBNAllEvidenceRetracted(ExtendedBNEvent ebne)
Invoked whenever all evidence has been removed from an ExtendedBN. |
void |
extendedBNConnBNNotFound(ExtendedBNEvent ene)
Invoked whenever an ExtendedBN's connected CoreBN is needed but is not initialised. |
void |
extendedBNIDChanged(ExtendedBNEvent ebne)
Invoked whenever the ID for the ExtendedBN is changed. |
void |
extendedBNInconsistentEvidencePropagated(ExtendedBNEvent ebne)
Invoked whenever inconsistent evidence is propagated. |
void |
extendedBNNameDescriptionChanged(ExtendedBNEvent ebne)
Invoked whenever the name of an ExtendedBN has changed. |
void |
extendedBNPropagated(ExtendedBNEvent ebne)
Invoked whenever an ExtendedBN has been propagated. |
void |
extendedNodeAboutToBeCut(ExtendedBNEvent ebne,
ExtendedBN sourceEXBN,
int targetEXNodeID,
int sourceEXNodeID,
java.lang.String nameCounter)
This event is fired when an ExtendedNode has been pasted to the destination ExtendedBN and is about to be cut from the specified source ExtendedBN. |
void |
extendedNodeAdded(ExtendedBNEvent ebne,
ExtendedNode exNode)
This event is fired when ever a new node has been added to the extendedBN |
void |
extendedNodeEventFired(ExtendedBNEvent ebne,
ExtendedNodeEvent ene,
java.lang.String eventName)
Invoked whenever the extended BN recieves a BN Node event, this event throws the event up to any listeners on the extended BN. |
void |
extendedNodePasted(ExtendedBNEvent ebne,
ExtendedBN sourceEXBN,
ExtendedNode sourceNode,
ExtendedNode newExNode)
This event is fired when an extended node is pasted into the extended BN |
void |
extendedNodeRemoved(ExtendedBNEvent ebne,
ExtendedNode exNode)
This event is fired when an extended node is removed from the extended BN |
void |
extendedNodeReplaced(ExtendedBNEvent ebne,
ExtendedNode oldNode,
ExtendedNode newNode,
ExtendedBN ebn)
This event is fired whenever a node is replaced with another one. |
Method Detail |
---|
void extendedBNNameDescriptionChanged(ExtendedBNEvent ebne)
ebne
- the event encapsulating information about the changevoid extendedBNPropagated(ExtendedBNEvent ebne)
ebne
- the event encapsulating information about the changevoid extendedBNAboutToBePropagated(ExtendedBNEvent ebne)
ebne
- the event encapsulating information about the changevoid extendedBNAllEvidenceRetracted(ExtendedBNEvent ebne)
ebne
- the event encapsulating information about the changevoid extendedBNInconsistentEvidencePropagated(ExtendedBNEvent ebne)
ebne
- the event encapsulating information about the changevoid extendedBNConnBNNotFound(ExtendedBNEvent ene) throws ExtendedBNException
ene
- the event encapsulating information about the change
ExtendedBNException
void extendedBNIDChanged(ExtendedBNEvent ebne)
ebne
- the event encapsulating information about the changevoid extendedNodeEventFired(ExtendedBNEvent ebne, ExtendedNodeEvent ene, java.lang.String eventName)
ebne
- Tne Extended Bn that fired the eventene
- The extended Node that fired the event, caught by the BNeventName
- The name of the extendedBN node event.void extendedNodeAdded(ExtendedBNEvent ebne, ExtendedNode exNode)
ebne
- The extended BN from which the event was firedexNode
- The extended node which was added to the extended BNvoid extendedNodeRemoved(ExtendedBNEvent ebne, ExtendedNode exNode)
ebne
- extendedNodeID
- The int id of the ExtendedNode which has been removed.void extendedNodePasted(ExtendedBNEvent ebne, ExtendedBN sourceEXBN, ExtendedNode sourceNode, ExtendedNode newExNode)
ebne
- sourceNode
- the node that was copiednewExNode
- the newly cloned nodevoid extendedNodeReplaced(ExtendedBNEvent ebne, ExtendedNode oldNode, ExtendedNode newNode, ExtendedBN ebn)
ebne
- The extended BN from which the event was firedoldNode
- the old nodenewNode
- the new nodeebn
- the BN containing both nodesvoid extendedNodeAboutToBeCut(ExtendedBNEvent ebne, ExtendedBN sourceEXBN, int targetEXNodeID, int sourceEXNodeID, java.lang.String nameCounter)
ebne
- Holds the destination/target ExtendedBN.sourceEXBN
- The ExtendedBN the ExtendedNode is about to be cut from.targetEXNodeID
- The ID of the ExtendedNode which has been pasted to the ExtendedBN in the specified event.sourceEXNodeID
- The ID of the ExtendedNode which is about to be cut from the specified ExtendedBN.nameCounter
- The extra String that was added to the cut/pasted node to make it unique in the destination
ExtendedBN.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |