unbbayes.gui.table.extension
Interface IProbabilityFunctionPanelBuilder


public interface IProbabilityFunctionPanelBuilder

This is an interface to handle probability distribution's graphical edition for nodes loaded from plugin manager. It carries basically a node (INode) and builds a JPanel to edit its probability function. Plugins must implement this interface in order to permit probability function's visual edition.

Version:
2010/01/01 : currently, this class is instantiated when we click the "new plugin node" button (a split button containing currently loaded plugin nodes)
Author:
Shou Matsumoto

Method Summary
 JPanel buildProbabilityFunctionEditionPanel()
          Obtains the JPanel used to edit the node's probability function graphically.
 Node getProbabilityFunctionOwner()
          Gets the node currently owning the probability distribution function
 void setProbabilityFunctionOwner(Node node)
          Sets the node owning the probability distribution function.
 

Method Detail

setProbabilityFunctionOwner

void setProbabilityFunctionOwner(Node node)
Sets the node owning the probability distribution function. This method is expected to change the JPanel's content

Parameters:
node -

getProbabilityFunctionOwner

Node getProbabilityFunctionOwner()
Gets the node currently owning the probability distribution function

Returns:

buildProbabilityFunctionEditionPanel

JPanel buildProbabilityFunctionEditionPanel()
Obtains the JPanel used to edit the node's probability function graphically.

Returns:
: a JPanel used to edit node's probability function


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.