public class BalloonPopupStyleBuilder extends PopupStyleBuilder
swigCMemOwn
Constructor and Description |
---|
BalloonPopupStyleBuilder()
Constructs a BalloonPopupStyleBuilder object with all parameters set to defaults.
|
BalloonPopupStyleBuilder(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
BalloonPopupStyle |
buildStyle()
Builds a new instance of the BalloonPopupStyle object using previously set parameters.
|
void |
delete() |
protected void |
finalize() |
int |
getCornerRadius()
Returns the corner radius of the popup.
|
static long |
getCPtr(BalloonPopupStyleBuilder obj) |
Color |
getDescriptionColor()
Returns the color of the description.
|
java.lang.String |
getDescriptionFontName()
Returns the name of the description font.
|
int |
getDescriptionFontSize()
Returns the size of the description font.
|
BalloonPopupMargins |
getDescriptionMargins()
Returns the margins of the description.
|
Color |
getLeftColor()
Returns the background color of the left part of the popup.
|
Bitmap |
getLeftImage()
Returns the image of the left part of the popup.
|
BalloonPopupMargins |
getLeftMargins()
Returns the margins of the left part of the popup.
|
Color |
getRightColor()
Returns the background color of the right part of the popup.
|
Bitmap |
getRightImage()
Returns the image of the right part of the popup.
|
BalloonPopupMargins |
getRightMargins()
Returns the margins of the right part of the popup.
|
Color |
getStrokeColor()
Returns the color of the stroke surrounding the popup.
|
int |
getStrokeWidth()
Returns the width of the stroke surrounding the popup.
|
Color |
getTitleColor()
Returns the color of the title.
|
java.lang.String |
getTitleFontName()
Returns the name of the title font.
|
int |
getTitleFontSize()
Returns the size of the title font.
|
BalloonPopupMargins |
getTitleMargins()
Returns the margins of the title.
|
int |
getTriangleHeight()
Returns the height of the triangle at the bottom of the popup.
|
int |
getTriangleWidth()
Returns the width of the triangle at the bottom of the popup.
|
boolean |
isDescriptionWrap()
Returns the state of the description wrap parameter.
|
boolean |
isTitleWrap()
Returns the state of the title wrap parameter.
|
void |
setCornerRadius(int cornerRadius)
Sets the corner radius of the popup.
|
void |
setDescriptionColor(Color descColor)
Sets the color of the description.
|
void |
setDescriptionFontName(java.lang.String descFontName)
Sets the name of the description font.
|
void |
setDescriptionFontSize(int descFontSize)
Sets the size of the description font.
|
void |
setDescriptionMargins(BalloonPopupMargins descMargins)
Sets the margins for the description.
|
void |
setDescriptionWrap(boolean descWrap)
Sets the state of the description wrap parameter.
|
void |
setLeftColor(Color leftColor)
Sets the background color of the left part of the popup.
|
void |
setLeftImage(Bitmap leftImage)
Sets the image for the left part of the popup.
|
void |
setLeftMargins(BalloonPopupMargins leftMargins)
Sets the margins for the left part of the popup.
|
void |
setRightColor(Color rightColor)
Sets the background color of the right part of the popup.
|
void |
setRightImage(Bitmap rightImage)
Sets the image for the right part of the popup.
|
void |
setRightMargins(BalloonPopupMargins rightMargins)
Sets the margins for the right part of the popup.
|
void |
setStrokeColor(Color strokeColor)
Sets the color of the stroke surrounding the popup.
|
void |
setStrokeWidth(int strokeWidth)
Sets the width of the stroke surrounding the popup.
|
void |
setTitleColor(Color titleColor)
Sets the color of the title.
|
void |
setTitleFontName(java.lang.String titleFontName)
Sets the name of the title font.
|
void |
setTitleFontSize(int titleFontSize)
Sets the size of the title font.
|
void |
setTitleMargins(BalloonPopupMargins titleMargins)
Sets the margins for the title.
|
void |
setTitleWrap(boolean titleWrap)
Sets the state of the title wrap parameter.
|
void |
setTriangleHeight(int triangleHeight)
Sets the height of the triangle at the bottom of the popup.
|
void |
setTriangleWidth(int triangleWidth)
Sets the width of the triangle at the bottom of the popup.
|
static BalloonPopupStyleBuilder |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
getCPtr
getAttachAnchorPointX, getAttachAnchorPointY, getCPtr, getHorizontalOffset, getPlacementPriority, getVerticalOffset, isCausesOverlap, isHideIfOverlapped, isScaleWithDPI, setAttachAnchorPoint, setAttachAnchorPointX, setAttachAnchorPointY, setCausesOverlap, setHideIfOverlapped, setHorizontalOffset, setPlacementPriority, setScaleWithDPI, setVerticalOffset
public BalloonPopupStyleBuilder(long cPtr, boolean cMemoryOwn)
public BalloonPopupStyleBuilder()
public static long getCPtr(BalloonPopupStyleBuilder obj)
protected void finalize()
finalize
in class PopupStyleBuilder
public void delete()
delete
in class PopupStyleBuilder
public static BalloonPopupStyleBuilder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public int getCornerRadius()
public void setCornerRadius(int cornerRadius)
cornerRadius
- The new corner radius in dp.public Color getLeftColor()
public void setLeftColor(Color leftColor)
leftColor
- The new color for the left part of the popup.public Bitmap getLeftImage()
public void setLeftImage(Bitmap leftImage)
leftImage
- The new image for the left part of the popup.public BalloonPopupMargins getLeftMargins()
public void setLeftMargins(BalloonPopupMargins leftMargins)
leftMargins
- The new margins for the left part of the popup in dp.public Color getRightColor()
public void setRightColor(Color rightColor)
rightColor
- The new color for the right part of the popup.public Bitmap getRightImage()
public void setRightImage(Bitmap rightImage)
rightImage
- The new image for the right part of the popup.public BalloonPopupMargins getRightMargins()
public void setRightMargins(BalloonPopupMargins rightMargins)
rightMargins
- The new margins for the right part of the popup in dp.public Color getTitleColor()
public void setTitleColor(Color titleColor)
titleColor
- The new color for the title.public java.lang.String getTitleFontName()
public void setTitleFontName(java.lang.String titleFontName)
titleFontName
- The new name for the title font.public int getTitleFontSize()
public void setTitleFontSize(int titleFontSize)
titleFontSize
- The new size for the title font in pts.public BalloonPopupMargins getTitleMargins()
public void setTitleMargins(BalloonPopupMargins titleMargins)
titleMargins
- The new margins for the title in dp.public boolean isTitleWrap()
public void setTitleWrap(boolean titleWrap)
titleWrap
- The new state of the title wrap parameter.public Color getDescriptionColor()
public void setDescriptionColor(Color descColor)
descColor
- The new color for the description.public java.lang.String getDescriptionFontName()
public void setDescriptionFontName(java.lang.String descFontName)
descFontName
- The new name for the description font.public int getDescriptionFontSize()
public void setDescriptionFontSize(int descFontSize)
descFontSize
- The new size for the description font in pts.public BalloonPopupMargins getDescriptionMargins()
public void setDescriptionMargins(BalloonPopupMargins descMargins)
descMargins
- The new margins for the description in dp.public boolean isDescriptionWrap()
public void setDescriptionWrap(boolean descWrap)
descWrap
- The new state of the description wrap parameter.public Color getStrokeColor()
public void setStrokeColor(Color strokeColor)
strokeColor
- The new color of the stroke surrounding the popup.public int getStrokeWidth()
public void setStrokeWidth(int strokeWidth)
strokeWidth
- The new width of the stroke surrounding the popup.public int getTriangleWidth()
public void setTriangleWidth(int triangleWidth)
triangleWidth
- The new width of the triangle at the bottom of the popup.public int getTriangleHeight()
public void setTriangleHeight(int triangleHeight)
triangleHeight
- The new height of the triangle at the bottom of the popup.public BalloonPopupStyle buildStyle()
buildStyle
in class PopupStyleBuilder
public java.lang.String swigGetClassName()
swigGetClassName
in class PopupStyleBuilder
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class PopupStyleBuilder