Package eu.bandm.tools.graficUtils
Class UriDialog
java.lang.Object
eu.bandm.tools.graficUtils.UriDialog
- All Implemented Interfaces:
FocusListener
,EventListener
Listener/auxiliary class which opens a file chooser whenever a
text input field is focused which needs a file path / uri, etc.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected UriDialog.ActiveControl
protected JTextField
protected boolean
protected boolean
protected boolean
-
Constructor Summary
ConstructorDescriptionUriDialog
(JTextField drain, UriDialog.ActiveControl ac, boolean multiSelect, boolean selectFiles, boolean selectDirectories, @Opt String windowtitle, @Opt String tooltip_accept) -
Method Summary
-
Field Details
-
drain
-
ac
-
multiSelect
protected boolean multiSelect -
selectFiles
protected boolean selectFiles -
selectDirectories
protected boolean selectDirectories -
tooltip_accept
-
windowtitle
-
-
Constructor Details
-
UriDialog
public UriDialog(JTextField drain, UriDialog.ActiveControl ac, boolean multiSelect, boolean selectFiles, boolean selectDirectories, @Opt @Opt String windowtitle, @Opt @Opt String tooltip_accept)
-
-
Method Details
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-