|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunbbayes.util.extension.dto.impl.Dto
unbbayes.util.extension.dto.impl.NodeDto
public class NodeDto
A simple implementation of INodeClassDataTransferObject
that just delegates each getter/setter to Dto.getObject(String)
and Dto.setObject(String, Object)
using pre-generated keys.
Field Summary |
---|
Fields inherited from class unbbayes.util.extension.dto.impl.Dto |
---|
map |
Constructor Summary | |
---|---|
protected |
NodeDto()
The main constructor is not public. |
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. |
static NodeDto |
newInstance()
Default constructor method |
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 panelHolder)
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 class unbbayes.util.extension.dto.impl.Dto |
---|
getObject, setObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface unbbayes.util.extension.dto.IDataTransferObject |
---|
getObject, setObject |
Constructor Detail |
---|
protected NodeDto()
newInstance()
instead.
This is kept protected in order to permit extension.
Method Detail |
---|
public static NodeDto newInstance()
public ImageIcon getCursorIcon()
INodeClassDataTransferObject
getCursorIcon
in interface INodeClassDataTransferObject
public ImageIcon getIcon()
INodeClassDataTransferObject
getIcon
in interface INodeClassDataTransferObject
public INodeBuilder getNodeBuilder()
INodeClassDataTransferObject
getNodeBuilder
in interface INodeClassDataTransferObject
public IProbabilityFunctionPanelBuilder getProbabilityFunctionPanelBuilder()
INodeClassDataTransferObject
getProbabilityFunctionPanelBuilder
in interface INodeClassDataTransferObject
public IPluginUShapeBuilder getShapeBuilder()
INodeClassDataTransferObject
getShapeBuilder
in interface INodeClassDataTransferObject
public void setCursorIcon(ImageIcon cursorIcon)
INodeClassDataTransferObject
setCursorIcon
in interface INodeClassDataTransferObject
public void setIcon(ImageIcon icon)
INodeClassDataTransferObject
setIcon
in interface INodeClassDataTransferObject
public void setNodeBuilder(INodeBuilder node)
INodeClassDataTransferObject
setNodeBuilder
in interface INodeClassDataTransferObject
public void setProbabilityFunctionPanelBuilder(IProbabilityFunctionPanelBuilder panelHolder)
INodeClassDataTransferObject
setProbabilityFunctionPanelBuilder
in interface INodeClassDataTransferObject
public void setShapeBuilder(IPluginUShapeBuilder shape)
INodeClassDataTransferObject
setShapeBuilder
in interface INodeClassDataTransferObject
public String getDescription()
INodeClassDataTransferObject
getDescription
in interface INodeClassDataTransferObject
public String getName()
INodeClassDataTransferObject
getName
in interface INodeClassDataTransferObject
public void setDescription(String description)
INodeClassDataTransferObject
setDescription
in interface INodeClassDataTransferObject
public void setName(String name)
INodeClassDataTransferObject
setName
in interface INodeClassDataTransferObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |