Interface ILspSnapperProvider
- All Known Implementing Classes:
TLspPointToPointSnapper
public interface ILspSnapperProvider
Interface which allows to customize snapping behavior.
- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptiongetSnapper
(AWTEvent aAWTEvent, TLspContext aContext) Returns a snapper for the given AWT event and context.default ILspSnapper
getSnapper
(Event aEvent, TLspContext aContext) JavaFX equivalent ofgetSnapper(AWTEvent, TLspContext)
.
-
Method Details
-
getSnapper
Returns a snapper for the given AWT event and context. May benull
.- Parameters:
aAWTEvent
- the event generated by the edit controlleraContext
- the given context- Returns:
- a snapper fit for the given AWT event and context. May be
null
.
-
getSnapper
JavaFX equivalent ofgetSnapper(AWTEvent, TLspContext)
.- Since:
- 2020.0
-