Class HtmlContent
java.lang.Object
ch.tocco.nice2.infobox.impl.content.HtmlContent
- All Implemented Interfaces:
Content
-
Constructor Summary
ConstructorsConstructorDescriptionHtmlContent(String uniqueId, String text) HtmlContent(String uniqueId, String text, Integer sorting) -
Method Summary
Modifier and TypeMethodDescriptionintGet the sorting property of this content.getText()getType()Return the unique type name of this content.voidsetSorting(int sorting) voidvoidvoidsetUniqueId(String uniqueId)
-
Constructor Details
-
HtmlContent
-
HtmlContent
-
-
Method Details
-
getType
Description copied from interface:ContentReturn the unique type name of this content. The type is some arbitary but unique string, identifiying this content type. Back on the client this type name is used to obtain a factory for creating the visual component for the content.
-
getUniqueId
-
getText
-
setType
-
setUniqueId
-
setText
-
getSorting
public int getSorting()Description copied from interface:ContentGet the sorting property of this content. All content in the info box is sorted by this property.- Specified by:
getSortingin interfaceContent- Returns:
- the (absolute) position of this content
-
setSorting
public void setSorting(int sorting)
-