| Package | Description |
|---|---|
| org.dominokit.domino.ui.labels |
| Modifier and Type | Method and Description |
|---|---|
static Label |
Label.create(String content)
Creates with content and no type
|
static Label |
Label.create(String content,
StyleType type)
Creates with content and a type
|
static Label |
Label.createDanger(String content)
Creates with content and
StyleType.DANGER type |
static Label |
Label.createDefault(String content)
Creates with content and
StyleType.DEFAULT type |
static Label |
Label.createInfo(String content)
Creates with content and
StyleType.INFO type |
static Label |
Label.createPrimary(String content)
Creates with content and
StyleType.PRIMARY type |
static Label |
Label.createSuccess(String content)
Creates with content and
StyleType.SUCCESS type |
static Label |
Label.createWarning(String content)
Creates with content and
StyleType.WARNING type |
Label |
Label.setBackground(Color background) |
Label |
Label.setContent(String content) |
Copyright © 2019–2022 Dominokit. All rights reserved.