org.openstreetmap.josm.gui.bbox
Class SourceButton
java.lang.Object
org.openstreetmap.josm.gui.bbox.SourceButton
public class SourceButton
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
barX
private int barX
barY
private int barY
barWidth
private int barWidth
layerHeight
private int layerHeight
sources
private final TileSource[] sources
enlargeImage
private javax.swing.ImageIcon enlargeImage
shrinkImage
private javax.swing.ImageIcon shrinkImage
isEnlarged
private boolean isEnlarged
currentMap
private int currentMap
HIDE_OR_SHOW
public static final int HIDE_OR_SHOW
- See Also:
- Constant Field Values
SourceButton
public SourceButton(java.util.List<TileSource> sources)
paint
public void paint(java.awt.Graphics2D g)
toggle
public void toggle()
hit
public int hit(java.awt.Point point)
hitToTileSource
public TileSource hitToTileSource(int hit)
setCurrentMap
public void setCurrentMap(TileSource tileSource)
JOSM