public class ScaleLayer extends java.awt.event.MouseAdapter implements Layer, java.awt.event.MouseMotionListener, java.awt.event.KeyListener
Constructor and Description |
---|
ScaleLayer(CoordinateSystem cs,
boolean enableEditor) |
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics2D graphics) |
java.lang.String |
getName() |
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
setScale(double[] newScale) |
mouseClicked, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseWheelMoved
public ScaleLayer(CoordinateSystem cs, boolean enableEditor)
public void setScale(double[] newScale)
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class java.awt.event.MouseAdapter
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener