public class AdminView extends com.vaadin.ui.VerticalLayout implements com.vaadin.navigator.View, UIView, LoginListener, com.vaadin.ui.TabSheet.SelectedTabChangeListener, ApiClientProvider
UIView.Listenercom.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.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.DetachListener| Modifier and Type | Method and Description |
|---|---|
void |
addListener(UIView.Listener listener) |
void |
detach() |
void |
enter(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event) |
ApiClient |
getClient()
Returns a (possible cached)
ApiClient. |
void |
invalidateClient()
Called when the client got invalid.
|
void |
onLogin() |
void |
onLogout() |
<T> void |
runInBackground(Callable<T> job,
com.google.common.util.concurrent.FutureCallback<T> callback)
Execute a job in the background and call the callback when finished.
|
void |
selectedTabChange(com.vaadin.ui.TabSheet.SelectedTabChangeEvent event) |
void |
setToolbar(MainToolbar newToolbar) |
void |
showBackgroundInfo(String info,
String description) |
void |
showError(String error,
String description) |
void |
showInfo(String info,
String description) |
void |
showWarning(String error,
String description) |
addComponentsAndExpand, getState, getStateaddComponent, addComponent, addComponentAsFirst, addLayoutClickListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesignaddComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidthaddContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddComponents, getComponentIterator, moveComponentsFrom, removeAllComponentsaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisibleaddAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedforEach, spliteratorpublic static final String NAME
public AdminView(AnnisUI ui)
public void addListener(UIView.Listener listener)
addListener in interface UIViewpublic void detach()
detach in interface com.vaadin.server.ClientConnectordetach in class com.vaadin.ui.AbstractComponentpublic void enter(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event)
enter in interface com.vaadin.navigator.Viewpublic void invalidateClient()
ApiClientProviderinvalidateClient in interface ApiClientProviderpublic void onLogin()
onLogin in interface LoginListenerpublic void onLogout()
onLogout in interface LoginListenerpublic <T> void runInBackground(Callable<T> job, com.google.common.util.concurrent.FutureCallback<T> callback)
UIViewrunInBackground in interface UIViewpublic void selectedTabChange(com.vaadin.ui.TabSheet.SelectedTabChangeEvent event)
selectedTabChange in interface com.vaadin.ui.TabSheet.SelectedTabChangeListenerpublic void setToolbar(MainToolbar newToolbar)
public void showBackgroundInfo(String info, String description)
showBackgroundInfo in interface UIViewpublic void showWarning(String error, String description)
showWarning in interface UIViewpublic ApiClient getClient()
ApiClientProviderApiClient.
If the the user is authenticated this includes the authentication information.getClient in interface ApiClientProviderApiClient but never null.Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.