|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to define additional functionality for a filefilter.
| Method Summary | |
java.lang.String[] |
getExtensionList()
Returns an array with all valid extensions for this file type |
int |
getType()
Returns the type of this filter as defined in GraphFileChooserDialog.TYPE_... |
java.lang.String |
getValidFilename(java.io.File file)
Method getValidFilename returns a filename for the given file that is valid for this file type. |
void |
openInViewer(java.io.File file)
Opens the given file in the associated viewer |
boolean |
supportsOpenInViewer()
Returns true, if this file type can be opened in a viewer application after creation. |
| Method Detail |
public java.lang.String getValidFilename(java.io.File file)
file - The file to create a name for
public boolean supportsOpenInViewer()
public int getType()
public void openInViewer(java.io.File file)
file - The file to openpublic java.lang.String[] getExtensionList()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||