public class MapImage extends CustomPropertyProvider implements IMapImage
Constructor and Description |
---|
MapImage()
Instantiates a new
MapImage instance. |
MapImage(MapImage original)
Instantiates a new
MapImage instance by copying the specified original. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object anObject)
Tests for equality between two map images.
|
java.net.URL |
getAbsoluteSourcePath() |
java.awt.Dimension |
getDimension()
Gets the dimension.
|
int |
getHeight()
Gets the height.
|
java.lang.String |
getSource()
Gets the source.
|
java.awt.Color |
getTransparentColor()
Gets the transparent color.
|
int |
getWidth()
Gets the width.
|
int |
hashCode()
Computes a hash code for this map image.
|
void |
setAbsoluteSourcePath(java.net.URL absolutePath) |
void |
setHeight(int height) |
void |
setSource(java.lang.String source) |
void |
setTransparentColor(java.awt.Color color) |
void |
setWidth(int width) |
java.lang.String |
toString() |
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
public MapImage()
MapImage
instance.public MapImage(MapImage original)
MapImage
instance by copying the specified original.original
- the original we want to copypublic java.net.URL getAbsoluteSourcePath()
getAbsoluteSourcePath
in interface IMapImage
public java.awt.Dimension getDimension()
IMapImage
getDimension
in interface IMapImage
public int getHeight()
public java.lang.String getSource()
IMapImage
public java.awt.Color getTransparentColor()
IMapImage
getTransparentColor
in interface IMapImage
public int getWidth()
public void setTransparentColor(java.awt.Color color)
setTransparentColor
in interface IMapImage
public void setSource(java.lang.String source)
public void setAbsoluteSourcePath(java.net.URL absolutePath)
setAbsoluteSourcePath
in interface IMapImage
public boolean equals(java.lang.Object anObject)
IMapImage
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object