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

    Modifier and Type
    Method
    Description
    void
    Notifies this listener that the cursor position has changed to the given point, in model coordinates.
    void
    painted(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.
    void
     
  • Method Details

    • selectionChanged

      void selectionChanged()
    • cursorPositionChanged

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

      void painted(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]