javax.swing.text.html
Class FormView.BrowseFileAction

java.lang.Object
  extended byjavax.swing.text.html.FormView.BrowseFileAction
All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
FormView

private class FormView.BrowseFileAction
extends Object
implements ActionListener

BrowseFileAction is used for input type == file. When the user clicks the button a JFileChooser is brought up allowing the user to select a file in the file system. The resulting path to the selected file is set in the text field (actually an instance of Document).


Field Summary
private  AttributeSet attrs
           
private  Document model
           
 
Constructor Summary
(package private) FormView.BrowseFileAction(AttributeSet attrs, Document model)
           
 
Method Summary
 void actionPerformed(ActionEvent ae)
          Invoked when an action occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attrs

private AttributeSet attrs

model

private Document model
Constructor Detail

FormView.BrowseFileAction

FormView.BrowseFileAction(AttributeSet attrs,
                          Document model)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent ae)
Description copied from interface: ActionListener
Invoked when an action occurs.

Specified by:
actionPerformed in interface ActionListener