Class StatusPanel
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.HorizontalLayout
-
- org.ikasan.dashboard.ui.visualisation.component.StatusPanel
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.HorizontalLayout>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasOrderedComponents<com.vaadin.flow.component.orderedlayout.HorizontalLayout>,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.HorizontalLayout>,com.vaadin.flow.component.orderedlayout.ThemableLayout,java.io.Serializable,GraphViewChangeListener
public class StatusPanel extends com.vaadin.flow.component.orderedlayout.HorizontalLayout implements GraphViewChangeListener
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatusPanel(org.ikasan.spec.module.client.ModuleControlService moduleControlRestService, ModuleVisualisation moduleVisualisation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateStatus()protected voidinit()protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent)voidonChange(GraphViewChangeEvent event)Event occurs when a graph view change occurs.protected voidonDetach(com.vaadin.flow.component.DetachEvent detachEvent)voidsetModuleVisualisation(ModuleVisualisation moduleVisualisation)-
Methods inherited from class com.vaadin.flow.component.orderedlayout.HorizontalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultVerticalComponentAlignment, getVerticalComponentAlignment, setAlignItems, setAlignSelf, setDefaultVerticalComponentAlignment, setSpacing, setVerticalComponentAlignment
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
-
-
-
-
Constructor Detail
-
StatusPanel
public StatusPanel(org.ikasan.spec.module.client.ModuleControlService moduleControlRestService, ModuleVisualisation moduleVisualisation)
-
-
Method Detail
-
init
protected void init()
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
calculateStatus
protected void calculateStatus()
-
onDetach
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent)
- Overrides:
onDetachin classcom.vaadin.flow.component.Component
-
onChange
public void onChange(GraphViewChangeEvent event)
Description copied from interface:GraphViewChangeListenerEvent occurs when a graph view change occurs.- Specified by:
onChangein interfaceGraphViewChangeListener
-
setModuleVisualisation
public void setModuleVisualisation(ModuleVisualisation moduleVisualisation)
-
-