Package io.micronaut.controlpanel.core
Class AbstractControlPanel<B>
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<B>
- Type Parameters:
- B- the type of the body of the control panel.
- All Implemented Interfaces:
- ConfigurableControlPanel,- ControlPanel<B>,- io.micronaut.core.naming.Named,- io.micronaut.core.order.Ordered,- io.micronaut.core.util.Toggleable
- Direct Known Subclasses:
- BeansControlPanel,- EnvironmentControlPanel,- HealthControlPanel,- LoggersControlPanel,- RoutesControlPanel
Base class for control panels that can delegate some of its values to a 
ControlPanelConfiguration.- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.micronaut.controlpanel.core.ControlPanelControlPanel.Category, ControlPanel.View
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final @NonNull ControlPanelConfigurationprotected final @NonNull StringFields inherited from interface io.micronaut.core.order.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractControlPanel(@NonNull String controlPanelName, @NonNull ControlPanelConfiguration configuration) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.controlpanel.core.ControlPanelgetBadge, getBody, getBodyView, getCategory, getDetailedView
- 
Field Details- 
controlPanelName
- 
configuration
 
- 
- 
Constructor Details- 
AbstractControlPanelprotected AbstractControlPanel(@NonNull @NonNull String controlPanelName, @NonNull @NonNull ControlPanelConfiguration configuration) 
 
- 
- 
Method Details- 
getTitleDescription copied from interface:ConfigurableControlPanelThe title is displayed in the header of the card UI element.- Specified by:
- getTitlein interface- ConfigurableControlPanel
- Returns:
- the title of the control panel.
 
- 
getOrderpublic int getOrder()- Specified by:
- getOrderin interface- io.micronaut.core.order.Ordered
 
- 
getIconDescription copied from interface:ConfigurableControlPanelIcon CSS class of the card UI element.- Specified by:
- getIconin interface- ConfigurableControlPanel
- Returns:
- the icon class of the control panel.
 
- 
isEnabledpublic boolean isEnabled()- Specified by:
- isEnabledin interface- ConfigurableControlPanel
- Specified by:
- isEnabledin interface- io.micronaut.core.util.Toggleable
- Returns:
- whether this control panel is enabled or not.
 
- 
getName- Specified by:
- getNamein interface- io.micronaut.core.naming.Named
 
 
-