Class GraphViewModuleVisualisation
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.ikasan.dashboard.ui.visualisation.view.GraphViewModuleVisualisation
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.VerticalLayout>,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.VerticalLayout>,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.orderedlayout.ThemableLayout,java.io.Serializable
public class GraphViewModuleVisualisation extends com.vaadin.flow.component.orderedlayout.VerticalLayout- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GraphViewModuleVisualisation(org.ikasan.spec.module.client.ModuleControlService moduleControlRestService, org.ikasan.spec.module.client.ConfigurationService configurationRestService, org.ikasan.spec.module.client.TriggerService triggerRestService, org.ikasan.spec.metadata.ConfigurationMetaDataService configurationMetadataService, org.ikasan.spec.module.client.MetaDataService metaDataApplicationRestService, org.ikasan.spec.persistence.BatchInsert<org.ikasan.spec.metadata.ModuleMetaData> moduleMetaDataService)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateModuleViewHeader()protected voidcreateModuleVisualisation(org.ikasan.spec.metadata.ModuleMetaData moduleMetaData)Create module graphprotected voidfireModuleFlowChangeEvent()FlowgetCurrentFlow()ModulegetModule()protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent)protected voidonDetach(com.vaadin.flow.component.DetachEvent detachEvent)-
Methods inherited from class com.vaadin.flow.component.orderedlayout.VerticalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacing
-
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
-
GraphViewModuleVisualisation
public GraphViewModuleVisualisation(org.ikasan.spec.module.client.ModuleControlService moduleControlRestService, org.ikasan.spec.module.client.ConfigurationService configurationRestService, org.ikasan.spec.module.client.TriggerService triggerRestService, org.ikasan.spec.metadata.ConfigurationMetaDataService configurationMetadataService, org.ikasan.spec.module.client.MetaDataService metaDataApplicationRestService, org.ikasan.spec.persistence.BatchInsert<org.ikasan.spec.metadata.ModuleMetaData> moduleMetaDataService)Constructor
-
-
Method Detail
-
createModuleViewHeader
protected void createModuleViewHeader()
-
createModuleVisualisation
protected void createModuleVisualisation(org.ikasan.spec.metadata.ModuleMetaData moduleMetaData)
Create module graph- Parameters:
moduleMetaData-
-
fireModuleFlowChangeEvent
protected void fireModuleFlowChangeEvent()
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
onDetach
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent)
- Overrides:
onDetachin classcom.vaadin.flow.component.Component
-
getModule
public Module getModule()
-
getCurrentFlow
public Flow getCurrentFlow()
-
-