Class DataCollectionNodeProperties
java.lang.Object
overit.geocallapp.wfm.mobileforms.bl.node.DataCollectionNodeProperties
- All Implemented Interfaces:
Serializable
An object that defines the properties of the data collection node.
- Since:
- 12.0
- See Also:
- GCApi:
- bo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getColor()Gets the font colorGets the detailed descriptionGets the heading typegetNote()booleanGets whether bold font is enabledbooleanGets whether font properties are enabledbooleanGets whether italic font is enabledbooleanGets whether underline font is enabledvoidsetBoldFont(boolean boldFont) Sets whether bold font is enabledvoidvoidvoidsetColorFont(String colorFont) Sets the font colorvoidsetDescription(LocalizedString description) voidsetDetailedDescription(LocalizedString detailedDescription) Sets the detailed descriptionvoidsetFontProperties(boolean fontProperties) Sets whether font properties are enabledvoidsetHeadingType(String headingType) Sets the heading typevoidsetItalicFont(boolean italicFont) Sets whether italic font is enabledvoidvoidsetUnderlineFont(boolean underlineFont) Sets whether underline font is enabled
-
Field Details
-
PROPERTIES_DESCRIPTION
- See Also:
-
PROPERTIES_FONT_INIT
- See Also:
-
PROPERTIES_DETAILED_DESCRIPTION
- See Also:
-
PROPERTIES_COLOR_FONT
- See Also:
-
PROPERTIES_HEADING_TYPE
- See Also:
-
PROPERTIES_BOLD_FONT
- See Also:
-
PROPERTIES_FONT_PROPERTIES
- See Also:
-
PROPERTIES_ITALIC_FONT
- See Also:
-
PROPERTIES_UNDERLINE_FONT
- See Also:
-
-
Constructor Details
-
DataCollectionNodeProperties
public DataCollectionNodeProperties()
-
-
Method Details
-
getCode
- Returns:
- the code
-
setCode
- Parameters:
code- the code to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getColor
- Returns:
- the color
-
setColor
- Parameters:
color- the color to set
-
getNote
- Returns:
- the note
-
setNote
- Parameters:
note- the note to set
-
isFontProperties
public boolean isFontProperties()Gets whether font properties are enabled- Returns:
- true if font properties are enabled, false otherwise
-
setFontProperties
public void setFontProperties(boolean fontProperties) Sets whether font properties are enabled- Parameters:
fontProperties- true to enable font properties, false otherwise
-
getColorFont
Gets the font color- Returns:
- the font color as a string, or empty string if null
-
setColorFont
Sets the font color- Parameters:
colorFont- the font color to set
-
getHeadingType
Gets the heading type- Returns:
- the heading type
-
setHeadingType
Sets the heading type- Parameters:
headingType- the heading type to set
-
isBoldFont
public boolean isBoldFont()Gets whether bold font is enabled- Returns:
- true if bold font is enabled, false otherwise
-
setBoldFont
public void setBoldFont(boolean boldFont) Sets whether bold font is enabled- Parameters:
boldFont- true to enable bold font, false otherwise
-
isItalicFont
public boolean isItalicFont()Gets whether italic font is enabled- Returns:
- true if italic font is enabled, false otherwise
-
setItalicFont
public void setItalicFont(boolean italicFont) Sets whether italic font is enabled- Parameters:
italicFont- true to enable italic font, false otherwise
-
isUnderlineFont
public boolean isUnderlineFont()Gets whether underline font is enabled- Returns:
- true if underline font is enabled, false otherwise
-
setUnderlineFont
public void setUnderlineFont(boolean underlineFont) Sets whether underline font is enabled- Parameters:
underlineFont- true to enable underline font, false otherwise
-
getDetailedDescription
Gets the detailed description- Returns:
- the detailed description as a LocalizedString
-
setDetailedDescription
Sets the detailed description- Parameters:
detailedDescription- the detailed description to set
-