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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
ActionListener implementation.
|
protected void |
fieldUpdated()
The method that is called after the text field is updated.
|
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 ActionListenere - the ActionEvent we receive.protected void fieldUpdated()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.