|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter com.alee.utils.filefilter.AbstractFileFilter com.alee.utils.filefilter.CustomFileFilter
public abstract class CustomFileFilter
Custom file filter class.
Field Summary | |
---|---|
protected java.lang.String |
description
File filter description. |
protected javax.swing.ImageIcon |
icon
File filter icon. |
Constructor Summary | |
---|---|
CustomFileFilter(javax.swing.ImageIcon icon,
java.lang.String description)
Constructs new custom file filter. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns short file filter description. |
javax.swing.ImageIcon |
getIcon()
Returns file filter icon. |
void |
setDescription(java.lang.String description)
Sets short file filter description. |
void |
setIcon(javax.swing.ImageIcon icon)
Sets file filter icon. |
Methods inherited from class com.alee.utils.filefilter.AbstractFileFilter |
---|
accept |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.ImageIcon icon
protected java.lang.String description
Constructor Detail |
---|
public CustomFileFilter(javax.swing.ImageIcon icon, java.lang.String description)
icon
- file filter icondescription
- file filter descriptionMethod Detail |
---|
public javax.swing.ImageIcon getIcon()
getIcon
in class AbstractFileFilter
public void setIcon(javax.swing.ImageIcon icon)
icon
- new file filter iconpublic java.lang.String getDescription()
getDescription
in class AbstractFileFilter
public void setDescription(java.lang.String description)
description
- new short file filter description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |