@MinDoc(copyright="Copyright 2001, 2004, 2009 A. Weinert", author="Albrecht Weinert", version="see enclosing interface FileVisitor", lastModified="see enclosing interface FileVisitor", lastModifiedBy="see enclosing interface FileVisitor", usage="a visitor for files", purpose="ask a question on the visited file (by dialog window)") public static class FileVisitor.AskGrafImpl extends FileVisitor.Ask
visit(File)of which asks a question on the file visited graphically using an (
|Modifier and Type||Field and Description|
Parent object for the graphical (prompt) window. .
Title for the graphical window.
|Constructor and Description|
Make an AskGrafImpl object, setting by a PropMap.
|Modifier and Type||Method and Description|
Dispose the AskGrafImpl object and its resources.
The "deed" or action with the file visited.
protected final AskDialog theDialog
public String title
protected Object parent
FileVisitor.Ask.deleteModewill be set finally by the parameter provided. It will be tried to set this objects properties by
prophas a property "fileDialogTitle" its value will be used to set
parentis not null and no
CharSequence,it will be tried to use it as parent of the asking window. If it is a
CharSequenceit will be used as
parent- used as parent window or title (if feasible)
modal- true locks a given parent window while waiting for closing the dialog window
prop- PropMap to set properties
public int visit(File dD)
dDis null or if
dispose()was called 0 (as negative acknowledge) is returned immediately.
dDdoes not exist 1 (as acknowledge) is returned without further actions.
FileVisitor.visit()for the return values recommended and implemented here.
dD- the file or directory to act upon or to determine a filter / function response about
public void dispose()
visit()returns 0 always.