|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.rtext.FileTypeIconManager
public class FileTypeIconManager
Manages icons used for file types by subclasses of
AbstractMainView
.
Method Summary | |
---|---|
static FileTypeIconManager |
get()
Returns the singleton instance of this class. |
javax.swing.Icon |
getIconFor(RTextEditorPane textArea)
Returns the icon for a view type to use for the specified text area. |
void |
setIconFor(java.lang.String syntaxStyle,
javax.swing.Icon icon)
Sets the icon to use for a specific syntax style. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public javax.swing.Icon getIconFor(RTextEditorPane textArea)
textArea
- The text area.
public static FileTypeIconManager get()
public void setIconFor(java.lang.String syntaxStyle, javax.swing.Icon icon)
syntaxStyle
- The syntax style.icon
- The icon to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |