@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class CalloutsRenderingInformationProvider
extends java.lang.Object
AuthorCalloutsController
methods.
AuthorCalloutsController.setCalloutsRenderingInformationProvider(CalloutsRenderingInformationProvider)
Constructor and Description |
---|
CalloutsRenderingInformationProvider() |
Modifier and Type | Method and Description |
---|---|
abstract AuthorCalloutRenderingInformation |
getCalloutRenderingInformation(AuthorPersistentHighlight highlight)
Get the callout rendering information associated with a custom persistent
highlight.
|
abstract boolean |
shouldRenderAsCallout(AuthorPersistentHighlight highlight)
Asks if a custom persistent highlight should be rendered as a callout in the Author mode.
|
public CalloutsRenderingInformationProvider()
public abstract AuthorCalloutRenderingInformation getCalloutRenderingInformation(AuthorPersistentHighlight highlight)
shouldRenderAsCallout(AuthorPersistentHighlight)
returns true
.
highlight
- The Author persistent highlight.null
if the highlight must not be rendered in Author as a
callout.public abstract boolean shouldRenderAsCallout(AuthorPersistentHighlight highlight)
true
, the callout rendering information
for this callout must be provided by getCalloutRenderingInformation(AuthorPersistentHighlight)
method.
highlight
- The Author custom persistent highlight.true
if the highlight can be rendered as a callout in Author mode.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.