org.openstreetmap.josm.gui.mappaint
Class MapImage
java.lang.Object
org.openstreetmap.josm.gui.mappaint.MapImage
public class MapImage
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
img
private java.awt.image.BufferedImage img
- ImageIcon can change while the image is loading.
alpha
public int alpha
- The 5 following fields are only used to check for equality.
name
public java.lang.String name
source
public StyleSource source
width
public int width
height
public int height
temporary
private boolean temporary
disabledImg
private java.awt.Image disabledImg
MapImage
public MapImage(java.lang.String name,
StyleSource source)
getDisabled
public java.awt.Image getDisabled()
getImage
public java.awt.image.BufferedImage getImage()
getWidth
public int getWidth()
getHeight
public int getHeight()
getAlphaFloat
public float getAlphaFloat()
isTemporary
public boolean isTemporary()
- Returns true, if image is not completely loaded and getImage() returns a temporary image.
getBoxProvider
public BoxTextElemStyle.BoxProvider getBoxProvider()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
JOSM