Class TopologyManagerDashboard
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.neotropic.kuwaiba.modules.optional.topoman.widgets.TopologyManagerDashboard
-
- 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
,Serializable
,PropertySheet.IPropertyValueChangedListener
public class TopologyManagerDashboard extends com.vaadin.flow.component.orderedlayout.VerticalLayout implements PropertySheet.IPropertyValueChangedListener
Topology designer Main Dashboard.- Author:
- Orlando Paz <Orlando.Paz@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASS_VIEW
-
Constructor Summary
Constructors Constructor Description TopologyManagerDashboard(TranslationService ts, MetadataEntityManager mem, ApplicationEntityManager aem, BusinessEntityManager bem, ResourceFactory resourceFactory, NewTopologyViewVisualAction newTopologyViewVisualAction, DeleteTopologyViewVisualAction deleteTopologyViewVisualAction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewObject
getCurrentView()
void
loadViews()
protected void
onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
void
onDetach(com.vaadin.flow.component.DetachEvent ev)
void
resetDashboard()
resets the topology view instance and creates a empty onestatic void
setButtonTitle(com.vaadin.flow.component.button.Button button, String title)
Set the title/tool tip for the given buttonvoid
setCurrentView(ViewObject currentView)
void
showActionCompletedMessages(ActionCompletedListener.ActionCompletedEvent ev)
void
updatePropertyChanged(AbstractProperty property)
-
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
-
-
-
-
Field Detail
-
CLASS_VIEW
public static String CLASS_VIEW
-
-
Constructor Detail
-
TopologyManagerDashboard
public TopologyManagerDashboard(TranslationService ts, MetadataEntityManager mem, ApplicationEntityManager aem, BusinessEntityManager bem, ResourceFactory resourceFactory, NewTopologyViewVisualAction newTopologyViewVisualAction, DeleteTopologyViewVisualAction deleteTopologyViewVisualAction)
-
-
Method Detail
-
getCurrentView
public ViewObject getCurrentView()
-
setCurrentView
public void setCurrentView(ViewObject currentView)
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttach
in classcom.vaadin.flow.component.Component
-
onDetach
public void onDetach(com.vaadin.flow.component.DetachEvent ev)
- Overrides:
onDetach
in classcom.vaadin.flow.component.Component
-
showActionCompletedMessages
public void showActionCompletedMessages(ActionCompletedListener.ActionCompletedEvent ev)
-
resetDashboard
public void resetDashboard()
resets the topology view instance and creates a empty one
-
loadViews
public void loadViews()
-
updatePropertyChanged
public void updatePropertyChanged(AbstractProperty property)
- Specified by:
updatePropertyChanged
in interfacePropertySheet.IPropertyValueChangedListener
-
setButtonTitle
public static void setButtonTitle(com.vaadin.flow.component.button.Button button, String title)
Set the title/tool tip for the given button- Parameters:
button
- the button to be settitle
- the title to be added
-
-