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
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListenercom.vaadin.server.Sizeable.Unitcom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_FOCUS_NODES |
| Constructor and Description |
|---|
TopologyUI(CommandManager commandManager,
HistoryManager historyManager,
GraphContainer graphContainer,
IconRepositoryManager iconRepoManager,
SelectionManager selectionManager) |
| 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, showNotificationaddComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getContent, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidthaddListener, 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, setWidthaddAttachListener, 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, setResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisibleaddAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, handleConnectorRequest, isAttached, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setSizeFull, setSizeUndefined, setWidth, setWidthforEach, spliteratorpublic static final String PARAMETER_FOCUS_NODES
public TopologyUI(CommandManager commandManager, HistoryManager historyManager, GraphContainer graphContainer, IconRepositoryManager iconRepoManager, SelectionManager selectionManager)
protected void init(com.vaadin.server.VaadinRequest request)
init in class com.vaadin.ui.UIpublic void updateTimestamp(long updateTime)
public void updateMenuItems()
updateMenuItems in interface MenuItemUpdateListenerpublic void menuBarUpdated(CommandManager commandManager)
menuBarUpdated in interface CommandUpdateListenerpublic void showContextMenu(Object target, int left, int top)
ContextMenuHandlershowContextMenu in interface ContextMenuHandlerpublic WidgetManager getWidgetManager()
public void setWidgetManager(WidgetManager widgetManager)
public void widgetListUpdated(WidgetManager widgetManager)
widgetListUpdated in interface WidgetUpdateListenerpublic GraphContainer getGraphContainer()
getGraphContainer in interface WidgetContextpublic void uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event)
uriFragmentChanged in interface com.vaadin.server.Page.UriFragmentChangedListenerpublic void graphChanged(GraphContainer graphContainer)
graphChanged in interface GraphContainer.ChangeListenerpublic void boundingBoxChanged(MapViewManager viewManager)
boundingBoxChanged in interface MapViewManagerListenerpublic void onVertexUpdate()
onVertexUpdate in interface TopologyComponent.VertexUpdateListenerpublic void setHeaderProvider(OnmsHeaderProvider headerProvider)
public void setShowHeader(String boolVal)
boolVal - public void selectionChanged(SelectionContext selectionContext)
selectionChanged in interface SelectionListenerpublic void detach()
detach in interface com.vaadin.server.ClientConnectordetach in class com.vaadin.ui.UIpublic void setServiceManager(org.osgi.framework.BundleContext bundleContext)
public VaadinApplicationContext getApplicationContext()
public void verticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event)
verticesUpdated in interface VerticesUpdateManager.VerticesUpdateListenerCopyright © 2015. All rights reserved.