Class PhysicalTreeViewWidget
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.views.AbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
-
- org.neotropic.kuwaiba.modules.optional.physcon.widgets.PhysicalTreeViewWidget
-
@Component public class PhysicalTreeViewWidget extends AbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
A tooled component tat wraps aPhysicalTreeView.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description PhysicalTreeViewWidget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappliesTo()Indicates what inventory objects can be represented graphically using the toolkit.com.vaadin.flow.component.orderedlayout.HorizontalLayoutbuild(BusinessObjectLight businessObject)The factory method that builds a view (a scene + container with tools).StringgetDescription()More details on what the view does.StringgetName()The name of the view.StringgetTitle()The title of the view.StringgetVendor()Who wrote the view.StringgetVersion()The current version of the view.
-
-
-
Method Detail
-
appliesTo
public String appliesTo()
Description copied from class:AbstractObjectRelatedViewWidgetIndicates what inventory objects can be represented graphically using the toolkit.- Specified by:
appliesToin classAbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Returns:
- The class of the instances.
-
getName
public String getName()
Description copied from class:AbstractObjectRelatedViewWidgetThe name of the view. This might not be important for hard-coded views, but it is relevant in custom, scripted views.- Specified by:
getNamein classAbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Returns:
- A short display name of the view
-
getDescription
public String getDescription()
Description copied from class:AbstractObjectRelatedViewWidgetMore details on what the view does. This might not be important for hard-coded views, but it is relevant in custom, scripted views.- Specified by:
getDescriptionin classAbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Returns:
- The view description.
-
getVersion
public String getVersion()
Description copied from class:AbstractObjectRelatedViewWidgetThe current version of the view. This might not be important for hard-coded views, but it is relevant in custom, scripted views.- Specified by:
getVersionin classAbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Returns:
- The version of the view.
-
getVendor
public String getVendor()
Description copied from class:AbstractObjectRelatedViewWidgetWho wrote the view.- Specified by:
getVendorin classAbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Returns:
- A string with the name of the creator of the view, and preferably a way to contact it.
-
getTitle
public String getTitle()
Description copied from class:AbstractObjectRelatedViewWidgetThe title of the view.- Specified by:
getTitlein classAbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Returns:
- A short display title of the view
-
build
public com.vaadin.flow.component.orderedlayout.HorizontalLayout build(BusinessObjectLight businessObject) throws InventoryException
Description copied from class:AbstractObjectRelatedViewWidgetThe factory method that builds a view (a scene + container with tools).- Specified by:
buildin classAbstractObjectRelatedViewWidget<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Parameters:
businessObject- The object used as input to build the view.- Returns:
- A visual component that can be embedded in dashboards and UIs.
- Throws:
InventoryException- In case the process of building the view raises an exception while interacting with the persistence service.
-
-