public static final class HighlightsLayerFactory.Context extends Object
HighlightLayer
s.
This context provides essential information such as a Document
and
JTextComponent
for which HighlightLayer
s should be created.Modifier and Type | Method and Description |
---|---|
JTextComponent |
getComponent()
Gets the text component for which the highlight layers are created.
|
Document |
getDocument()
Gets the document for which the highlight layers are created.
|
public Document getDocument()
public JTextComponent getComponent()