Package com.massifmaps.vectorelements
Class BalloonPopupButton
java.lang.Object
com.massifmaps.vectorelements.BalloonPopupButton
A button that can be used to add interactivity to balloon popups.
-
Constructor Summary
ConstructorsConstructorDescriptionBalloonPopupButton(BalloonPopupButtonStyle style, String text) Constructs a BalloonPopupButton object with the specified style and text. -
Method Summary
-
Constructor Details
-
BalloonPopupButton
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
Returns the text of this button.- Returns:
- The text of this button.
-
getStyle
Returns the style of this button.- Returns:
- The style that defines what this button looks like.
-
getTag
Returns the user-defined tag associated with the button.- Returns:
- The user-defined tag value. By default the tag is empty.
-
setTag
Sets the user-defined tag associated with the button.- Parameters:
tag- The new user-defined tag value.
-