Class BalloonPopupButton

java.lang.Object
com.massifmaps.vectorelements.BalloonPopupButton

public class BalloonPopupButton extends Object
A button that can be used to add interactivity to balloon popups.
  • Constructor Details

    • BalloonPopupButton

      public BalloonPopupButton(BalloonPopupButtonStyle style, String text)
      Constructs a BalloonPopupButton object with the specified style and text.
      Parameters:
      style - The style that defines what this button looks like.
      text - The text for this button.
  • Method Details

    • getText

      public String getText()
      Returns the text of this button.
      Returns:
      The text of this button.
    • getStyle

      public BalloonPopupButtonStyle getStyle()
      Returns the style of this button.
      Returns:
      The style that defines what this button looks like.
    • getTag

      public Variant getTag()
      Returns the user-defined tag associated with the button.
      Returns:
      The user-defined tag value. By default the tag is empty.
    • setTag

      public void setTag(Variant tag)
      Sets the user-defined tag associated with the button.
      Parameters:
      tag - The new user-defined tag value.