fr.ens.transcriptome.doelan.gui
Class FileChooserWidget

java.lang.Object
  extended byfr.ens.transcriptome.doelan.gui.FileChooserWidget

public class FileChooserWidget
extends java.lang.Object

This class implements a file chooser.

Author:
Laurent Jourdren

Constructor Summary
FileChooserWidget(boolean fileChooserVisible, java.lang.String label, int mnemonicKey, java.lang.String extension, java.lang.String extensionDescription, java.lang.String buttonText, javax.swing.JPanel panel, int position)
          Public constructor.
 
Method Summary
 java.lang.String getButtonText()
          Get the text of the button
 java.io.File getFile()
          Get the data file.
 int getMnemonicKey()
          Get the mnemonic key.
 void setButtonText(java.lang.String buttonText)
          Set the text of the button
 void setMnemonicKey(int mnemonicKey)
          set the mnemonic key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChooserWidget

public FileChooserWidget(boolean fileChooserVisible,
                         java.lang.String label,
                         int mnemonicKey,
                         java.lang.String extension,
                         java.lang.String extensionDescription,
                         java.lang.String buttonText,
                         javax.swing.JPanel panel,
                         int position)
Public constructor.

Parameters:
fileChooserVisible - Set if the fileChooser must be visible
label - the Label of the widget
mnemonicKey - mnemonic key
extension - The extension of the file
extensionDescription - The description of the extension
buttonText - button text
panel - Calling panel
position - Position of the chooser
Method Detail

getFile

public java.io.File getFile()
Get the data file.

Returns:
The data file

getMnemonicKey

public int getMnemonicKey()
Get the mnemonic key.

Returns:
Returns the mnemonicKey

getButtonText

public java.lang.String getButtonText()
Get the text of the button

Returns:
Returns the buttonText

setMnemonicKey

public void setMnemonicKey(int mnemonicKey)
set the mnemonic key.

Parameters:
mnemonicKey - The mnemonicKey to set

setButtonText

public void setButtonText(java.lang.String buttonText)
Set the text of the button

Parameters:
buttonText - The buttonText to set


Copyright © 2004-2005 École Normale Supérieure Microarray Platform. All Rights Reserved.