|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter
de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
de.unihalle.informatik.Alida.dataio.provider.swing.ALDNativeArray2DDataIOSwing.ArrayConfigButton
private class ALDNativeArray2DDataIOSwing.ArrayConfigButton
GUI element for configuring collections.
This button has a collection configuration window attached to it where specific data is stored and accessable.
Field Summary | |
---|---|
private javax.swing.JButton |
confButton
Button to open configuration window. |
private ALDNativeArray2DDataIOSwing.ArrayConfigWindow |
confWin
Collection configuration window. |
Fields inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter |
---|
listenerList |
Constructor Summary | |
---|---|
ALDNativeArray2DDataIOSwing.ArrayConfigButton(java.lang.reflect.Field field,
java.lang.Class<?> cl,
java.lang.Object obj,
ALDParameterDescriptor descr)
Constructor. |
Method Summary | |
---|---|
void |
disableComponent()
Method to disable the component, i.e. all graphical elements, to prohibit parameter changes. |
void |
enableComponent()
Method to enable the component with all graphical elements again. |
javax.swing.JComponent |
getJComponent()
Method to request the provider's GUI element. |
void |
handleValueChangeEvent(ALDSwingValueChangeEvent event)
Method which is called on event occurence. |
java.lang.Object |
readData(java.lang.reflect.Field field,
java.lang.Class<?> cl)
Gets the data from the configuration window. |
void |
setValue(java.lang.reflect.Field field,
java.lang.Class<?> cl,
java.lang.Object value)
Gets the data from the configuration window. |
Methods inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter |
---|
addValueChangeEventListener, fireALDSwingValueChangeEvent, removeValueChangeEventListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.swing.JButton confButton
private ALDNativeArray2DDataIOSwing.ArrayConfigWindow confWin
Constructor Detail |
---|
public ALDNativeArray2DDataIOSwing.ArrayConfigButton(java.lang.reflect.Field field, java.lang.Class<?> cl, java.lang.Object obj, ALDParameterDescriptor descr)
field
- Field of collection.cl
- Class of collection.obj
- Default object.descr
- Optional descriptor for additional information.Method Detail |
---|
public void disableComponent()
ALDSwingComponent
disableComponent
in class ALDSwingComponent
public void enableComponent()
ALDSwingComponent
enableComponent
in class ALDSwingComponent
public javax.swing.JComponent getJComponent()
ALDSwingComponent
getJComponent
in class ALDSwingComponent
public void handleValueChangeEvent(ALDSwingValueChangeEvent event)
ALDSwingValueChangeListener
handleValueChangeEvent
in interface ALDSwingValueChangeListener
event
- Event to be handled.public java.lang.Object readData(java.lang.reflect.Field field, java.lang.Class<?> cl) throws ALDDataIOProviderException
field
- Field of collection.cl
- Class of collection.obj
- Default object.
ALDDataIOException
ALDDataIOProviderException
public void setValue(java.lang.reflect.Field field, java.lang.Class<?> cl, java.lang.Object value)
field
- Field of collection.cl
- Class of collection.obj
- Default object.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |