public class IconResourceData extends java.lang.Object implements DiagramResource
Constructor and Description |
---|
IconResourceData(int id) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getIcon()
Return the associated image icon.
|
int |
getID()
Return the resource ID.
|
void |
setIcon(java.awt.image.BufferedImage icon)
Set the associated image icon.
|
void |
setID(int id)
Set the resource ID.
|
public void setID(int id)
setID
in interface DiagramResource
id
- the IDpublic int getID()
getID
in interface DiagramResource
public void setIcon(java.awt.image.BufferedImage icon)
icon
- the image iconpublic java.awt.image.BufferedImage getIcon()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence