org.fife.rsta.ac.html
Class HtmlLanguageSupport

java.lang.Object
  extended by org.fife.rsta.ac.AbstractLanguageSupport
      extended by org.fife.rsta.ac.html.HtmlLanguageSupport
All Implemented Interfaces:
LanguageSupport

public class HtmlLanguageSupport
extends AbstractLanguageSupport

Language support for HTML.

Version:
1.0
Author:
Robert Futrell

Field Summary
 
Fields inherited from interface org.fife.rsta.ac.LanguageSupport
PROPERTY_LANGUAGE_PARSER
 
Constructor Summary
HtmlLanguageSupport()
          Constructor.
 
Method Summary
protected  ListCellRenderer createDefaultCompletionCellRenderer()
          Creates the default cell renderer to use when none is specified.
 void install(RSyntaxTextArea textArea)
          Installs this support.
 void uninstall(RSyntaxTextArea textArea)
          Uninstalls this support.
 
Methods inherited from class org.fife.rsta.ac.AbstractLanguageSupport
createAutoCompletion, getAutoActivationDelay, getAutoCompletionFor, getDefaultCompletionCellRenderer, getShowDescWindow, getTextAreas, installImpl, isAutoActivationEnabled, isAutoCompleteEnabled, isParameterAssistanceEnabled, setAutoActivationDelay, setAutoActivationEnabled, setAutoCompleteEnabled, setDefaultCompletionCellRenderer, setParameterAssistanceEnabled, setShowDescWindow, uninstallImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlLanguageSupport

public HtmlLanguageSupport()
Constructor.

Method Detail

createDefaultCompletionCellRenderer

protected ListCellRenderer createDefaultCompletionCellRenderer()
Creates the default cell renderer to use when none is specified. Subclasses can override this method if there is a "better" default renderer for a specific language.

Overrides:
createDefaultCompletionCellRenderer in class AbstractLanguageSupport
Returns:
The default renderer for the completion list.

install

public void install(RSyntaxTextArea textArea)
Installs this support.

Parameters:
textArea - The text area to install onto.
See Also:
LanguageSupport.uninstall(RSyntaxTextArea)

uninstall

public void uninstall(RSyntaxTextArea textArea)
Uninstalls this support.

Parameters:
textArea - The text area to uninstall from.
See Also:
LanguageSupport.install(RSyntaxTextArea)


Copyright © 2003-2011. All Rights Reserved.