org.netbeans.modules.editor.lib2/1 1.43.1 10

org.netbeans.spi.editor.highlighting
Class HighlightsLayerFactory.Context

java.lang.Object
  extended by org.netbeans.spi.editor.highlighting.HighlightsLayerFactory.Context
Enclosing interface:
HighlightsLayerFactory

public static final class HighlightsLayerFactory.Context
extends Object

The context passed to a factory when it is asked to create HighlightLayers. This context provides essential information such as a Document and JTextComponent for which HighlightLayers should be created.


Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDocument

public Document getDocument()
Gets the document for which the highlight layers are created.


getComponent

public JTextComponent getComponent()
Gets the text component for which the highlight layers are created.


org.netbeans.modules.editor.lib2/1 1.43.1 10

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.