| Modifier and Type | Field and Description |
|---|---|
protected java.awt.image.BufferedImage |
image
The original image, in its original size
|
protected java.lang.String |
value
Stores this symbol's value
|
| Constructor and Description |
|---|
CharacterImage(java.awt.image.BufferedImage p_image)
Creates a new CharacterImage from a BufferedImage.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
getImage()
Returns the original, unscaled image which represents this symbol.
|
java.lang.String |
getValue()
Returns the value of this Symbol
|
void |
setImage(java.awt.image.BufferedImage p_image)
Sets the original image of this Symbol from which the scaled one is calculated.
|
void |
setValue(java.lang.String p_value)
Sets the string value of this Symbol.
|
protected java.awt.image.BufferedImage image
protected java.lang.String value
public CharacterImage(java.awt.image.BufferedImage p_image)
p_image - The image from which to create a new CharacterImagepublic void setImage(java.awt.image.BufferedImage p_image)
p_image - The new imagepublic void setValue(java.lang.String p_value)
p_value - The value to set this symbol to.public java.lang.String getValue()
public java.awt.image.BufferedImage getImage()