| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.output.text.impl.TextItem |
Known Direct Subclasses
|
A simple implementation for an actionable text item within a line.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.output.IActionableItem
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TextItem(int offset, int length) | |||||||||||
| TextItem(int offset, int length, ItemClassIdentifiers classId) | |||||||||||
| TextItem(int offset, int length, ItemClassIdentifiers classId, long itemId, int flags) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ItemClassIdentifiers |
getClassId()
Retrieve the item class id, if any.
| ||||||||||
| int |
getItemFlags()
Retrieve the item flags.
| ||||||||||
| long |
getItemId()
Retrieve the item id.
| ||||||||||
| int |
getLength()
Get item length within a line.
| ||||||||||
| ILine |
getLine()
Get the line that contains this item.
| ||||||||||
| int |
getOffset()
Get the item offset within a line.
| ||||||||||
| int |
getOffsetEnd()
Get the item end offset (exclusive) within a line.
| ||||||||||
| String |
getText()
Get the text of the item.
| ||||||||||
| void | setClassId(ItemClassIdentifiers classId) | ||||||||||
| void | setItemFlags(int flags) | ||||||||||
| void | setItemId(long itemId) | ||||||||||
| void | setLength(int length) | ||||||||||
| void | setLine(ILine line) | ||||||||||
| void | setOffset(int offset) | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.output.IActionableItem
| |||||||||||
From interface
com.pnfsoftware.jeb.core.output.IVisualItem
| |||||||||||
From interface
com.pnfsoftware.jeb.core.output.text.ITextItem
| |||||||||||
Retrieve the item class id, if any.
Retrieve the item flags. Currently, allowed flags are:
- ROLE_MASTER
- #MULTIPLE_ITEMS
For code nodes, this is not to be confused with the generic flags.
Retrieve the item id.
Get item length within a line.
Get the line that contains this item.
Get the item offset within a line.
Get the item end offset (exclusive) within a line.
Get the text of the item.