org.placelab.demo.mapview
Class MapIcon

java.lang.Object
  extended byorg.placelab.util.swt.Glyph
      extended byorg.placelab.util.swt.GlyphImage
          extended byorg.placelab.demo.mapview.MapIcon

public class MapIcon
extends GlyphImage


Field Summary
 
Fields inherited from class org.placelab.util.swt.GlyphImage
doCaching, image, originalImage, zoomCache
 
Fields inherited from class org.placelab.util.swt.Glyph
ANCHOR_C, ANCHOR_E, ANCHOR_N, ANCHOR_NE, ANCHOR_NW, ANCHOR_S, ANCHOR_SE, ANCHOR_SW, ANCHOR_W, DISPOSED, IGNORE_TRANSPARENCY, MOUSE_EVENTS, needsTransformRedraw, NONE, transform, transformedImage, transparency, VISIBLE, zoom
 
Constructor Summary
MapIcon(MapView ui, PlaceBacking data, org.eclipse.swt.graphics.Color textBg, double zoom)
           
 
Method Summary
 void dispose()
           
 Glyph getGlyph()
           
protected  org.eclipse.swt.graphics.Image getZoomedImage()
           
 void moused(org.eclipse.swt.events.MouseEvent e)
           
 void setZoom(double d)
           
 
Methods inherited from class org.placelab.util.swt.GlyphImage
clearZoomHistory, getBoundsImpl, getCachesZoomHistory, getImage, getZoom, paintImpl, pointInsideImpl, setCachesZoomHistory, setImage, setImage, setImage, setImage
 
Methods inherited from class org.placelab.util.swt.Glyph
addListener, addMouseListener, addPaintListener, areMouseEventsEnabled, enableMouseEvents, enter, getBounds, getCloseEnough, getFlag, getHolder, getLocation, getMaskColor, getNeedsTransformRedraw, getOriginalLocation, getParent, getTransform, getTransparency, handleMouseEvent, isDisposed, isVisible, leave, moveAbove, moveBelow, notifyListeners, paint, pickGlyphAt, pointInside, pointInside, redraw, removeListener, resetFlag, setCloseEnough, setCursor, setFlag, setLocation, setNeedsTransformRedraw, setTransform, setTransparency, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapIcon

public MapIcon(MapView ui,
               PlaceBacking data,
               org.eclipse.swt.graphics.Color textBg,
               double zoom)
Method Detail

setZoom

public void setZoom(double d)
Overrides:
setZoom in class GlyphImage

getZoomedImage

protected org.eclipse.swt.graphics.Image getZoomedImage()
Overrides:
getZoomedImage in class GlyphImage

dispose

public void dispose()
Overrides:
dispose in class GlyphImage

getGlyph

public Glyph getGlyph()

moused

public void moused(org.eclipse.swt.events.MouseEvent e)