public static class SideBySideView.Line.Item extends Object
Additional to the the text this includes the linenumber as well as the corresponding cssClass which signals wether the item was modified, added or deleted.
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCssClass()
Returns the cssClass of the Item.
|
String |
getLineNumber()
Returns the line number of the Item.
|
String |
getText()
Returns the text of the Item.
|
boolean |
hasText() |
void |
setCssClass(String cssClass)
Sets cssClass.
|
void |
setLineNumber(Integer lineNumber) |
void |
setText(String text) |
public String getLineNumber()
public String getText()
public boolean hasText()
public String getCssClass()
public void setCssClass(String cssClass)
cssClass - cssClasspublic void setLineNumber(Integer lineNumber)
lineNumber - the lineNumber to setpublic void setText(String text)
text - the text to setCopyright © 2016–2020. All rights reserved.