public class ResultViewPanel extends com.vaadin.ui.VerticalLayout implements OnLoadCallbackExtension.Callback
com.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| Constructor and Description |
|---|
ResultViewPanel(AnnisUI ui,
DisplayedResultQuery initialQuery) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach() |
PagingComponent |
getPaging() |
SortedSet<String> |
getVisibleTokenAnnos() |
boolean |
onCompononentLoaded(com.vaadin.server.AbstractClientConnector source)
Called whenever the extended component was rendered.
|
void |
setCount(long count) |
void |
setQueryResultQueue(BlockingQueue<org.corpus_tools.salt.common.SaltProject> queue,
PagedResultQuery q,
ArrayList<Match> allMatches)
Set a new querys in result panel.
|
void |
showFinishedSubgraphSearch() |
void |
showMatchSearchInProgress(String segmentationName)
Informs the user about the searching process.
|
void |
showNoResult() |
void |
showSubgraphSearchInProgress(PagedResultQuery q,
float percent) |
void |
updateVisibleToken(Set<String> tokenAnnotationLevelSet) |
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, beforeClientResponse, detach, 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, 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, detach, 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 ResultViewPanel(AnnisUI ui, DisplayedResultQuery initialQuery)
public void attach()
attach in interface com.vaadin.server.ClientConnectorattach in interface com.vaadin.ui.Componentattach in class com.vaadin.ui.AbstractComponentpublic PagingComponent getPaging()
public boolean onCompononentLoaded(com.vaadin.server.AbstractClientConnector source)
OnLoadCallbackExtension.CallbackonCompononentLoaded in interface OnLoadCallbackExtension.Callbackpublic void setCount(long count)
public void setQueryResultQueue(BlockingQueue<org.corpus_tools.salt.common.SaltProject> queue, PagedResultQuery q, ArrayList<Match> allMatches)
queue - holds the salt graphq - holds the ordinary queryallMatches - All matches.public void showFinishedSubgraphSearch()
public void showMatchSearchInProgress(String segmentationName)
query - Represents a limited querypublic void showNoResult()
public void showSubgraphSearchInProgress(PagedResultQuery q, float percent)
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.