Class MarkerInfo
java.lang.Object
com.motivewave.platform.sdk.common.BaseInfo
com.motivewave.platform.sdk.common.MarkerInfo
- All Implemented Interfaces:
- Cloneable
Describes how to display a marker.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Colorprotected Colorprotected Enums.Sizeprotected Colorprotected Enums.MarkerType
- 
Constructor SummaryConstructorsConstructorDescriptionMarkerInfo(Enums.MarkerType type, Enums.Size size, Color fillColor, Color outlineColor, boolean enabled) Constructor.MarkerInfo(Enums.MarkerType type, Enums.Size size, Color fillColor, Color textColor, Color outlineColor, boolean enabled) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionclone()Creates a clone (copy) of this object.static MarkerInfofromJson(Object json, MarkerInfo def) Gets the fill color of the marker.Gets the outline color of the marker.getSize()Gets the size of the marker.Gets the text color of the marker.getType()Gets the type of the marker.protected voidwithFillColor(Color fillColor) withOutlineColor(Color outlineColor) withSize(Enums.Size size) withTextColor(Color textColor) withType(Enums.MarkerType type) 
- 
Field Details- 
fillColor
- 
textColor
- 
outlineColor
- 
type
- 
size
 
- 
- 
Constructor Details- 
MarkerInfopublic MarkerInfo(Enums.MarkerType type, Enums.Size size, Color fillColor, Color outlineColor, boolean enabled) Constructor.- Parameters:
- type- type of marker to display
- size- size of the marker
- fillColor- color used to fill the marker background
- outlineColor- color for the outline
- enabled- true if this marker is enabled
 
- 
MarkerInfopublic MarkerInfo(Enums.MarkerType type, Enums.Size size, Color fillColor, Color textColor, Color outlineColor, boolean enabled) Constructor.- Parameters:
- type- type of marker to display
- size- size of the marker
- fillColor- color used to fill the marker background
- textColor- color used to fill for the text (if applicable)
- outlineColor- color for the outline
- enabled- true if this marker is enabled
 
 
- 
- 
Method Details- 
updateKey
- 
getType
- 
getSize
- 
getFillColor
- 
getTextColor
- 
getOutlineColorGets the outline color of the marker.- Returns:
- outline color for the marker
 
- 
withFillColor
- 
withType
- 
withSize
- 
withTextColor
- 
withOutlineColor
- 
cloneCreates a clone (copy) of this object.
- 
toJson
- 
fromJson
 
-