com.pnfsoftware.jeb.client.api.IUnitFragment |
Known Indirect Subclasses |
A fragment representing parts of a unit
. Fragments can be used to present documents
generated by the unit, or display regions or various representations of a unit.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getActiveAddress()
Retrieve the active address in the fragment, if any.
| ||||||||||
abstract String |
getActiveAddress(AddressConversionPrecision precision)
Retrieve the active address in the fragment, with desired precision.
| ||||||||||
abstract IItem |
getActiveItem()
Retrieve the currently active item in the fragment (eg, the caret is on an interactive text
item), if any.
| ||||||||||
abstract String |
getActiveItemAsText()
Retrieve the text representing the currently active item.
| ||||||||||
abstract IUnit |
getUnit()
Get the unit visualized by this fragment.
| ||||||||||
abstract boolean |
isActiveItem(IItem item)
Determine if the provided item is currently active in the fragment.
| ||||||||||
abstract boolean |
setActiveAddress(String address)
Set the active address within this fragment to the provided address.
|
Retrieve the active address in the fragment, if any.
Retrieve the active address in the fragment, with desired precision. Be careful that if
precision is not managed, this method will return null. Call getActiveAddress()
for
safe result.
precision | expected precision of the Active Address. |
---|
Retrieve the currently active item in the fragment (eg, the caret is on an interactive text item), if any.
Retrieve the text representing the currently active item.
Get the unit visualized by this fragment.
Determine if the provided item is currently active in the fragment.
Set the active address within this fragment to the provided address.
address | the address |
---|