public class GridEvent extends Object implements Serializable
| Constructor and Description |
|---|
GridEvent(GridEvent orig)
Copy constructor
|
GridEvent(String sID,
int left,
int right,
String value)
Inits a new GridEvent.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCoveredIDs() |
Double |
getEndTime() |
String |
getId() |
int |
getLeft() |
Long |
getMatch() |
String |
getPageNumber() |
int |
getRight() |
Double |
getStartTime() |
String |
getTextID()
Salt ID of the text this event belongs to.
|
String |
getTooltip()
Returns the tooltip, which should be displayed when hovering this event.
|
String |
getValue() |
boolean |
isGap() |
boolean |
isSpace() |
void |
setEndTime(Double endTime) |
void |
setGap(boolean gap) |
void |
setId(String id) |
void |
setLeft(int left) |
void |
setMatch(Long match) |
void |
setPage(String pageNumber) |
void |
setRight(int right) |
void |
setSpace(boolean space) |
void |
setStartTime(Double startTime) |
void |
setTextID(String textID) |
void |
setTooltip(String tooltip)
Sets the tooltip which is display when hovering this event.
|
void |
setValue(String value) |
String |
toString() |
public GridEvent(GridEvent orig)
orig - public GridEvent(String sID, int left, int right, String value)
sID - This is the salt id of the node, sppan or tok. Used for identifying highlighted
nodes with getCoveredIDs()left - the most left token indexright - the most right token indexvalue - the value displayed in the table rowpublic Double getEndTime()
public String getId()
public int getLeft()
public Long getMatch()
public String getPageNumber()
public int getRight()
public Double getStartTime()
public String getTextID()
public String getTooltip()
public String getValue()
public boolean isGap()
public boolean isSpace()
public void setEndTime(Double endTime)
public void setGap(boolean gap)
public void setId(String id)
public void setLeft(int left)
public void setMatch(Long match)
public void setPage(String pageNumber)
public void setRight(int right)
public void setSpace(boolean space)
public void setStartTime(Double startTime)
public void setTextID(String textID)
public void setTooltip(String tooltip)
tooltip - the title to set, could be null.public void setValue(String value)
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.