Class GraphView

  • 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, com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.internal.BeforeEnterHandler, java.io.Serializable, SearchListener

    @Route(value="visualisation",
           layout=IkasanAppLayout.class)
    @UIScope
    @Component
    public class GraphView
    extends com.vaadin.flow.component.orderedlayout.VerticalLayout
    implements com.vaadin.flow.router.BeforeEnterObserver, SearchListener
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent

        com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment, com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphView()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeEnter​(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent)  
      protected void createBusinessStreamGraph​(java.lang.String name, org.ikasan.spec.metadata.BusinessStreamMetaData businessStreamMetaData)  
      protected void createdBusinessStreamGrid()  
      protected void createModuleGrid()  
      protected void createModuleVisualisation​(org.ikasan.spec.metadata.ModuleMetaData moduleMetaData)
      Create module graph
      protected void createSearchSlider()
      Method to create the search slider.
      protected void createToolsSlider()
      Method to create the tool slider.
      protected void onAttach​(com.vaadin.flow.component.AttachEvent attachEvent)  
      protected void onDetach​(com.vaadin.flow.component.DetachEvent detachEvent)  
      protected void populateBusinessStreamGrid()
      Method to initialise the modulesGrid on the tools slider.
      protected void populateModulesGrid()
      Method to initialise the modulesGrid on the tools slider.
      void search​(java.lang.String searchTerm, java.util.List<java.lang.String> entityTypes, boolean negateQuery, long startDate, long endDate)
      Component search listener.
      • 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.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.ClickNotifier

        addClickListener, addClickShortcut
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • 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.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • 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
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.orderedlayout.ThemableLayout

        getBoxSizing, getThemeList, isMargin, isPadding, isSpacing, setBoxSizing, setMargin
    • Constructor Detail

      • GraphView

        public GraphView()
        Constructor
    • Method Detail

      • createModuleGrid

        protected void createModuleGrid()
      • createdBusinessStreamGrid

        protected void createdBusinessStreamGrid()
      • beforeEnter

        public void beforeEnter​(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent)
        Specified by:
        beforeEnter in interface com.vaadin.flow.router.internal.BeforeEnterHandler
      • populateModulesGrid

        protected void populateModulesGrid()
        Method to initialise the modulesGrid on the tools slider.
      • populateBusinessStreamGrid

        protected void populateBusinessStreamGrid()
        Method to initialise the modulesGrid on the tools slider.
      • createModuleVisualisation

        protected void createModuleVisualisation​(org.ikasan.spec.metadata.ModuleMetaData moduleMetaData)
        Create module graph
        Parameters:
        moduleMetaData -
      • createBusinessStreamGraph

        protected void createBusinessStreamGraph​(java.lang.String name,
                                                 org.ikasan.spec.metadata.BusinessStreamMetaData businessStreamMetaData)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • createToolsSlider

        protected void createToolsSlider()
        Method to create the tool slider.
      • createSearchSlider

        protected void createSearchSlider()
        Method to create the search slider.
      • onAttach

        protected void onAttach​(com.vaadin.flow.component.AttachEvent attachEvent)
        Overrides:
        onAttach in class com.vaadin.flow.component.Component
      • onDetach

        protected void onDetach​(com.vaadin.flow.component.DetachEvent detachEvent)
        Overrides:
        onDetach in class com.vaadin.flow.component.Component
      • search

        public void search​(java.lang.String searchTerm,
                           java.util.List<java.lang.String> entityTypes,
                           boolean negateQuery,
                           long startDate,
                           long endDate)
        Description copied from interface: SearchListener
        Component search listener.
        Specified by:
        search in interface SearchListener