MSFBalloonPopupButton

Objective-C


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

Swift

class MSFBalloonPopupButton : NSObject

A button that can be used to add interactivity to balloon popups.

  • Constructs a BalloonPopupButton object with the specified style and text.

    Declaration

    Objective-C

    - (id)initWithStyle:(MSFBalloonPopupButtonStyle *)style text:(NSString *)text;

    Swift

    init!(style: MSFBalloonPopupButtonStyle!, text: String!)

    Parameters

    style

    The style that defines what this button looks like.

    text

    The text for this button.

  • Returns the text of this button.

    Declaration

    Objective-C

    - (NSString *)getText;

    Swift

    func getText() -> String!

    Return Value

    The text of this button.

  • Returns the style of this button.

    Declaration

    Objective-C

    - (MSFBalloonPopupButtonStyle *)getStyle;

    Swift

    func getStyle() -> MSFBalloonPopupButtonStyle!

    Return Value

    The style that defines what this button looks like.

  • Returns the user-defined tag associated with the button.

    Declaration

    Objective-C

    - (MSFVariant *)getTag;

    Swift

    func getTag() -> MSFVariant!

    Return Value

    The user-defined tag value. By default the tag is empty.

  • Sets the user-defined tag associated with the button.

    Declaration

    Objective-C

    - (void)setTag:(MSFVariant *)tag;

    Swift

    func setTag(_ tag: MSFVariant!)

    Parameters

    tag

    The new user-defined tag value.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()