|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.huguesjohnson.jail.jailBreak.event.JailBreakEvent | +--com.huguesjohnson.jail.jailBreak.event.JailBreakOpenFileEvent
class JailBreakOpenFileEvent Event that occurs when a file is opened
Constructor Summary | |
JailBreakOpenFileEvent(java.lang.String fileName,
javax.swing.filechooser.FileFilter filter)
constructor |
Method Summary | |
java.lang.String |
getFileName()
returns the name of the file that was opened |
javax.swing.filechooser.FileFilter |
getFilter()
returns the FileFilter of the file that was opened The FileFilter indicates the type of file that was opened |
void |
setFileName(java.lang.String fileName)
set the name of the file that was opened |
void |
setFilter(javax.swing.filechooser.FileFilter filter)
sets the FileFilter of the file that was opened The FileFilter indicates the type of file that was opened |
java.lang.String |
toString()
returns a string representation of the object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JailBreakOpenFileEvent(java.lang.String fileName, javax.swing.filechooser.FileFilter filter)
fileName
- name & path of the file openedfilter
- the type of file that was openedMethod Detail |
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- name of the file that was openedpublic javax.swing.filechooser.FileFilter getFilter()
public void setFilter(javax.swing.filechooser.FileFilter filter)
filter
- the FileFilter of the file that was openedpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |