org.openstreetmap.josm.gui.bbox
Class SizeButton

java.lang.Object
  extended by org.openstreetmap.josm.gui.bbox.SizeButton

public class SizeButton
extends java.lang.Object


Field Summary
private  javax.swing.ImageIcon enlargeImage
           
private  boolean isEnlarged
           
private  javax.swing.ImageIcon shrinkImage
           
private  int x
           
private  int y
           
 
Constructor Summary
SizeButton()
           
 
Method Summary
 boolean hit(java.awt.Point point)
           
 boolean isEnlarged()
           
 void paint(java.awt.Graphics g)
           
 void toggle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

private int x

y

private int y

enlargeImage

private javax.swing.ImageIcon enlargeImage

shrinkImage

private javax.swing.ImageIcon shrinkImage

isEnlarged

private boolean isEnlarged
Constructor Detail

SizeButton

public SizeButton()
Method Detail

paint

public void paint(java.awt.Graphics g)

toggle

public void toggle()

isEnlarged

public boolean isEnlarged()

hit

public boolean hit(java.awt.Point point)


JOSM