|
||||||||||
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.ALDParametrizedClassConfigWindow
public class ALDParametrizedClassConfigWindow
Configuration window for parametrized class objects.
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter |
---|
listenerList |
Constructor Summary | |
---|---|
ALDParametrizedClassConfigWindow(Class<?> c)
Default constructor. |
|
ALDParametrizedClassConfigWindow(Object obj)
Default constructor. |
|
ALDParametrizedClassConfigWindow(Object obj,
boolean noEdit)
Default constructor. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
|
void |
disableComponent()
Disable component to prohibit value changes. |
void |
dispose()
Dispose component and all sub-windows. |
void |
enableComponent()
Enable component to allow for value changes. |
void |
handleValueChangeEvent(ALDSwingValueChangeEvent event)
Method which is called on event occurence. |
boolean |
isVisible()
Method to query if configuration window is visible. |
Object |
readData(Field field,
Class<?> cl)
Extracts current parametrized class configuration. |
void |
setDisplayOnly(boolean b)
Enable or display parameter editing. |
void |
setEditable(boolean f)
Disable or enable the elements in the window for editing. |
void |
setValue(Object obj)
Update parameter values in GUI. |
void |
setVisible(boolean b)
Show or hide the 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 |
Constructor Detail |
---|
public ALDParametrizedClassConfigWindow(Class<?> c)
c
- Class associated with this window.public ALDParametrizedClassConfigWindow(Object obj)
obj
- Object associated with this window.public ALDParametrizedClassConfigWindow(Object obj, boolean noEdit)
obj
- Object to configure.noEdit
- If true, no parameter editing is possible.Method Detail |
---|
public void disableComponent()
public void enableComponent()
public void dispose()
public void setVisible(boolean b) throws ALDDataIOProviderException
b
- If true, window is displayed, otherwise hidden.
ALDDataIOProviderException
public boolean isVisible()
public void setDisplayOnly(boolean b)
b
- If true, editing is disabled, otherwise enabled.public void setEditable(boolean f)
f
- If true, editing is possible, otherwise not.public void setValue(Object obj) throws ALDDataIOException
obj
- New value of parameter object.
ALDDataIOException
public Object readData(Field field, Class<?> cl) throws ALDDataIOException
field
- Field of parametrized class object.cl
- Desired class.
ALDDataIOException
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void handleValueChangeEvent(ALDSwingValueChangeEvent event)
ALDSwingValueChangeListener
handleValueChangeEvent
in interface ALDSwingValueChangeListener
event
- Event to be handled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |