Package | Description |
---|---|
com.bayesia.api |
Modifier and Type | Method and Description |
---|---|
ResizableIcon |
APIModeling.getBackgroundImage()
Gets the image associated to the network.
|
ResizableIcon |
APIInference.getBackgroundImage()
Gets the image associated to the network.
|
ResizableIcon |
APIModeling.getNodeImage(java.lang.String nodeName)
Gets the image as an instance of
ResizableIcon associated to the node or null if there is no associated image. |
ResizableIcon |
APIInference.getNodeImage(java.lang.String nodeName)
Gets the image as an instance of
ResizableIcon associated to the node or null if there is no associated image. |
static ResizableIcon |
APIUtils.getResizableIcon(java.awt.image.BufferedImage image)
Returns a
ResizableIcon built from the given BufferedImage |
static ResizableIcon |
APIUtils.getResizableIcon(java.io.File file)
Returns the icon loaded from the given file.
|
static ResizableIcon |
APIUtils.getResizableIcon(java.net.URL imageUrl)
Returns a
ResizableIcon loaded from the given URL. |
ResizableIcon |
ResizableIcon.getScaledIcon(double scale)
Returns a scaled instance of this image.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
APIUtils.getBufferedImage(ResizableIcon icon)
Returns a
BufferedImage generated from the given icon. |
void |
APIModeling.setBackgroundImage(ResizableIcon image)
Sets the image associated to the network.
|
void |
APIModeling.setClassNodeImage(java.lang.String className,
ResizableIcon image)
Sets an image to each node of the given class.
|
void |
APIModeling.setNodeImage(java.lang.String nodeName,
ResizableIcon image)
Sets an image to the node.
|