public class TopologyUI extends com.vaadin.ui.UI implements CommandUpdateListener, MenuItemUpdateListener, ContextMenuHandler, WidgetUpdateListener, WidgetContext, com.vaadin.server.Page.UriFragmentChangedListener, GraphContainer.ChangeListener, MapViewManagerListener, TopologyComponent.VertexUpdateListener, SelectionListener, VerticesUpdateManager.VerticesUpdateListener
Modifier and Type | Class and Description |
---|---|
class |
TopologyUI.InfoPanelItemProvider
Helper class to load components to show in the info panel.
|
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
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
com.vaadin.server.Sizeable.Unit
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 and Description |
---|
TopologyUI(CommandManager commandManager,
HistoryManager historyManager,
GraphContainer graphContainer,
IconRepositoryManager iconRepoManager) |
Modifier and Type | Method and 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 |
menuBarUpdated(CommandManager commandManager) |
void |
onVertexUpdate() |
void |
selectionChanged(SelectionContext selectionContext) |
void |
setHeaderProvider(OnmsHeaderProvider headerProvider) |
void |
setServiceManager(org.osgi.framework.BundleContext bundleContext) |
void |
setShowHeader(String boolVal)
Parameter is a String because config has String values
|
void |
setWidgetManager(WidgetManager widgetManager) |
void |
showContextMenu(Object target,
int left,
int top)
Show the Context Menu for this target at specified left and top location
|
void |
updateMenuItems() |
void |
updateTimestamp(long updateTime) |
void |
uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event) |
void |
verticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event) |
void |
widgetListUpdated(WidgetManager widgetManager) |
access, accessSynchronously, addAction, addActionHandler, addClickListener, addListener, addPollListener, addWindow, attach, changeVariables, close, doInit, doRefresh, focus, getActionManager, getComponentCount, getConnectorTracker, getCurrent, getEmbedId, getLastHeartbeatTimestamp, getLoadingIndicatorConfiguration, getLocaleService, getNavigator, getNotificationConfiguration, getOverlayContainerLabel, getPage, getPollInterval, getPushConfiguration, getPushConnection, getScrollLeft, getScrollTop, getSession, getState, getState, getStateType, getTabIndex, getTheme, getTooltipConfiguration, getUI, getUIId, getWindows, isClosing, isConnectorEnabled, isResizeLazy, iterator, paintContent, push, refresh, removeAction, removeActionHandler, removeClickListener, removeListener, removePollListener, removeWindow, scrollIntoView, setCaption, setContent, setCurrent, setFocusedComponent, setLastHeartbeatTimestamp, setNavigator, setOverlayContainerLabel, setPollInterval, setPushConnection, setResizeLazy, setScrollLeft, setScrollTop, setSession, setTabIndex, showNotification, showNotification, showNotification, showNotification, showNotification, showNotification
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getContent, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidth
addListener, addShortcutListener, addStyleName, beforeClientResponse, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, handleConnectorRequest, isAttached, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setSizeFull, setSizeUndefined, setWidth, setWidth
forEach, spliterator
public TopologyUI(CommandManager commandManager, HistoryManager historyManager, GraphContainer graphContainer, IconRepositoryManager iconRepoManager)
protected void init(com.vaadin.server.VaadinRequest request)
init
in class com.vaadin.ui.UI
public void updateTimestamp(long updateTime)
public void updateMenuItems()
updateMenuItems
in interface MenuItemUpdateListener
public void menuBarUpdated(CommandManager commandManager)
menuBarUpdated
in interface CommandUpdateListener
public void showContextMenu(Object target, int left, int top)
ContextMenuHandler
showContextMenu
in interface ContextMenuHandler
public WidgetManager getWidgetManager()
public void setWidgetManager(WidgetManager widgetManager)
public void widgetListUpdated(WidgetManager widgetManager)
widgetListUpdated
in interface WidgetUpdateListener
public GraphContainer getGraphContainer()
getGraphContainer
in interface WidgetContext
public void uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event)
uriFragmentChanged
in interface com.vaadin.server.Page.UriFragmentChangedListener
public void graphChanged(GraphContainer graphContainer)
graphChanged
in interface GraphContainer.ChangeListener
public void boundingBoxChanged(MapViewManager viewManager)
boundingBoxChanged
in interface MapViewManagerListener
public void onVertexUpdate()
onVertexUpdate
in interface TopologyComponent.VertexUpdateListener
public void setHeaderProvider(OnmsHeaderProvider headerProvider)
public void setShowHeader(String boolVal)
boolVal
- public void selectionChanged(SelectionContext selectionContext)
selectionChanged
in interface SelectionListener
public void detach()
detach
in interface com.vaadin.server.ClientConnector
detach
in class com.vaadin.ui.UI
public void setServiceManager(org.osgi.framework.BundleContext bundleContext)
public VaadinApplicationContext getApplicationContext()
public void verticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event)
verticesUpdated
in interface VerticesUpdateManager.VerticesUpdateListener
Copyright © 2017. All rights reserved.