protected class PaCeQuant_FeatureColorMapperInputDataIOSwing.ColorMapperInputDirectoryIOPanel extends de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent implements ActionListener, de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected String |
directoryDefault
Default directory to be used initially.
|
private JFileChooser |
getDirDialog
File/directory chooser dialogue.
|
private JPanel |
ioPanel
Swing component to be integrated in GUI.
|
private File |
lastDirectory
Last directory selected by user.
|
private File |
lastFile
Last file selected by user.
|
private de.unihalle.informatik.Alida.operator.ALDParameterDescriptor |
paramDescriptor
Descriptor of the associated (operator) parameter.
|
private JButton |
selectFileDir
Button to select via dialogue.
|
private de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentTextField |
textField
Text field in the panel.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ColorMapperInputDirectoryIOPanel(Field field,
Class<?> cl,
Object obj,
de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
disableComponent() |
void |
dispose() |
void |
enableComponent() |
JPanel |
getJComponent() |
void |
handleValueChangeEvent(de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeEvent event) |
Object |
readData(Field field,
Class<?> cl)
Returns the contents of the text field.
|
void |
setValue(Field field,
Class<?> cl,
Object value)
Returns the contents of the text field.
|
private JPanel ioPanel
private JButton selectFileDir
private JFileChooser getDirDialog
private File lastDirectory
private File lastFile
private de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentTextField textField
private de.unihalle.informatik.Alida.operator.ALDParameterDescriptor paramDescriptor
protected final String directoryDefault
protected ColorMapperInputDirectoryIOPanel(Field field, Class<?> cl, Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
field - Field to consider.cl - Class to consider.obj - Default object.descr - Descriptor of associated parameter.public JPanel getJComponent()
getJComponent in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentpublic void setValue(Field field, Class<?> cl, Object value)
field - Field to consider.cl - Class to consider.value - Object value to be set, here just a directory (string) name.public Object readData(Field field, Class<?> cl) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
field - Field to consider.cl - Class to consider.de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException - Thrown in case of failure.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void handleValueChangeEvent(de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeEvent event)
handleValueChangeEvent in interface de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeListenerpublic void disableComponent()
disableComponent in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentpublic void enableComponent()
enableComponent in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentpublic void dispose()
dispose in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentCopyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.