Interface ILspSnapperProvider

All Known Implementing Classes:
TLspPointToPointSnapper

public interface ILspSnapperProvider
Interface which allows to customize snapping behavior.
Since:
2012.0
  • Method Details

    • getSnapper

      ILspSnapper getSnapper(AWTEvent aAWTEvent, TLspContext aContext)
      Returns a snapper for the given AWT event and context. May be null.
      Parameters:
      aAWTEvent - the event generated by the edit controller
      aContext - the given context
      Returns:
      a snapper fit for the given AWT event and context. May be null.
    • getSnapper

      default ILspSnapper getSnapper(Event aEvent, TLspContext aContext)
      JavaFX equivalent of getSnapper(AWTEvent, TLspContext) .
      Since:
      2020.0