Class TagInfo
java.lang.Object
com.motivewave.platform.sdk.common.BaseInfo
com.motivewave.platform.sdk.common.TagInfo
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
IndicatorInfo
,SeriesInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a clone (copy) of this object.getTag()
Gets the descriptive tag to be shown.Gets the background color for the tag.Gets the font for the tag label.Gets the text style for the tag (includes font, text and bg color).Gets the text color for the tag.boolean
Indicates if the tag should be shown.boolean
Indicates if the latest value should be shown in the tag.setShowTag
(boolean showTag) Creates a copy of the object and sets the showTag attribute.setShowTagValue
(boolean showTagValue) Creates a copy of the object and sets the showTagValue attribute.Creates a copy of the object and sets the tag attribute.Creates a copy of the object and sets the tag attribute.Creates a copy of the object and sets the tag attribute.
-
Constructor Details
-
TagInfo
-
-
Method Details
-
getTagFont
Gets the font for the tag label.- Returns:
- font
-
isShowTag
public boolean isShowTag()Indicates if the tag should be shown.- Returns:
- true if the tag should be shown
-
isShowTagValue
public boolean isShowTagValue()Indicates if the latest value should be shown in the tag.- Returns:
- true if the latest value should be added to the tag
-
getTag
Gets the descriptive tag to be shown.- Returns:
- descriptive tag
-
getTagTextColor
Gets the text color for the tag.- Returns:
- text color for the tag
-
getTagBgColor
Gets the background color for the tag.- Returns:
- background color for the tag
-
getTagStyle
Gets the text style for the tag (includes font, text and bg color).- Returns:
- text style for the tag
-
setShowTag
Creates a copy of the object and sets the showTag attribute.- Parameters:
showTag
- true if the tag should be displayed- Returns:
- copy of the object
-
setShowTagValue
Creates a copy of the object and sets the showTagValue attribute.- Parameters:
showTag
- true if the tag value should be displayed- Returns:
- copy of the object
-
setTag
Creates a copy of the object and sets the tag attribute.- Parameters:
tag
- text to be displayed in the tag- Returns:
- copy of the object
-
setTagTextColor
Creates a copy of the object and sets the tag attribute.- Parameters:
tag
- text to be displayed in the tag- Returns:
- copy of the object
-
setTagBgColor
Creates a copy of the object and sets the tag attribute.- Parameters:
tag
- text to be displayed in the tag- Returns:
- copy of the object
-
clone
Creates a clone (copy) of this object.
-