|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.rsta.ac.LanguageSupportFactory
public class LanguageSupportFactory
Provides language support (code completion, etc.) for programming languages in RSyntaxTextArea. Different languages may have varying levels of "support."
| Method Summary | |
|---|---|
static LanguageSupportFactory |
get()
Returns the singleton instance of this class. |
LanguageSupport |
getSupportFor(String style)
Returns the language support for a programming language. |
void |
propertyChange(PropertyChangeEvent e)
Listens for RSyntaxTextAreas to change what language they're highlighting, so language support can be updated appropriately. |
void |
register(RSyntaxTextArea textArea)
Registers an RSyntaxTextArea to receive language support. |
void |
unregister(RSyntaxTextArea textArea)
Un-registers an RSyntaxTextArea. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LanguageSupportFactory get()
public LanguageSupport getSupportFor(String style)
style - The language. This should be one of the constants defined
in SyntaxConstants.
null if none is registered
for the language specified.public void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenere - The event.public void register(RSyntaxTextArea textArea)
textArea - The text area to register.public void unregister(RSyntaxTextArea textArea)
textArea - The text area.register(RSyntaxTextArea)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||