| Package | Description |
|---|---|
| org.dominokit.domino.ui.collapsible |
| Modifier and Type | Method and Description |
|---|---|
AccordionPanel |
AccordionPanel.appendChild(org.jboss.elemento.IsElement<?> content)
add content to the panel body without removing existing content
|
AccordionPanel |
AccordionPanel.appendChild(elemental2.dom.Node content)
add content to the panel body without removing existing content
|
static AccordionPanel |
AccordionPanel.create(String title)
A factory to create Accordion panel with a title
|
static AccordionPanel |
AccordionPanel.create(String title,
org.jboss.elemento.IsElement<?> content)
A factory to create Accordion panel with a title and content
|
static AccordionPanel |
AccordionPanel.create(String title,
elemental2.dom.Node content)
A factory to create Accordion panel with a title and content
|
AccordionPanel |
AccordionPanel.danger()
Set the header background to
Color.RED |
AccordionPanel |
AccordionPanel.dangerFull()
Set the header and body background to
Color.RED |
AccordionPanel |
AccordionPanel.primary()
Set the header background to
Color.BLUE |
AccordionPanel |
AccordionPanel.primaryFull()
Set the header and body background to
Color.BLUE |
AccordionPanel |
AccordionPanel.setBodyBackground(Color color)
Set the body background to a custom color
|
AccordionPanel |
AccordionPanel.setContent(elemental2.dom.Node content)
Change the panel body content.
|
AccordionPanel |
AccordionPanel.setHeaderBackground(Color color)
Set the header background to a custom color
|
AccordionPanel |
AccordionPanel.setIcon(BaseIcon<?> icon)
Set the Accordion panel header icon
|
AccordionPanel |
AccordionPanel.setTitle(String title)
Change the panel header title.
|
AccordionPanel |
AccordionPanel.success()
Set the header background to
Color.GREEN |
AccordionPanel |
AccordionPanel.successFull()
Set the header and body background to
Color.GREEN |
AccordionPanel |
AccordionPanel.warning()
Set the header background to
Color.ORANGE |
AccordionPanel |
AccordionPanel.warningFull()
Set the header and body background to
Color.ORANGE |
| Modifier and Type | Method and Description |
|---|---|
List<AccordionPanel> |
Accordion.getPanels() |
| Modifier and Type | Method and Description |
|---|---|
Accordion |
Accordion.appendChild(AccordionPanel panel)
Adds an Accordion panel to the Accordion
|
Accordion |
Accordion.appendChild(AccordionPanel panel,
boolean overrideColors)
Adds an accordion panel to the accordion and allow overriding the accordion panel colors with
the colors from the Accordion
|
void |
Accordion.togglePanel(AccordionPanel panel)
Toggles the Accordion panel open state.
|
Copyright © 2019–2022 Dominokit. All rights reserved.