| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.output.table.impl.Cell |
A simple implementation of an actionable visual cell item.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.output.IActionableItem
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Cell(String label)
Create a new cell.
| |||||||||||
|
Cell(String label, ItemClassIdentifiers classId)
Create a new cell.
| |||||||||||
|
Cell(String label, ItemClassIdentifiers classId, long itemId, int flags)
Create a new cell.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ItemClassIdentifiers |
getClassId()
Retrieve the item class id, if any.
| ||||||||||
| int |
getItemFlags()
Retrieve the item flags.
| ||||||||||
| long |
getItemId()
Retrieve the item id.
| ||||||||||
| String |
getLabel()
Get the label for that cell.
| ||||||||||
| void | setClassId(ItemClassIdentifiers classId) | ||||||||||
| void | setItemFlags(int flags) | ||||||||||
| void | setItemId(long itemId) | ||||||||||
| void | setLabel(String label) | ||||||||||
|
[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.table.ICell
| |||||||||||
Create a new cell.
| label | the label, without new-line characters |
|---|
Create a new cell.
| label | the label, without new-line characters |
|---|---|
| classId | optional class identifier |
Create a new cell.
| label | the label, without new-line characters |
|---|---|
| classId | optional class identifier |
| itemId | optional item identifier |
| flags | optional flags |
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 the label for that cell.
It is recommended to avoid new-line characters in the label. If new line characters are found, what happens to them is client-specific.