X
- the class of the elements in the left input sequence.Y
- the class of the elements in the right input sequence.public abstract class AbstractHTMLColumn<X,Y> extends Object implements HTMLColumn<X,Y>
Constructor and Description |
---|
AbstractHTMLColumn(String keyword,
ElementHTMLVisualizer<X> leftVisualizer,
ElementHTMLVisualizer<Y> rightVisualizer) |
Modifier and Type | Method and Description |
---|---|
String |
getCSS()
This default implementation returns an empty string.
|
String |
getHTML(Operation<X,Y> op)
This method should return one or multiple td-tags (corresponding to
the return value of getNumColumns()) containing the additional
information for the given alignment Operation.
|
String |
getJS()
This default implementation returns an empty string.
|
String |
getKeyword()
This method should return the keyword of this column.
|
int |
getNumColumns()
This method should return the number of HTML columns occupied by
this column.
|
public AbstractHTMLColumn(@NonNull String keyword, @NonNull ElementHTMLVisualizer<X> leftVisualizer, @NonNull ElementHTMLVisualizer<Y> rightVisualizer)
public String getKeyword()
HTMLColumn
getKeyword
in interface HTMLColumn<X,Y>
public String getHTML(Operation<X,Y> op)
HTMLColumn
getHTML
in interface HTMLColumn<X,Y>
op
- an Operation in an AlignmentPath.public int getNumColumns()
HTMLColumn
getNumColumns
in interface HTMLColumn<X,Y>
public String getCSS()
getCSS
in interface HTMLColumn<X,Y>
public String getJS()
getJS
in interface HTMLColumn<X,Y>
Copyright (C) 2016-2018 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/