Package com.massifmaps.styles
Class BalloonPopupStyle
java.lang.Object
com.massifmaps.styles.Style
com.massifmaps.styles.BillboardStyle
com.massifmaps.styles.PopupStyle
com.massifmaps.styles.BalloonPopupStyle
A style for balloon popups. Contains attributes for configuring how the balloon popup is drawn on the screen.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the background color of the popup.Returns the margins for the buttons of the popup.intReturns the corner radius of the popup.Returns the color of the description.Returns the description field variable to use.Returns the name of the description font.intReturns the size of the description font.Returns the margins of the description.Returns the background color of the left part of the popup.Returns the image of the left part of the popup.Returns the margins of the left part of the popup.Returns the background color of the right part of the popup.Returns the image of the right part of the popup.Returns the margins of the right part of the popup.Returns the color of the stroke surrounding the popup.intReturns the width of the stroke surrounding the popup.Returns the color of the title.Returns the title field variable to use.Returns the name of the title font.intReturns the size of the title font.Returns the margins of the title.intReturns the height of the triangle at the bottom of the popup.intReturns the width of the triangle at the bottom of the popup.booleanReturns the state of the description wrap parameter.booleanReturns the state of the title wrap parameter.Methods inherited from class com.massifmaps.styles.BillboardStyle
getAnimationStyle, getAttachAnchorPointX, getAttachAnchorPointY, getHorizontalOffset, getPlacementPriority, getVerticalOffset, isCausesOverlap, isHideIfOverlapped, isScaleWithDPI
-
Method Details
-
getBackgroundColor
Returns the background color of the popup.- Returns:
- The background color of the popup.
-
getCornerRadius
public int getCornerRadius()Returns the corner radius of the popup.- Returns:
- The corner radius of the popup.
-
getLeftColor
Returns the background color of the left part of the popup.- Returns:
- The background color of the left part of the popup.
-
getLeftImage
Returns the image of the left part of the popup.- Returns:
- The image of the left part of the popup.
-
getLeftMargins
Returns the margins of the left part of the popup.- Returns:
- The margins of the left part of the popup.
-
getRightColor
Returns the background color of the right part of the popup.- Returns:
- The background color of the right part of the popup.
-
getRightImage
Returns the image of the right part of the popup.- Returns:
- The image of the right part of the popup.
-
getRightMargins
Returns the margins of the right part of the popup.- Returns:
- The margins of the right part of the popup.
-
getTitleColor
Returns the color of the title.- Returns:
- The color of the title.
-
getTitleFontName
Returns the name of the title font.- Returns:
- The name of the title font.
-
getTitleField
Returns the title field variable to use.- Returns:
- The title field variable.
-
getTitleFontSize
public int getTitleFontSize()Returns the size of the title font.- Returns:
- The size of the title font.
-
getTitleMargins
Returns the margins of the title.- Returns:
- The margins of the title.
-
isTitleWrap
public boolean isTitleWrap()Returns the state of the title wrap parameter.- Returns:
- True if long titles are wrapped, false if it is truncated.
-
getDescriptionColor
Returns the color of the description.- Returns:
- The color of the description.
-
getDescriptionFontName
Returns the name of the description font.- Returns:
- The name of the description font.
-
getDescriptionField
Returns the description field variable to use.- Returns:
- The description field variable.
-
getDescriptionFontSize
public int getDescriptionFontSize()Returns the size of the description font.- Returns:
- The size of the description font.
-
getDescriptionMargins
Returns the margins of the description.- Returns:
- The margins of the description.
-
isDescriptionWrap
public boolean isDescriptionWrap()Returns the state of the description wrap parameter.- Returns:
- True if long descriptions are wrapped, false if it is truncated.
-
getButtonMargins
Returns the margins for the buttons of the popup.- Returns:
- The margins for the buttons of the popup.
-
getStrokeColor
Returns the color of the stroke surrounding the popup.- Returns:
- The color of the stroke surrounding the popup.
-
getStrokeWidth
public int getStrokeWidth()Returns the width of the stroke surrounding the popup.- Returns:
- The width of the stroke surrounding the popup in dp.
-
getTriangleWidth
public int getTriangleWidth()Returns the width of the triangle at the bottom of the popup.- Returns:
- The width of the triangle at the bottom of the popup in dp.
-
getTriangleHeight
public int getTriangleHeight()Returns the height of the triangle at the bottom of the popup.- Returns:
- The height of the triangle at the bottom of the popup in dp.
-