|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.FileFilter
public class FileFilter
Constructor Summary | |
---|---|
FileFilter()
Creates a new FileFilter with no rules added to it. |
Method Summary | |
---|---|
void |
addMimeType(java.lang.String mimeType)
Adds a rule allowing a given mime type to filter. |
void |
addPattern(java.lang.String pattern)
Adds a rule allowing a shell style glob to a filter. |
java.lang.String |
getName()
Returns the human readable name of the file filter. |
void |
setName(java.lang.String name)
Sets the human readable name for the filter. |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileFilter()
Method Detail |
---|
public void setName(java.lang.String name)
name
- The name of the filter.public java.lang.String getName()
public void addMimeType(java.lang.String mimeType)
public void addPattern(java.lang.String pattern)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |