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

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

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

org.netbeans.editor.ext
Interface FormatLayer

All Known Implementing Classes:
AbstractFormatLayer, ExtFormatter, ExtFormatter.Simple

public interface FormatLayer

Formatting layer that can be added to BaseFormatter to format the tokens.


Method Summary
 void format(FormatWriter fw)
          Format the tokens begining with the firstItem till the end.
 String getName()
          Get the name of the layer.
 

Method Detail

getName

String getName()
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.


format

void format(FormatWriter fw)
Format the tokens begining with the firstItem till the end.

Parameters:
fw - format-writer to be formatted. The format-layer will usually create the format-support as an abstraction level over the format-layer.

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.