All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class multilizer.MFileChooser

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.preview.JFileChooser
                                   |
                                   +----multilizer.MFileChooser

public class MFileChooser
extends JFileChooser
The class that extends the JFileChooser such way that the dialog is multilingual.


Variable Index

 o translator
The translator that is used to translate the dialog(s).

Constructor Index

 o MFileChooser()

Method Index

 o setDictionary(Dictionary)
Sets the dictionary and creates the translator for the chooser.
 o showDialog(Component, String)
Pops a custom file chooser dialog with a custom ApproveButton.

Variables

 o translator
 protected Translator translator
The translator that is used to translate the dialog(s).

Constructors

 o MFileChooser
 public MFileChooser()

Methods

 o setDictionary
 public void setDictionary(Dictionary dictionary)
Sets the dictionary and creates the translator for the chooser.

Parameters:
dictionary - The dictionary that is used to translate the chooser.
 o showDialog
 public int showDialog(Component parent,
                       String approveButtonText)
Pops a custom file chooser dialog with a custom ApproveButton.

Overrides:
showDialog in class JFileChooser

All Packages  Class Hierarchy  This Package  Previous  Next  Index