Class CardSection
java.lang.Object
org.apache.juneau.console.freemarker.Section
org.apache.juneau.console.freemarker.CardSection
A rail section holding one ordinary card.
The card publishes what it publishes; the section owns no topic. The card is added to the page by
PageSpec.dashboard(...).
Example:
CardSection.
- Since:
- 10.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.juneau.console.freemarker.Section
Section.Custom -
Method Summary
Modifier and TypeMethodDescriptionSets the section's legend text.static CardSectionCreates a card section from any card.static CardSectionCreates a card section from a chart.Not allowed: a card section publishes through its card.
-
Method Details
-
of
Creates a card section from a chart.- Parameters:
chart- The chart.- Returns:
- A new section.
-
of
Creates a card section from any card.- Parameters:
card- The card. It must not be bare.- Returns:
- A new section.
-
publishes
Not allowed: a card section publishes through its card. Calling this makes the dashboard fail with E-77. -
label
Description copied from class:SectionSets the section's legend text.
-