com.vividsolutions.jump.workbench.ui
Interface LayerViewPanelListener


public interface LayerViewPanelListener

Defines a Listener for Layer-view change events (For example, a change in the cursor position or a selection).


Method Summary
 void cursorPositionChanged(java.lang.String x, java.lang.String y)
          Notifies this listener that the cursor position has changed to the given point, in model coordinates.
 void painted(java.awt.Graphics graphics)
          Notifies this listener that the LayerViewPanel has been repainted.
 void selectionChanged()
           
 

Method Detail

selectionChanged

public void selectionChanged()

cursorPositionChanged

public void cursorPositionChanged(java.lang.String x,
                                  java.lang.String y)
Notifies this listener that the cursor position has changed to the given point, in model coordinates.


painted

public void painted(java.awt.Graphics graphics)
Notifies this listener that the LayerViewPanel has been repainted. graphics may not be the same as the result of LayerViewPanel#getGraphics; it may be an off-screen buffer. [Jon Aquino]