org.fife.ui.rtextfilechooser
Class FileTypeInfo
java.lang.Object
org.fife.ui.rtextfilechooser.FileTypeInfo
public class FileTypeInfo
- extends java.lang.Object
An icon and a color grouped together. This data structure is used
to associate a "style" with a given file type (i.e., files ending in
a given extension) in an RTextFileChooser
.
- Version:
- 0.2
- Author:
- Robert Futrell
Field Summary |
javax.swing.Icon |
icon
An icon to use in the file chooser when a file of the specified type is
displayed. |
java.awt.Color |
labelTextColor
The color to paint the name of the file in the file chooser. |
Constructor Summary |
FileTypeInfo(javax.swing.Icon icon,
java.awt.Color labelTextColor)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
icon
public javax.swing.Icon icon
- An icon to use in the file chooser when a file of the specified type is
displayed.
labelTextColor
public java.awt.Color labelTextColor
- The color to paint the name of the file in the file chooser.
FileTypeInfo
public FileTypeInfo(javax.swing.Icon icon,
java.awt.Color labelTextColor)
- Constructor.
- Parameters:
icon
- The icon to use.labelTextColor
- The color to use for the label.