public class BrowseActionListener extends Object implements ActionListener
Modifier and Type | Class and Description |
---|---|
static class |
BrowseActionListener.BrowseType
Enumeration used to specify which kind of file browser dialog must be displayed.
|
Constructor and Description |
---|
BrowseActionListener(JTextComponent field,
BrowseActionListener.BrowseType type,
Component parent)
Constructor for the BrowseActionListener.
|
public BrowseActionListener(JTextComponent field, BrowseActionListener.BrowseType type, Component parent)
field
- the text component that will be updated when the user selects
something in the file browser dialog.type
- the type of file browse dialog that will be displayed.parent
- component that will be used as reference to display the file
browse dialog.public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- the ActionEvent we receive.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.