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 classTopologyUI.InfoPanelItemManagerHelper class to load components to show in the info panel.classTopologyUI.TopologyUIRequestHandlerClass 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 voidboundingBoxChanged(MapViewManager viewManager)voiddetach()VaadinApplicationContextgetApplicationContext()GraphContainergetGraphContainer()WidgetManagergetWidgetManager()voidgraphChanged(GraphContainer graphContainer)protected voidinit(com.vaadin.server.VaadinRequest request)voidonVertexUpdate()voidselectionChanged(SelectionContext selectionContext)voidsetServiceManager(org.osgi.framework.BundleContext bundleContext)voidsetShowHeader(String boolVal)Parameter is a String because config has String valuesvoidsetWidgetManager(WidgetManager widgetManager)voidshowContextMenu(Object target, int left, int top)Show the Context Menu for this target at specified left and top locationvoidupdateMenu()voiduriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event)voidverticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event)voidwidgetListUpdated(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:
initin classcom.vaadin.ui.UI
-
updateMenu
public void updateMenu()
- Specified by:
updateMenuin interfaceMenuUpdateListener
-
showContextMenu
public void showContextMenu(Object target, int left, int top)
Description copied from interface:ContextMenuHandlerShow the Context Menu for this target at specified left and top location- Specified by:
showContextMenuin interfaceContextMenuHandler
-
getWidgetManager
public WidgetManager getWidgetManager()
-
setWidgetManager
public void setWidgetManager(WidgetManager widgetManager)
-
widgetListUpdated
public void widgetListUpdated(WidgetManager widgetManager)
- Specified by:
widgetListUpdatedin interfaceWidgetUpdateListener
-
getGraphContainer
public GraphContainer getGraphContainer()
- Specified by:
getGraphContainerin interfaceWidgetContext
-
uriFragmentChanged
public void uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event)
- Specified by:
uriFragmentChangedin interfacecom.vaadin.server.Page.UriFragmentChangedListener
-
graphChanged
public void graphChanged(GraphContainer graphContainer)
- Specified by:
graphChangedin interfaceGraphContainer.ChangeListener
-
boundingBoxChanged
public void boundingBoxChanged(MapViewManager viewManager)
- Specified by:
boundingBoxChangedin interfaceMapViewManagerListener
-
onVertexUpdate
public void onVertexUpdate()
- Specified by:
onVertexUpdatein 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:
selectionChangedin interfaceSelectionListener
-
detach
public void detach()
- Specified by:
detachin interfacecom.vaadin.server.ClientConnector- Overrides:
detachin 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:
verticesUpdatedin interfaceVerticesUpdateManager.VerticesUpdateListener
-
-