public class KahinaTreeBehavior extends KahinaBehavior<KahinaTree>
A version of
KahinaBehavior for defining the application-specific behavior of
Implementations usually define the way a tree is constructed and how it reacts to incoming
A typical use case is
LogicProgrammingTreeBehavior for control flow tree in logic programming.
In an application, the user will usually want to inherit from this in order to define the behavior of tree components.
By default, each
KahinaBehavior implements the
KahinaListener interface, but it does not register itself with the event system.
For that purpose, implementations should use the
|Constructor and Description|
Class constructor specifying the controlled tree and the KahinaInstance that it is connected to.
public KahinaTreeBehavior(KahinaTree tree, KahinaInstance kahina)
tree- the KahinaTree the behavior of which is going to be controlled by the new instance
kahina- the KahinaInstance that this behavior will belong to and communicate with