@JavaScript(value={"VisJs_Connector.js","vaadin://jquery.js","vis.min.js"})
@StyleSheet(value="vaadin://themes/annis-visualizer-theme/visjs/vis.min.css")
public class VisJsComponent
extends com.vaadin.ui.AbstractJavaScriptComponent
implements org.corpus_tools.salt.util.ExportFilter, org.corpus_tools.salt.util.StyleImporter
| Modifier and Type | Class and Description |
|---|---|
static class |
VisJsComponent.Annos_Keyword |
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.DetachListener| Constructor and Description |
|---|
VisJsComponent(VisualizerInput visInput)
Creates a new
VisJsComponent instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
attach() |
protected VisJsState |
getState() |
boolean |
includeNode(org.corpus_tools.salt.core.SNode node)
Implements the includeNode method of the org.corpus_tools.salt.util.ExportFilter interface.
|
boolean |
includeRelation(org.corpus_tools.salt.core.SRelation relation)
Implements the includeRelation method of the org.corpus_tools.salt.util.ExportFilter interface.
|
String |
setHighlightingColor(org.corpus_tools.salt.core.SNode node)
Implements the getHighlightingColor method of the org.corpus_tools.salt.util.StyleImporter
interface.
|
addFunction, callFunction, getState, registerRpcaddContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, 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, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined, writeDesignaddAttachListener, 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, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddStyleNames, getUI, removeStyleNames, setStyleNameaddAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerpublic VisJsComponent(VisualizerInput visInput)
VisJsComponent instance.visInput - the specified [VisualizerInput](\ref org.corpus_tools.annis.libgui.visualizers.VisualizerInput)public void attach()
attach in interface com.vaadin.server.ClientConnectorattach in interface com.vaadin.ui.Componentattach in class com.vaadin.ui.AbstractComponentprotected VisJsState getState()
getState in class com.vaadin.ui.AbstractJavaScriptComponentpublic boolean includeNode(org.corpus_tools.salt.core.SNode node)
includeNode in interface org.corpus_tools.salt.util.ExportFilterpublic boolean includeRelation(org.corpus_tools.salt.core.SRelation relation)
includeRelation in interface org.corpus_tools.salt.util.ExportFilterpublic String setHighlightingColor(org.corpus_tools.salt.core.SNode node)
setHighlightingColor in interface org.corpus_tools.salt.util.StyleImporterCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.