| java.lang.Object | |
| ↳ | com.carto.vectorelements.BalloonPopupButton |
A button that can be used to add interactivity to balloon popups.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
BalloonPopupButton(BalloonPopupButtonStyle style, String text)
Constructs a BalloonPopupButton object with the specified style and text.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| BalloonPopupButtonStyle |
getStyle()
Returns the style of this button.
| ||||||||||
| Variant |
getTag()
Returns the user-defined tag associated with the button.
| ||||||||||
| String |
getText()
Returns the text of this button.
| ||||||||||
| void |
setTag(Variant tag)
Sets the user-defined tag associated with the button.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a BalloonPopupButton object with the specified style and text.
| style | The style that defines what this button looks like. |
|---|---|
| text | The text for this button. |
Returns the style of this button.
Returns the user-defined tag associated with the button.
Returns the text of this button.
Sets the user-defined tag associated with the button.
| tag | The new user-defined tag value. |
|---|