public interface HighlightsLayerFactory
HighlightsLayers. Modules can implement
this interface and register their implementations among the mime-type specific
services under the Editors folder on the system filesystem.
The infrastructure uses HighlightsLayerFactory instances
registered in the mime-type specific registry to create HighlightsLayers,
which will participate in rendering a document. All factories that the infrastructure
considers relelvant for rendering a document will be asked to create
HighlightsLayers for that document.
| Modifier and Type | Interface and Description |
|---|---|
static class |
HighlightsLayerFactory.Context
The context passed to a factory when it is asked to create
HighlightLayers. |
| Modifier and Type | Method and Description |
|---|---|
HighlightsLayer[] |
createLayers(HighlightsLayerFactory.Context context)
Creates
HighlightLayers appropriate for the context passed in. |
HighlightsLayer[] createLayers(HighlightsLayerFactory.Context context)
HighlightLayers appropriate for the context passed in.context - The context that should be used for creating the layer.HighlightLayers that should be used
for rendering the document in the Context. This method can
return null if there are no HighlightLayers available.Built on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.