Package com.persequor.extension.frontend
Interface IContent<C extends IContent<C>>
- All Superinterfaces:
IHasId<C>
- All Known Subinterfaces:
IAccordionSection
,IAppForm
,IAppPage
,IAppSection
,ICell
,IEventDataSection
,IForm
,IFormContent
,IOnlineAppPage
,IPage
,ISection
,ISectionContent
,ITimelineItem
,IVerticalContainer
-
Method Summary
Modifier and TypeMethodDescriptiondefault IButton
default ICopyButton
copyButton
(long data) A button which places the data in the users clipboard when clickedcopyButton
(String data) A button which places the data in the users clipboard when clickeddateTime
(ZonedDateTime dateTime) default IText
default IText
iconButton
(Icon icon, IString text) default IIconButton
iconButton
(Icon icon, String text, String... tokens) number
(double number) number
(int number) default IText
default IText
void
void
default IText
text
(TextFieldType type, IString text) Text block can be plain, preformatted or a headerdefault IText
text
(TextFieldType type, String text, String... tokens) Text block can be plain, preformatted or a headerdefault IText
default IText
default IText
void
-
Method Details
-
text
Text block can be plain, preformatted or a header- Parameters:
text
- to appear in the text blocktype
- of text block: title, header, paragraph, preformatted, markdowntokens
- see text tokens documentation atText.of(String, String...)
- Returns:
- this component configuration
-
text
Text block can be plain, preformatted or a header- Parameters:
text
- to appear in the text blocktype
- of text block: title, header, paragraph, preformatted, markdown- Returns:
- this component configuration
-
text
- Parameters:
text
- The text to showtokens
- see text tokens documentation atText.of(String, String...)
- Returns:
- this component configuration
-
title
- Parameters:
text
- The translatable text to appear as a title- Returns:
- this component configuration
-
title
- Parameters:
text
- The text to appear as a title- Returns:
- this component configuration
-
header
- Parameters:
text
- The translatable text to appear as a header- Returns:
- this component configuration
-
header
- Parameters:
text
- The text to appear as a header- Returns:
- this component configuration
-
paragraph
- Parameters:
text
- The translatable text to appear as a paragraph- Returns:
- this component configuration
-
paragraph
- Parameters:
text
- The text to appear as a paragraph- Returns:
- this component configuration
-
iconButton
- Parameters:
icon
- The icontext
- the text containing tokenstokens
- see text tokens documentation atText.of(String, String...)
- Returns:
- this component configuration
-
button
- Parameters:
label
- the label containing tokenstokens
- see text tokens documentation atText.of(String, String...)
- Returns:
- this component configuration
-
copyButton
A button which places the data in the users clipboard when clicked- Parameters:
data
- the data to be copied- Returns:
- this component configuration
-
text
- Parameters:
text
- to appear in the text block- Returns:
- this component configuration
-
image
- Parameters:
url
- url of the image- Returns:
- this component configuration
-
image
- Parameters:
bytes
- The bytescontentType
- File format. E.g. image/png, image/jpg, etc.- Returns:
- this component configuration
-
button
- Parameters:
label
- to appear in the button- Returns:
- this component configuration
-
copyButton
A button which places the data in the users clipboard when clicked- Parameters:
data
- the data to be copied- Returns:
- this component configuration
-
icon
- Parameters:
icon
- The icon- Returns:
- this component configuration
-
iconButton
- Parameters:
icon
- The icontext
- the text containing tokens- Returns:
- this component configuration
-
dateTime
- Parameters:
dateTime
- The date to show- Returns:
- Date time component on which you can set additional parameters
-
number
- Parameters:
number
- The number to show- Returns:
- A component on which you can set additional parameters
-
number
- Parameters:
number
- The number to show- Returns:
- A component on which you can set additional parameters
-
section
- Parameters:
props
- section propertiesconsumer
- Use this consumer to set the contents of this section
-
section
- Parameters:
consumer
- Use this consumer to set the contents of this section
-
itemList
- Parameters:
items
- list of items to display- Returns:
- this component configuration
-
tree
- Parameters:
tree
- component to populate with child items
-