站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

HighlightsLayerFactory.Context (Editor Library 2) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib2/1 1.3 2

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.3 2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.