unbbayes.util.extension.dto
Interface INodeClassDataTransferObject

All Superinterfaces:
IDataTransferObject
All Known Implementing Classes:
NodeDto

public interface INodeClassDataTransferObject
extends IDataTransferObject

This is a general interface for classes implementing data transfer objects (objects that are created in order to transfer data into and from several architectural layers), associated with nodes loaded from plugin managers (extensions). It basically carries a node builder, a shape builder, icons, and a panel in order to render forms to edit probability functions (e.g. probability tables)

Author:
Shou Matsumoto

Method Summary
 ImageIcon getCursorIcon()
          Icons used by the program to create custom cursors called when a user presses a "create new plugin node" button.
 String getDescription()
          Obtains a description of this set of information.
 ImageIcon getIcon()
          The icon of the node.
 String getName()
          Obtains the name of this set of information.
 INodeBuilder getNodeBuilder()
          Obtains the node builder being transferred
 IProbabilityFunctionPanelBuilder getProbabilityFunctionPanelBuilder()
          The object containing a panel used by UnBBayes to visually edit the probability function of a node.
 IPluginUShapeBuilder getShapeBuilder()
          The shape builder used to render the node inside the canvas.
 void setCursorIcon(ImageIcon cursorIcon)
          Icons used by the program to create custom cursors called when a user presses a "create new plugin node" button.
 void setDescription(String description)
          A description of this set of information.
 void setIcon(ImageIcon icon)
          The icon of the node.
 void setName(String name)
          The name of this set of information.
 void setNodeBuilder(INodeBuilder node)
          Sets the node builder being transferred
 void setProbabilityFunctionPanelBuilder(IProbabilityFunctionPanelBuilder panelBuilder)
          The object containing a panel used by UnBBayes to visually edit the probability function of a node.
 void setShapeBuilder(IPluginUShapeBuilder shape)
          The shape builder used to render the node inside the canvas.
 
Methods inherited from interface unbbayes.util.extension.dto.IDataTransferObject
getObject, setObject
 

Method Detail

getNodeBuilder

INodeBuilder getNodeBuilder()
Obtains the node builder being transferred

Returns:

setNodeBuilder

void setNodeBuilder(INodeBuilder node)
Sets the node builder being transferred

Parameters:
node -

getShapeBuilder

IPluginUShapeBuilder getShapeBuilder()
The shape builder used to render the node inside the canvas.

Returns:

setShapeBuilder

void setShapeBuilder(IPluginUShapeBuilder shape)
The shape builder used to render the node inside the canvas.

Parameters:
shape -

getProbabilityFunctionPanelBuilder

IProbabilityFunctionPanelBuilder getProbabilityFunctionPanelBuilder()
The object containing a panel used by UnBBayes to visually edit the probability function of a node.

Returns:

setProbabilityFunctionPanelBuilder

void setProbabilityFunctionPanelBuilder(IProbabilityFunctionPanelBuilder panelBuilder)
The object containing a panel used by UnBBayes to visually edit the probability function of a node.

Parameters:
panelBuilder -

getIcon

ImageIcon getIcon()
The icon of the node. This is usually used by the GUI in order to render the cursor when a "add new plugin node" is called.

Returns:

setIcon

void setIcon(ImageIcon icon)
The icon of the node. This is usually used by the GUI in order to render the cursor when a "add new plugin node" is called.

Parameters:
icon -

getCursorIcon

ImageIcon getCursorIcon()
Icons used by the program to create custom cursors called when a user presses a "create new plugin node" button.

Returns:

setCursorIcon

void setCursorIcon(ImageIcon cursorIcon)
Icons used by the program to create custom cursors called when a user presses a "create new plugin node" button.

Parameters:
cursorIcon -

getName

String getName()
Obtains the name of this set of information. This is just a simple identifier for users, and may be used as a label on buttons.

Returns:

setName

void setName(String name)
The name of this set of information. This is just a simple identifier for users, and may be used as a label on buttons.

Parameters:
name -

getDescription

String getDescription()
Obtains a description of this set of information. This is just a additional information for users, and may be used as a tool tip text.

Returns:

setDescription

void setDescription(String description)
A description of this set of information. This is just a additional information for users, and may be used as a tool tip text.

Parameters:
description -


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