|
||||||||||
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.ALDFileDirectoryDataIOSwing.FileDirectoryDataIOPanel
protected class ALDFileDirectoryDataIOSwing.FileDirectoryDataIOPanel
GUI panel for IO of file and directory names.
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter |
---|
listenerList |
Constructor Summary | |
---|---|
protected |
ALDFileDirectoryDataIOSwing.FileDirectoryDataIOPanel(Field field,
Class<?> cl,
Object obj)
Default constructor. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
|
void |
disableComponent()
Method to disable the component, i.e. all graphical elements, to prohibit parameter changes. |
void |
dispose()
Releases all resources, i.e. closes all sub-windows. |
void |
enableComponent()
Method to enable the component with all graphical elements again. |
JPanel |
getJComponent()
Method to request the provider's GUI element. |
void |
handleValueChangeEvent(ALDSwingValueChangeEvent event)
Method which is called on event occurence. |
Object |
readData(Field field,
Class<?> cl)
Returns the contents of the text field. |
boolean |
representsDirectory()
Request type of input. |
void |
setValue(Field field,
Class<?> cl,
Object value)
Returns the contents of the text field. |
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 |
Constructor Detail |
---|
protected ALDFileDirectoryDataIOSwing.FileDirectoryDataIOPanel(Field field, Class<?> cl, Object obj)
field
- Field to consider.cl
- Class to consider.obj
- Default object.Method Detail |
---|
public JPanel getJComponent()
ALDSwingComponent
getJComponent
in class ALDSwingComponent
public boolean representsDirectory()
public void setValue(Field field, Class<?> cl, Object value)
field
- Field to consider.cl
- Class to consider.value
- Object value to be set.
ALDDataIOProviderException
public Object readData(Field field, Class<?> cl) throws ALDDataIOProviderException
field
- Field to consider.cl
- Class to consider.
ALDDataIOProviderException
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void handleValueChangeEvent(ALDSwingValueChangeEvent event)
ALDSwingValueChangeListener
handleValueChangeEvent
in interface ALDSwingValueChangeListener
event
- Event to be handled.public void disableComponent()
ALDSwingComponent
disableComponent
in class ALDSwingComponent
public void enableComponent()
ALDSwingComponent
enableComponent
in class ALDSwingComponent
public void dispose()
ALDSwingComponent
dispose
in class ALDSwingComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |