private class MTBSet_ActiveContourEnergyDataIOSwing.MTBSet_ActiveContourEnergyConfigButton
extends de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
implements de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeListener
This button has a collection configuration window attached to it where specific data is stored and accessable.
Modifier and Type | Field and Description |
---|---|
private JButton |
confButton
Button to display configuration window.
|
private MTBSet_ActiveContourEnergyDataIOSwing.MTBSet_ActiveContourEnergyConfigWindow |
confWin
Collection configuration window.
|
Constructor and Description |
---|
MTBSet_ActiveContourEnergyConfigButton(Field field,
Class<?> cl,
Object obj,
de.unihalle.informatik.Alida.operator.ALDParameterDescriptor d)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disableComponent() |
void |
dispose() |
void |
enableComponent() |
JButton |
getJComponent() |
void |
handleValueChangeEvent(de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeEvent event) |
Object |
readData(Field field,
Class<?> cl)
Gets the data from the configuration window.
|
void |
setValue(Field field,
Class<?> cl,
Object obj)
Updates GUI component with given value.
|
private JButton confButton
private MTBSet_ActiveContourEnergyDataIOSwing.MTBSet_ActiveContourEnergyConfigWindow confWin
public MTBSet_ActiveContourEnergyConfigButton(Field field, Class<?> cl, Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor d) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
field
- Field of collection.cl
- Class of collection.obj
- Default object.d
- (Operator) parameter descriptor.de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public JButton getJComponent()
getJComponent
in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
public void setValue(Field field, Class<?> cl, Object obj) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOException
field
- Field of collection.cl
- Class of collection.obj
- Default object.de.unihalle.informatik.Alida.exceptions.ALDDataIOException
public Object readData(Field field, Class<?> cl) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOException
field
- Field of collection.cl
- Class of collection.obj
- Default object.de.unihalle.informatik.Alida.exceptions.ALDDataIOException
public void handleValueChangeEvent(de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeEvent event)
handleValueChangeEvent
in interface de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeListener
public void disableComponent()
disableComponent
in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
public void enableComponent()
enableComponent
in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
public void dispose()
dispose
in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.