Interface Lens.Listener

All Known Implementing Classes:
GridMetrics, UIClipEditor, UITimeline, UITimeline.Overview
Enclosing class:
Lens

public static interface Lens.Listener
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onClipChanged(Lens lens, LXClip clip)
    Called when the clip the Lens is referencing is changed
    void
    onLensChanged(Lens lens, boolean sizeChanged, boolean scrollChanged)
    Called when the lens positioning is changed
  • Method Details

    • onClipChanged

      default void onClipChanged(Lens lens, LXClip clip)
      Called when the clip the Lens is referencing is changed
      Parameters:
      lens - Lens
      clip - Clip referenced (may be null)
    • onLensChanged

      void onLensChanged(Lens lens, boolean sizeChanged, boolean scrollChanged)
      Called when the lens positioning is changed
      Parameters:
      lens - Lens
      sizeChanged - True if total width of the lens has changed
      scrollChanged - True if scroll position of the lens has changed