private class MTBSet_ActiveContourEnergyDataIOSwing.MTBSet_ActiveContourEnergyDisplayWindow extends Object implements ActionListener
Modifier and Type | Class and Description |
---|---|
private class |
MTBSet_ActiveContourEnergyDataIOSwing.MTBSet_ActiveContourEnergyDisplayWindow.MTBSet_SnkEnergyPDEGUITableModel
Internal GUI table model.
|
Modifier and Type | Field and Description |
---|---|
private JButton |
closeButton
Close button.
|
private JButton |
displayEnergyButton
Config button for energies.
|
private HashMap<String,de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDParametrizedClassConfigWindow> |
energyConfWins
Mapping of short names to configuration windows.
|
(package private) JTable |
energyTab
List of selected energies.
|
(package private) MTBSet_ActiveContourEnergyDataIOSwing.MTBSet_ActiveContourEnergyDisplayWindow.MTBSet_SnkEnergyPDEGUITableModel |
energyTabModel
Model for the energy table.
|
(package private) Vector<Double> |
energyWeights
Individual energy weights.
|
private int |
frameHeight
Fixed height of window.
|
private int |
frameWidth
Fixed width of window.
|
private JPanel |
mainPanel
Main panel of main frame.
|
private LinkedList<String> |
selectedEnergies
List of currently selected energies.
|
private JFrame |
window
Main frame.
|
Constructor and Description |
---|
MTBSet_ActiveContourEnergyDisplayWindow(Object o,
de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
private void |
buildMainPanel()
Build the main panel for configuring the list of energies.
|
private void |
openWindow()
Displays configuration window.
|
void |
setValue(Object value)
Set new value.
|
private JFrame window
private final int frameWidth
private final int frameHeight
private JPanel mainPanel
private LinkedList<String> selectedEnergies
private HashMap<String,de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDParametrizedClassConfigWindow> energyConfWins
private JButton displayEnergyButton
private JButton closeButton
JTable energyTab
MTBSet_ActiveContourEnergyDataIOSwing.MTBSet_ActiveContourEnergyDisplayWindow.MTBSet_SnkEnergyPDEGUITableModel energyTabModel
public MTBSet_ActiveContourEnergyDisplayWindow(Object o, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
o
- Object to display.descr
- Related parameter descriptor.public void setValue(Object value) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOException
value
- New value to set.de.unihalle.informatik.Alida.exceptions.ALDDataIOException
private void openWindow()
If a default collection is given, the collection is displayed.
private void buildMainPanel()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.