|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.jtechlabs.ui.widget.directorychooser.DirectoryChooserConfirmationEvent
An event, that notifies listeners about request to confirm that certain operation (moving/deleting directory,...etc) should be performed.
Constructor Summary | |
DirectoryChooserConfirmationEvent(java.lang.Object source,
java.io.File file)
An event, that notifies listeners about request to confirm certain operation. |
Method Summary | |
java.io.File |
getFile()
Returns the target file object of the operation that requested confirmation. |
boolean |
isConfirmed()
Returns confirmation result. |
void |
setConfirmed(boolean confirmed)
Sets confrimation status. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DirectoryChooserConfirmationEvent(java.lang.Object source, java.io.File file)
source
- the source of event (JDirectoryChooser
component).file
- the file object that requested confirmation.Method Detail |
public java.io.File getFile()
public boolean isConfirmed()
true
if given operation should be performed, false
if it should be canceled.public void setConfirmed(boolean confirmed)
confirmed
- the new confirmation status. true
if given operation should be performed,
false
if it should be canceled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |