Class HtmlContent
java.lang.Object
ch.tocco.nice2.infobox.impl.content.HtmlContent
- All Implemented Interfaces:
Content
-
Constructor Summary
ConstructorDescriptionHtmlContent
(String uniqueId, String text) HtmlContent
(String uniqueId, String text, Integer sorting) -
Method Summary
Modifier and TypeMethodDescriptionint
Get the sorting property of this content.getText()
getType()
Return the unique type name of this content.void
setSorting
(int sorting) void
void
void
setUniqueId
(String uniqueId)
-
Constructor Details
-
HtmlContent
-
HtmlContent
-
-
Method Details
-
getType
Description copied from interface:Content
Return 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:Content
Get the sorting property of this content. All content in the info box is sorted by this property.- Specified by:
getSorting
in interfaceContent
- Returns:
- the (absolute) position of this content
-
setSorting
public void setSorting(int sorting)
-