Class TopologyUI
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.ui.AbstractComponent
-
- com.vaadin.ui.AbstractSingleComponentContainer
-
- com.vaadin.ui.UI
-
- org.opennms.features.topology.app.internal.TopologyUI
-
- All Implemented Interfaces:
com.vaadin.event.Action.Container
,com.vaadin.event.Action.Notifier
,com.vaadin.event.ConnectorEventListener
,com.vaadin.event.ContextClickEvent.ContextClickNotifier
,com.vaadin.event.MethodEventSource
,com.vaadin.event.SerializableEventListener
,com.vaadin.event.UIEvents.PollNotifier
,com.vaadin.server.ClientConnector
,com.vaadin.server.Page.UriFragmentChangedListener
,com.vaadin.server.Sizeable
,com.vaadin.server.VariableOwner
,com.vaadin.shared.Connector
,com.vaadin.ui.Component
,com.vaadin.ui.Component.Focusable
,com.vaadin.ui.HasComponents
,com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier
,com.vaadin.ui.LegacyComponent
,com.vaadin.ui.SingleComponentContainer
,Serializable
,Iterable<com.vaadin.ui.Component>
,EventListener
,GraphContainer.ChangeListener
,MapViewManagerListener
,SelectionListener
,VerticesUpdateManager.VerticesUpdateListener
,WidgetContext
,WidgetUpdateListener
,ContextMenuHandler
,MenuUpdateListener
,TopologyComponent.VertexUpdateListener
public class TopologyUI extends com.vaadin.ui.UI implements MenuUpdateListener, ContextMenuHandler, WidgetUpdateListener, WidgetContext, com.vaadin.server.Page.UriFragmentChangedListener, GraphContainer.ChangeListener, MapViewManagerListener, TopologyComponent.VertexUpdateListener, SelectionListener, VerticesUpdateManager.VerticesUpdateListener
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TopologyUI.InfoPanelItemManager
Helper class to load components to show in the info panel.class
TopologyUI.TopologyUIRequestHandler
Class to handle Request Parameters, such as SZL, Vertices in Focus, Layout Selection, Graph Provider Selection, Status Provider selection, etc...-
Nested classes/interfaces inherited from class com.vaadin.ui.UI
com.vaadin.ui.UI.WindowOrderUpdateEvent, com.vaadin.ui.UI.WindowOrderUpdateListener
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
-
-
Constructor Summary
Constructors Constructor Description TopologyUI(OperationManager operationManager, HistoryManager historyManager, GraphContainer graphContainer, IconRepositoryManager iconRepoManager, LayoutManager layoutManager, org.springframework.transaction.support.TransactionOperations transactionOperations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
boundingBoxChanged(MapViewManager viewManager)
void
detach()
VaadinApplicationContext
getApplicationContext()
GraphContainer
getGraphContainer()
WidgetManager
getWidgetManager()
void
graphChanged(GraphContainer graphContainer)
protected void
init(com.vaadin.server.VaadinRequest request)
void
onVertexUpdate()
void
selectionChanged(SelectionContext selectionContext)
void
setServiceManager(org.osgi.framework.BundleContext bundleContext)
void
setShowHeader(String boolVal)
Parameter is a String because config has String valuesvoid
setWidgetManager(WidgetManager widgetManager)
void
showContextMenu(Object target, int left, int top)
Show the Context Menu for this target at specified left and top locationvoid
updateMenu()
void
uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event)
void
verticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event)
void
widgetListUpdated(WidgetManager widgetManager)
-
Methods inherited from class com.vaadin.ui.UI
access, accessSynchronously, addAction, addActionHandler, addClickListener, addPollListener, addWindow, addWindowOrderUpdateListener, attach, changeVariables, close, doInit, doRefresh, focus, getActionManager, getActiveDragSource, getComponentCount, getConnectorTracker, getCurrent, getEmbedId, getLastHeartbeatTimestamp, getLastProcessedClientToServerId, getLoadingIndicatorConfiguration, getLocaleService, getNavigator, getNotificationConfiguration, getOverlayContainerLabel, getPage, getPollInterval, getPushConfiguration, getPushConnection, getReconnectDialogConfiguration, getScrollLeft, getScrollTop, getSession, getState, getState, getStateType, getTabIndex, getTheme, getTooltipConfiguration, getUI, getUIId, getUiPathInfo, getUiRootPath, getWindows, isClosing, isConnectorEnabled, isMobileHtml5DndEnabled, isResizeLazy, iterator, paintContent, push, refresh, removeAction, removeActionHandler, removeClickListener, removePollListener, removeWindow, scrollIntoView, setActiveDragSource, setCaption, setContent, setCurrent, setFocusedComponent, setLastHeartbeatTimestamp, setLastProcessedClientToServerId, setMobileHtml5DndEnabled, setNavigator, setOverlayContainerLabel, setPollInterval, setPushConnection, setResizeLazy, setScrollLeft, setScrollTop, setSession, setTabIndex, setTheme, showNotification, showNotification, showNotification, showNotification, showNotification, showNotification
-
Methods inherited from class com.vaadin.ui.AbstractSingleComponentContainer
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getContent, readDesign, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidth, writeDesign
-
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, handleConnectorRequest, isAttached, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
TopologyUI
public TopologyUI(OperationManager operationManager, HistoryManager historyManager, GraphContainer graphContainer, IconRepositoryManager iconRepoManager, LayoutManager layoutManager, org.springframework.transaction.support.TransactionOperations transactionOperations)
-
-
Method Detail
-
init
protected void init(com.vaadin.server.VaadinRequest request)
- Specified by:
init
in classcom.vaadin.ui.UI
-
updateMenu
public void updateMenu()
- Specified by:
updateMenu
in interfaceMenuUpdateListener
-
showContextMenu
public void showContextMenu(Object target, int left, int top)
Description copied from interface:ContextMenuHandler
Show the Context Menu for this target at specified left and top location- Specified by:
showContextMenu
in interfaceContextMenuHandler
-
getWidgetManager
public WidgetManager getWidgetManager()
-
setWidgetManager
public void setWidgetManager(WidgetManager widgetManager)
-
widgetListUpdated
public void widgetListUpdated(WidgetManager widgetManager)
- Specified by:
widgetListUpdated
in interfaceWidgetUpdateListener
-
getGraphContainer
public GraphContainer getGraphContainer()
- Specified by:
getGraphContainer
in interfaceWidgetContext
-
uriFragmentChanged
public void uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event)
- Specified by:
uriFragmentChanged
in interfacecom.vaadin.server.Page.UriFragmentChangedListener
-
graphChanged
public void graphChanged(GraphContainer graphContainer)
- Specified by:
graphChanged
in interfaceGraphContainer.ChangeListener
-
boundingBoxChanged
public void boundingBoxChanged(MapViewManager viewManager)
- Specified by:
boundingBoxChanged
in interfaceMapViewManagerListener
-
onVertexUpdate
public void onVertexUpdate()
- Specified by:
onVertexUpdate
in interfaceTopologyComponent.VertexUpdateListener
-
setShowHeader
public void setShowHeader(String boolVal)
Parameter is a String because config has String values- Parameters:
boolVal
-
-
selectionChanged
public void selectionChanged(SelectionContext selectionContext)
- Specified by:
selectionChanged
in interfaceSelectionListener
-
detach
public void detach()
- Specified by:
detach
in interfacecom.vaadin.server.ClientConnector
- Overrides:
detach
in classcom.vaadin.ui.UI
-
setServiceManager
public void setServiceManager(org.osgi.framework.BundleContext bundleContext)
-
getApplicationContext
public VaadinApplicationContext getApplicationContext()
-
verticesUpdated
public void verticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event)
- Specified by:
verticesUpdated
in interfaceVerticesUpdateManager.VerticesUpdateListener
-
-