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

AbstractFormatLayer (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor.ext
Class AbstractFormatLayer

java.lang.Object
  extended by org.netbeans.editor.ext.AbstractFormatLayer
All Implemented Interfaces:
FormatLayer

public abstract class AbstractFormatLayer
extends Object
implements FormatLayer

Abstract formatting layer offers the support for naming the layer and creation of an format-support.


Constructor Summary
AbstractFormatLayer(String name)
          Construct new layer with the given name.
 
Method Summary
protected  FormatSupport createFormatSupport(FormatWriter fw)
          Create the format-support as an abstraction over the format-writer.
 String getName()
          Get the name of the layer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.netbeans.editor.ext.FormatLayer
format
 

Constructor Detail

AbstractFormatLayer

public AbstractFormatLayer(String name)
Construct new layer with the given name.

Method Detail

getName

public String getName()
Description copied from interface: FormatLayer
Get the name of the layer. This name is used to identify the layer when it's being removed or replaced and it can be used for debugging purposes too.

Specified by:
getName in interface FormatLayer

createFormatSupport

protected FormatSupport createFormatSupport(FormatWriter fw)
Create the format-support as an abstraction over the format-writer.


org.netbeans.modules.editor.lib/1 1.14.0 3

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