Interface ClippingListener

  • All Superinterfaces:
    java.util.EventListener

    public interface ClippingListener
    extends java.util.EventListener
    An interface for a listener for clipping events which will be called by the renderer in the case an element is clipped while rendering. To register your own ClippingListener, simply implement this interface, and add it to the engine via Engine.addClippingListener(ClippingListener).
    Since:
    6.1
    • Method Detail

      • clippingOnElement

        void clippingOnElement​(ClippingEvent event)
        This method will be called every time an element is clipped while rendering, if its listener has been registered by a call of Engine's addClippingListener. The ClippingEvent object holds all information about the clip - including the reference to the element clipped, the full text of the element, and the text which will be displayed after clipping.
        Parameters:
        event - ClippingEvent, with information about the clip.
        Since:
        6.1