Class ContentStyle
java.lang.Object
com.aquima.interactions.composer.model.ContentStyle
- All Implemented Interfaces:
Serializable
The content style is used to indicate where a content element should be rendered on a page. As the content styles are
currently NOT predefined, the content style may contain any text/name.
Examples of content styles:
- right align
- second column
- table header
- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
This method returns the name of the content style.int
hashCode()
toString()
static ContentStyle
valueOf
(ContentStyleDefinition definition) This method returns the content style for the content style definition.static ContentStyle
This method returns the content style for the specified name.
-
Method Details
-
valueOf
This method returns the content style for the specified name.- Parameters:
name
- The name of the content style that is requested.- Returns:
- The content style for the specified name.
-
valueOf
This method returns the content style for the content style definition.- Parameters:
definition
- The content style definition.- Returns:
- The content style for the specified definition.
-
getName
This method returns the name of the content style.- Returns:
- The name of the content style.
-
equals
-
hashCode
public int hashCode() -
toString
-