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

CodeTemplateSettings (Editor Settings) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.settings/1 1.9

org.netbeans.api.editor.settings
Class CodeTemplateSettings

java.lang.Object
  extended by org.netbeans.api.editor.settings.CodeTemplateSettings

public abstract class CodeTemplateSettings
extends Object

The list of available templates. Instances of this class should be retrieved from MimeLookup.

This class must NOT be extended by any API clients.


Constructor Summary
CodeTemplateSettings()
          Construction prohibited for API clients.
 
Method Summary
abstract  List<CodeTemplateDescription> getCodeTemplateDescriptions()
          Gets list of code template descriptions.
abstract  KeyStroke getExpandKey()
          Get the keystroke that expands the code templates abbreviations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeTemplateSettings

public CodeTemplateSettings()
Construction prohibited for API clients.

Method Detail

getCodeTemplateDescriptions

public abstract List<CodeTemplateDescription> getCodeTemplateDescriptions()
Gets list of code template descriptions.

Returns:
non-modifiable list of the code template descriptions.

getExpandKey

public abstract KeyStroke getExpandKey()
Get the keystroke that expands the code templates abbreviations.

Returns:
non-null keystroke that expands the code template abbreviations into code templates.

org.netbeans.modules.editor.settings/1 1.9

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