NTCustomPopupHandler


@interface NTCustomPopupHandler : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

A handler class for custom popups. The handler is responsible for drawing the popup and reponding to click events.

  • Handler method that gets called when the popup needs to be drawn to a bitmap.

    Declaration

    Objective-C

    - (NTBitmap *)onDrawPopup:(NTPopupDrawInfo *)popupDrawInfo;

    Parameters

    popupDrawInfo

    The information about the popup to be rendered.

    Return Value

    The drawn bitmap.

  • Handler method that gets called when the popup needs to be drawn to a bitmap.

    Declaration

    Objective-C

    - (NTBitmap *)onDrawPopupSwigExplicitNTCustomPopupHandler:
        (NTPopupDrawInfo *)popupDrawInfo;

    Parameters

    popupDrawInfo

    The information about the popup to be rendered.

    Return Value

    The drawn bitmap.

  • Handler method that gets called when the popup is clicked

    Declaration

    Objective-C

    - (BOOL)onPopupClicked:(NTPopupClickInfo *)popupClickInfo;

    Parameters

    popupClickInfo

    The information about the popup click event.

    Return Value

    True if the click was handled. False otherwise.

  • Handler method that gets called when the popup is clicked

    Declaration

    Objective-C

    - (BOOL)onPopupClickedSwigExplicitNTCustomPopupHandler:
        (NTPopupClickInfo *)popupClickInfo;

    Parameters

    popupClickInfo

    The information about the popup click event.

    Return Value

    True if the click was handled. False otherwise.

  • Undocumented

    Declaration

    Objective-C

    -(id)init;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;