org.fife.rtext
Class FileTypeIconManager

java.lang.Object
  extended byorg.fife.rtext.FileTypeIconManager

public class FileTypeIconManager
extends java.lang.Object

Manages icons used for file types by subclasses of AbstractMainView.

Version:
1.0
Author:
Robert Futrell

Method Summary
 javax.swing.Icon getIconFor(RTextEditorPane textArea)
          Returns the icon for a view type to use for the specified text area.
static FileTypeIconManager getInstance()
          Returns the singleton instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIconFor

public javax.swing.Icon getIconFor(RTextEditorPane textArea)
Returns the icon for a view type to use for the specified text area.

Parameters:
textArea - The text area.
Returns:
The icon to use for the text area.

getInstance

public static FileTypeIconManager getInstance()
Returns the singleton instance of this class.

Returns:
The singleton instance of this class.