public abstract static class AJFileChooser.Deleter
extends java.lang.Object
Deleter abstract class allows AJFileChooser
 to perform delete operations.| Constructor and Description | 
|---|
AJFileChooser.Deleter()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract boolean | 
canDelete(java.io.File f)
This method is called by the default implementation of
 the following  
canDelete(File[] files) method. | 
boolean | 
canDelete(java.io.File[] files)
canDelete returns false if some of the given
 files/subdirectories cannot be deleted. | 
abstract void | 
canDeleteStatusChanged(boolean b)
canDeleteStatusChanged is called every time when
 the result of AJFileChooser.canDeleteSelectedFiles()
 method is changed. | 
abstract boolean | 
delete(java.io.File[] files)
delete tries to delete the given files/subdirectories
 and returns false in a case of any errors. | 
public abstract boolean canDelete(java.io.File f)
canDelete(File[] files) method.
 Usually it is enough to override this method instead
 the full canDelete(File[] files) version.public boolean canDelete(java.io.File[] files)
canDelete returns false if some of the given
 files/subdirectories cannot be deleted.
 In this case, AJFileChooser will
 not try to delete files. If canDelete returns true,
 it doesn't mean that deletion is surely possible - some errors
 can still occur while deleting; but in this case
 AJFileChooser will try to delete selected
 files/subdirectories and will show an error message in
 a case of any errors.
 By default, this method calls the previous
 canDelete(File f) method for every file/subdirectory
 and returns true if and only if files.length>0
 and all such calls return true.
public abstract boolean delete(java.io.File[] files)
delete tries to delete the given files/subdirectories
 and returns false in a case of any errors. AJFileChooser
 calls this method to delete files/subdirectories.public abstract void canDeleteStatusChanged(boolean b)
canDeleteStatusChanged is called every time when
 the result of AJFileChooser.canDeleteSelectedFiles()
 method is changed. You can override this method to control
 enable/disable status of your delete button (not added
 by addDeleteButton() method).b - - new value of AJFileChooser.canDeleteSelectedFiles()
 result
  Купить тренажеры   Купить тренажер в челябинске купить тренажеры.   sportcity74.ru