public class VisualizerPanel extends com.vaadin.ui.CssLayout implements com.vaadin.ui.Button.ClickListener, VisualizationToggle
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| Modifier and Type | Field and Description |
|---|---|
static com.vaadin.server.Resource |
ICON_COLLAPSE |
static com.vaadin.server.Resource |
ICON_EXPAND |
static long |
serialVersionUID |
| Constructor and Description |
|---|
VisualizerPanel(VisualizerRule visRule,
int visId,
org.corpus_tools.salt.common.SDocument result,
Match match,
Set<String> visibleTokenAnnos,
Map<org.corpus_tools.salt.core.SNode,Long> markedAndCovered,
String htmlID,
String resultID,
VisualizerContextChanger parent,
String segmentationName,
AnnisUI ui)
This Constructor should be used for
ComponentVisualizerPlugin Visualizer. |
| Modifier and Type | Method and Description |
|---|---|
void |
attach() |
void |
buttonClick(com.vaadin.ui.Button.ClickEvent event) |
String |
getHtmlID() |
String |
getVisualizerShortName() |
void |
setSegmentationLayer(String segmentationName,
Map<org.corpus_tools.salt.core.SNode,Long> markedAndCovered) |
void |
setVisibleTokenAnnosVisible(SortedSet<String> annos) |
void |
toggleVisualizer(boolean visible,
LoadableVisualizer.Callback callback)
Shows and hides the visualizer.
|
boolean |
visualizerIsVisible()
Returns wether the visualization is visible.
|
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, writeDesignaddComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidthaddContextClickListener, addListener, addShortcutListener, addStyleName, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, 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, 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 static final long serialVersionUID
public static final com.vaadin.server.Resource ICON_COLLAPSE
public static final com.vaadin.server.Resource ICON_EXPAND
public VisualizerPanel(VisualizerRule visRule, int visId, org.corpus_tools.salt.common.SDocument result, Match match, Set<String> visibleTokenAnnos, Map<org.corpus_tools.salt.core.SNode,Long> markedAndCovered, String htmlID, String resultID, VisualizerContextChanger parent, String segmentationName, AnnisUI ui)
ComponentVisualizerPlugin Visualizer.public void attach()
attach in interface com.vaadin.server.ClientConnectorattach in interface com.vaadin.ui.Componentattach in class com.vaadin.ui.AbstractComponentpublic void buttonClick(com.vaadin.ui.Button.ClickEvent event)
buttonClick in interface com.vaadin.ui.Button.ClickListenerpublic String getHtmlID()
public String getVisualizerShortName()
public void setSegmentationLayer(String segmentationName, Map<org.corpus_tools.salt.core.SNode,Long> markedAndCovered)
public void toggleVisualizer(boolean visible,
LoadableVisualizer.Callback callback)
VisualizationToggletoggleVisualizer in interface VisualizationTogglepublic boolean visualizerIsVisible()
VisualizationTogglevisualizerIsVisible in interface VisualizationToggleCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.