|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.emboss.jemboss.gui.sequenceChooser.FileChooser
Creates a JFileChooser and add it to the Box.
Field Summary | |
private javax.swing.JFileChooser |
fc
file chooser |
private TextFieldSink |
fileName
file name text field |
private javax.swing.JLabel |
lname
label for text field |
Constructor Summary | |
FileChooser(javax.swing.Box bdown,
java.lang.String name,
JembossParams mysettings)
|
Method Summary | |
java.lang.String |
getFileChosen()
Get the selected file |
javax.swing.JFileChooser |
getJFileChooser()
Get the JFileChooser |
java.awt.Dimension |
getPreferredSize()
Get the preferred size of the text field |
TextFieldSink |
getTextFieldSink()
Get the text field |
void |
setForeground(java.awt.Color c)
Set the label colour |
void |
setPreferredSize(java.awt.Dimension d)
Set the preferred size of the text field |
void |
setSize(java.awt.Dimension d)
Set the size of the text field |
void |
setText(java.lang.String txt)
Set the text field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final javax.swing.JFileChooser fc
private TextFieldSink fileName
private javax.swing.JLabel lname
Constructor Detail |
public FileChooser(javax.swing.Box bdown, java.lang.String name, JembossParams mysettings)
bdown
- container in form to add toname
- label name for fieldmysettings
- jemboss propertiesMethod Detail |
public java.lang.String getFileChosen()
public javax.swing.JFileChooser getJFileChooser()
public TextFieldSink getTextFieldSink()
public void setText(java.lang.String txt)
txt
- text to set in the text fieldpublic void setSize(java.awt.Dimension d)
d
- size of text fieldpublic void setPreferredSize(java.awt.Dimension d)
d
- size of text fieldpublic java.awt.Dimension getPreferredSize()
public void setForeground(java.awt.Color c)
c
- colour
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |