Class NetworkResourcesExplorer


  • @CssImport("./styles/explorer.css")
    @Component
    public class NetworkResourcesExplorer
    extends AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
    An explorer that allows the user to see the network resources of a service and be able to release them.
    Author:
    Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
    • Constructor Detail

      • NetworkResourcesExplorer

        public NetworkResourcesExplorer()
    • Method Detail

      • getName

        public String getName()
        Description copied from class: AbstractExplorer
        Obtains the name of the explorer. This name will be used as label in lists and context menus.
        Specified by:
        getName in class AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
        Returns:
        The explorer name.
      • getDescription

        public String getDescription()
        Description copied from class: AbstractExplorer
        Obtains the description of the explorer. This will be used in help texts and tool tip texts.
        Specified by:
        getDescription in class AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
        Returns:
        The description of what the explorer does.
      • getHeader

        public String getHeader()
        Description copied from class: AbstractExplorer
        Obtains the header of the explorer. This will be used as title in dialogs.
        Specified by:
        getHeader in class AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
        Returns:
        The explorer header.
      • appliesTo

        public String appliesTo()
        Description copied from class: AbstractExplorer
        Tells the consumer what type of objects the explorer is suitable for. For example, a explorer of physical connection would be apply to GenericPhysicalConnection and so on.
        Specified by:
        appliesTo in class AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
        Returns:
        The type of object the explorer is intended to.
      • build

        public com.vaadin.flow.component.orderedlayout.VerticalLayout build​(BusinessObjectLight selectedObject)
        Description copied from class: AbstractExplorer
        Creates an embeddable visual component withe the explorer.
        Specified by:
        build in class AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
        Parameters:
        selectedObject - The object from which the explorer will be built.
        Returns:
        The embeddable component.
      • clearResources

        public void clearResources()
        Description copied from class: AbstractExplorer
        Clears necessary resources, useful tool when the explorer is used within a dialog and has been closed.
        Specified by:
        clearResources in class AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>