| Modifier and Type | Method and Description |
|---|---|
BaseIcon<?> |
BreadcrumbItem.getIcon() |
| Modifier and Type | Method and Description |
|---|---|
Breadcrumb |
Breadcrumb.appendChild(BaseIcon<?> icon,
String text,
elemental2.dom.EventListener onClick)
Adds new location with
text, icon and onClick listener |
static BreadcrumbItem |
BreadcrumbItem.create(BaseIcon<?> icon,
String text)
Creates item with text content and icon
|
| Modifier and Type | Method and Description |
|---|---|
static DropdownButton |
DropdownButton.create(BaseIcon<?> icon)
Creates a Dropdown button with an icon
|
static Button |
Button.create(BaseIcon<?> icon)
creates a Button with an icon by calling
Button(BaseIcon) |
static DropdownButton |
DropdownButton.create(BaseIcon<?> icon,
StyleType type)
Creates a Dropdown button with an icon and apply a
StyleType |
static DropdownButton |
DropdownButton.createDanger(BaseIcon<?> icon)
Creates a Dropdown button with an icon and apply a
StyleType.DANGER |
static Button |
Button.createDanger(BaseIcon<?> icon)
creates a Button with an icon and apply
StyleType.DANGER |
static DropdownButton |
DropdownButton.createDefault(BaseIcon<?> icon)
Creates a Dropdown button with an icon and apply a
StyleType.DEFAULT |
static Button |
Button.createDefault(BaseIcon<?> icon)
creates a Button with an icon and apply
StyleType.DEFAULT |
static DropdownButton |
DropdownButton.createInfo(BaseIcon<?> icon)
Creates a Dropdown button with an icon and apply a
StyleType.INFO |
static Button |
Button.createInfo(BaseIcon<?> icon)
creates a Button with an icon and apply
StyleType.INFO |
static DropdownButton |
DropdownButton.createPrimary(BaseIcon<?> icon)
Creates a Dropdown button with an icon and apply a
StyleType.PRIMARY |
static Button |
Button.createPrimary(BaseIcon<?> icon)
creates a Button with an icon and apply
StyleType.PRIMARY |
static DropdownButton |
DropdownButton.createSuccess(BaseIcon<?> icon)
Creates a Dropdown button with an icon and apply a
StyleType.SUCCESS |
static Button |
Button.createSuccess(BaseIcon<?> icon)
creates a Button with an icon and apply
StyleType.SUCCESS |
static DropdownButton |
DropdownButton.createWarning(BaseIcon<?> icon)
Creates a Dropdown button with an icon and apply a
StyleType.WARNING |
static Button |
Button.createWarning(BaseIcon<?> icon)
creates a Button with an icon and apply
StyleType.WARNING |
B |
BaseButton.setIcon(BaseIcon<?> icon)
sets the button icon replacing the current icon.
|
| Constructor and Description |
|---|
BaseButton(BaseIcon icon)
creates a button with an icon and default size
ButtonSize.MEDIUM |
BaseButton(BaseIcon icon,
StyleType type)
creates a button with an icon and default size
ButtonSize.MEDIUM and apply a predefined
StyleType |
Button(BaseIcon<?> icon)
creates a Button with an icon and
Elevation.LEVEL_1 |
Button(BaseIcon<?> icon,
StyleType type)
creates a Button with an icon and apply a
StyleType |
DropdownButton(BaseIcon<?> icon)
Creates a Dropdown button with an icon
|
DropdownButton(BaseIcon<?> icon,
StyleType type)
Creates a Dropdown button with an icon and apply a
StyleType |
| Modifier and Type | Method and Description |
|---|---|
BaseIcon<?> |
Card.getCollapseIcon() |
BaseIcon<?> |
HeaderAction.getIcon() |
| Modifier and Type | Method and Description |
|---|---|
Card |
Card.addHeaderAction(BaseIcon<?> icon,
elemental2.dom.EventListener eventListener)
Adds new header action to card header passing the
icon and the eventListener. |
static HeaderAction |
HeaderAction.create(BaseIcon<?> icon)
Creates header action with icon
|
static HeaderAction |
HeaderAction.create(BaseIcon<?> icon,
elemental2.dom.EventListener eventListener)
Creates header action with icon and event listener
|
| Constructor and Description |
|---|
HeaderAction(BaseIcon<?> icon) |
HeaderAction(BaseIcon<?> icon,
elemental2.dom.EventListener eventListener) |
| Modifier and Type | Method and Description |
|---|---|
Chip |
Chip.setLeftIcon(BaseIcon<?> icon)
Sets the left icon of the chip
|
| Modifier and Type | Method and Description |
|---|---|
BaseIcon<?> |
AccordionPanel.getPanelIcon() |
| Modifier and Type | Method and Description |
|---|---|
AccordionPanel |
AccordionPanel.setIcon(BaseIcon<?> icon)
Set the Accordion panel header icon
|
| Modifier and Type | Method and Description |
|---|---|
SelectionPlugin<T> |
SelectionPlugin.setSingleSelectIcon(BaseIcon<?> singleSelectIcon)
Change the single selection indicator icon
|
| Modifier and Type | Method and Description |
|---|---|
TreeGridPlugin<T> |
TreeGridPlugin.setCollapseIconSupplier(Supplier<BaseIcon<?>> collapseIconSupplier)
Sets a supplier for a custom collapse icon instead of the default one
|
TreeGridPlugin<T> |
TreeGridPlugin.setExpandIconSupplier(Supplier<BaseIcon<?>> expandIconSupplier)
Sets a supplier for a custom expand icon instead of the default one
|
GroupingPlugin<T> |
GroupingPlugin.setGroupCollapsedIcon(Supplier<BaseIcon<?>> groupCollapsedIconSupplier)
Changes the group collapse icon
|
GroupingPlugin<T> |
GroupingPlugin.setGroupExpandedIcon(Supplier<BaseIcon<?>> groupExpandedIconSupplier)
Changes the group expand icon
|
TreeGridPlugin<T> |
TreeGridPlugin.setLeafIconSupplier(Supplier<BaseIcon<?>> leafIconSupplier)
Sets a supplier for a custom leaf row icon instead of the default one
|
| Constructor and Description |
|---|
EmptyStatePlugin(BaseIcon<?> emptyStateIcon,
String title)
Create an instance with custom icon and title
|
RecordDetailsPlugin(CellRenderer<T> cellRenderer,
BaseIcon<?> collapseIcon,
BaseIcon<?> expandIcon)
Creates an instance with custom renderer and expand/collapse icons
|
RecordDetailsPlugin(CellRenderer<T> cellRenderer,
BaseIcon<?> collapseIcon,
BaseIcon<?> expandIcon)
Creates an instance with custom renderer and expand/collapse icons
|
| Modifier and Type | Method and Description |
|---|---|
MessageDialog |
MessageDialog.error(BaseIcon<?> icon)
Set the icon as the dialog content with an animation transition to indicate a failed operation
|
MessageDialog |
MessageDialog.success(BaseIcon<?> icon)
Set the icon as the dialog content with an animation transition to indicate a success operation
|
MessageDialog |
MessageDialog.warning(BaseIcon<?> icon)
Set the icon as the dialog content with an animation transition to indicate a warning operation
|
| Modifier and Type | Method and Description |
|---|---|
static <T> DropdownAction<T> |
DropdownAction.create(T value,
String displayValue,
BaseIcon<?> icon)
Creates an action with
T as a value, displayValue to be shown, and an icon |
DropdownAction<T> |
DropdownAction.setDisplayValue(BaseIcon<?> icon,
String displayValue)
Sets the display value of the action as text along with an icon
|
| Constructor and Description |
|---|
DropdownAction(T value,
String displayValue,
BaseIcon<?> icon) |
| Modifier and Type | Method and Description |
|---|---|
static <T> SuggestItem<T> |
SuggestItem.create(T value,
String displayValue,
BaseIcon<?> icon) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSelect.setArrowIconSupplier(Supplier<BaseIcon<?>> arrowIconSupplier)
Sets a supplier for an icon to use as the dropdown arrow
|
| Constructor and Description |
|---|
SuggestItem(T value,
String displayValue,
BaseIcon<?> icon) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseIcon<T extends BaseIcon<T>>
A base implementation for Icon
|
| Modifier and Type | Class and Description |
|---|---|
class |
Icon
Google material design icons implementation
|
class |
MdiIcon
MDI icons implementation
|
class |
UrlIcon
Url icon implementation
|
| Modifier and Type | Method and Description |
|---|---|
static BaseIcon<?> |
Icons.of(String name)
A factory method which creates icon based on the
name |
| Modifier and Type | Method and Description |
|---|---|
Icon |
Icon.changeTo(BaseIcon<Icon> icon)
Change the icon to another icon
|
MdiIcon |
MdiIcon.changeTo(BaseIcon<MdiIcon> icon)
Change the icon to another icon
|
abstract T |
BaseIcon.changeTo(BaseIcon<T> icon)
Change the icon to another icon
|
UrlIcon |
UrlIcon.changeTo(BaseIcon<UrlIcon> icon)
Change the icon to another icon
|
static LabeledIcon |
LabeledIcon.create(BaseIcon<?> icon,
String text)
Creates an icon with a label text
|
static LabeledIcon |
LabeledIcon.create(BaseIcon<?> icon,
String text,
LabeledIcon.IconPosition position)
Creates an icon with a label text with providing the position of the icon to either left or
right
|
void |
LabeledIcon.IconPosition.placeElements(elemental2.dom.HTMLElement left,
elemental2.dom.HTMLElement right,
BaseIcon<?> icon,
elemental2.dom.Text text)
Position the elements
|
T |
BaseIcon.setToggleIcon(BaseIcon<?> icon)
Sets the opposite icon for this one, this is helpful if the icon is toggleable
|
| Constructor and Description |
|---|
LabeledIcon(BaseIcon<?> icon,
String text) |
LabeledIcon(BaseIcon<?> icon,
String text,
LabeledIcon.IconPosition position) |
| Modifier and Type | Method and Description |
|---|---|
static InfoBox |
InfoBox.create(BaseIcon<?> icon,
String title)
Creates info box with icon and title
|
static InfoBox |
InfoBox.create(BaseIcon<?> icon,
String title,
String value)
Creates info box with icon, title and value
|
InfoBox |
InfoBox.setIcon(BaseIcon<?> icon)
Sets the icon
|
| Constructor and Description |
|---|
InfoBox(BaseIcon<?> icon,
String title) |
InfoBox(BaseIcon<?> icon,
String title,
String value) |
| Modifier and Type | Method and Description |
|---|---|
elemental2.dom.HTMLElement |
Layout.addActionItem(BaseIcon<?> icon)
Adds an action to the action bar at the right
|
static TopBarAction |
TopBarAction.create(BaseIcon<?> icon)
Deprecated.
|
static EmptyState |
EmptyState.create(BaseIcon<?> icon) |
static LayoutActionItem |
LayoutActionItem.create(BaseIcon<?> baseIcon) |
| Constructor and Description |
|---|
EmptyState(BaseIcon<?> icon) |
LayoutActionItem(BaseIcon<?> baseIcon) |
TopBarAction(BaseIcon<?> icon)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MenuHeader<V,T> |
MenuHeader.setIcon(BaseIcon<?> icon)
Set the menu header icon
|
T |
AbstractMenu.setIcon(BaseIcon<?> icon)
Set the menu icon in the header, setting the icon will force the header to show up if not
visible
|
| Modifier and Type | Method and Description |
|---|---|
static ScrollTop |
ScrollTop.create(BaseIcon<?> icon) |
| Constructor and Description |
|---|
ScrollTop(BaseIcon<?> icon) |
| Modifier and Type | Method and Description |
|---|---|
BaseIcon<?> |
SearchBox.getClearIcon() |
BaseIcon<?> |
SearchBox.getSearchIcon() |
| Modifier and Type | Method and Description |
|---|---|
static <T> VSpinSelect<T> |
VSpinSelect.create(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon)
Creates new instance with back/forward icons
|
static <T> VSpinSelect<T> |
VSpinSelect.create(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon)
Creates new instance with back/forward icons
|
static <T> HSpinSelect<T> |
HSpinSelect.create(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon)
Creates new instance with back/forward icons
|
static <T> HSpinSelect<T> |
HSpinSelect.create(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon)
Creates new instance with back/forward icons
|
| Constructor and Description |
|---|
HSpinSelect(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon) |
HSpinSelect(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon) |
VSpinSelect(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon) |
VSpinSelect(BaseIcon<?> backIcon,
BaseIcon<?> forwardIcon) |
| Modifier and Type | Method and Description |
|---|---|
static VerticalTab |
VerticalTab.create(BaseIcon<?> icon) |
static Tab |
Tab.create(BaseIcon<?> icon) |
static Tab |
Tab.create(BaseIcon<?> icon,
String title) |
static VerticalTab |
VerticalTab.create(String title,
BaseIcon<?> icon) |
static Tab |
Tab.create(String key,
BaseIcon<?> icon) |
static Tab |
Tab.create(String key,
BaseIcon<?> icon,
String title) |
VerticalTab |
VerticalTab.setIcon(BaseIcon<?> icon) |
Tab |
Tab.setIcon(BaseIcon<?> icon) |
| Constructor and Description |
|---|
Tab(BaseIcon<?> icon) |
Tab(BaseIcon<?> icon,
String title) |
Tab(BaseIcon<?> icon,
String title,
String key) |
VerticalTab(BaseIcon<?> icon) |
VerticalTab(String title,
BaseIcon<?> icon) |
| Modifier and Type | Method and Description |
|---|---|
static TreeItem<String> |
TreeItem.create(BaseIcon<?> icon)
Creates new tree item with an icon
|
static <T> TreeItem<T> |
TreeItem.create(BaseIcon<?> icon,
T value)
Creates new tree item with an icon and a value
|
static TreeItem<String> |
TreeItem.create(String title,
BaseIcon<?> icon)
Creates new tree item with a title and an icon
|
static <T> TreeItem<T> |
TreeItem.create(String title,
BaseIcon<?> icon,
T value)
Creates new tree item with a title, an icon and a value
|
TreeItem<T> |
TreeItem.setActiveIcon(BaseIcon<?> activeIcon)
Sets the icon that will be shown when the item is active
|
TreeItem<T> |
TreeItem.setExpandIcon(BaseIcon<?> expandIcon)
Sets the expand icon
|
TreeItem<T> |
TreeItem.setIcon(BaseIcon<?> icon)
Sets the icon of the item
|
| Constructor and Description |
|---|
TreeItem(BaseIcon<?> icon) |
TreeItem(BaseIcon<?> icon,
T value) |
TreeItem(String title,
BaseIcon<?> icon) |
TreeItem(String title,
BaseIcon<?> icon,
T value) |
| Modifier and Type | Method and Description |
|---|---|
FileUpload |
FileUpload.setIcon(BaseIcon<?> icon)
Sets the upload icon
|
Copyright © 2019–2022 Dominokit. All rights reserved.