com.pnfsoftware.jeb.client.api.IUnitTextFragment |
A text fragment representing a textual document generated by a unit
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract ICoordinates |
getCaretCoordinates()
Retrieve the caret position.
| ||||||||||
abstract IGenericDocument |
getDocument()
Retrieve the underlying source document used to render fragment, if there is one.
| ||||||||||
abstract List<Object> |
getDocumentObjectsAtCaret()
Retrieve the lit of unit specific objects related to the current caret position or currently
active item in the fragment.
| ||||||||||
abstract String |
getSelectedText()
Retrieve the selected text string.
| ||||||||||
abstract void |
setCaretCoordinates(ICoordinates coord, boolean record)
Set the caret position.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.client.api.IUnitFragment
|
Retrieve the underlying source document used to render fragment, if there is one.
Retrieve the lit of unit specific objects related to the current caret position or currently active item in the fragment. The objects and their type are document-(and therefore, unit-) specific.
Retrieve the selected text string.
Set the caret position.