public class JDynFormFieldDynObjectList extends AbstractJDynFormField implements JDynFormField, JDynForm.JDynFormListener, JDynFormSet.JDynFormSetListener, FocusListener
AbstractJDynFormField.IllegalFieldValue
JDynFormField.JDynFormFieldListener
Modifier and Type | Field and Description |
---|---|
protected List |
assignedValue |
protected List |
currentValue |
protected AbstractJDynFormSet |
jdynFormSet |
protected boolean |
readonly |
contents, emptyToNull, logger, parameters
Constructor and Description |
---|
JDynFormFieldDynObjectList(DynObject parameters,
ServiceManager serviceManager) |
Modifier and Type | Method and Description |
---|---|
void |
fieldChanged(JDynFormField field)
This event is fired when a field of the form is changed by the user.
|
void |
focusGained(FocusEvent arg0) |
void |
focusLost(FocusEvent arg0) |
void |
formAfterCancelNew(JDynFormSet dynformSet) |
void |
formAfterDelete(JDynFormSet dynformSet) |
void |
formAfterNew(JDynFormSet dynformSet) |
void |
formAfterSave(JDynFormSet dynformSet) |
void |
formAfterSearch(JDynFormSet dynformSet) |
void |
formBeforeCancelNew(JDynFormSet dynformSet) |
void |
formBeforeDelete(JDynFormSet dynformSet) |
void |
formBeforeNew(JDynFormSet dynformSet) |
void |
formBeforeSave(JDynFormSet dynformSet) |
void |
formBeforeSearch(JDynFormSet dynformSet) |
void |
formClose() |
void |
formMessage(String message) |
void |
formMovedTo(int currentPosition) |
Object |
getAssignedValue() |
Object |
getValue()
Get the value of field from the form.
|
boolean |
hasValidValue() |
void |
initComponent() |
void |
message(String message) |
void |
setReadOnly(boolean readonly) |
void |
setValue(Object value) |
addActionToPopupMenu, addListener, addSeparatorToPopupMenu, asJComponent, clear, fetch, fireFieldChangedEvent, fireFieldEnterEvent, fireFieldExitEvent, fireMessageEvent, getDefinition, getForm, getJLabel, getLabel, getManager, getName, getParameterValue, getServiceManager, getTagValueAsBoolean, getTagValueAsBoolean, getTagValueAsInt, getTagValueAsInt, getTagValueAsString, getTagValueAsString, isModified, isReadOnly, loadDefaultValuesFromTags, problemIndicator, removeListener, setForm, setTranslateEmptyToNull, toString, translateEmptyToNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addActionToPopupMenu, addListener, addSeparatorToPopupMenu, clear, fetch, fireMessageEvent, getDefinition, getForm, getJLabel, getLabel, getName, isModified, isReadOnly, removeListener
asJComponent
getManager
protected List assignedValue
protected List currentValue
protected AbstractJDynFormSet jdynFormSet
protected boolean readonly
public JDynFormFieldDynObjectList(DynObject parameters, ServiceManager serviceManager)
public void setReadOnly(boolean readonly)
setReadOnly
in interface JDynFormField
setReadOnly
in class AbstractJDynFormField
public Object getAssignedValue()
getAssignedValue
in class AbstractJDynFormField
public void initComponent()
initComponent
in class AbstractJDynFormField
public void setValue(Object value)
setValue
in interface JDynFormField
public Object getValue()
JDynFormField
getValue
in interface JDynFormField
public boolean hasValidValue()
hasValidValue
in interface JDynFormField
public void focusGained(FocusEvent arg0)
focusGained
in interface FocusListener
public void focusLost(FocusEvent arg0)
focusLost
in interface FocusListener
public void message(String message)
message
in interface JDynForm.JDynFormListener
public void fieldChanged(JDynFormField field)
JDynForm.JDynFormListener
fieldChanged
in interface JDynForm.JDynFormListener
public void formMessage(String message)
formMessage
in interface JDynFormSet.JDynFormSetListener
public void formClose()
formClose
in interface JDynFormSet.JDynFormSetListener
public void formMovedTo(int currentPosition)
formMovedTo
in interface JDynFormSet.JDynFormSetListener
public void formBeforeSave(JDynFormSet dynformSet) throws AbortActionException
formBeforeSave
in interface JDynFormSet.JDynFormSetListener
AbortActionException
public void formBeforeNew(JDynFormSet dynformSet) throws AbortActionException
formBeforeNew
in interface JDynFormSet.JDynFormSetListener
AbortActionException
public void formBeforeCancelNew(JDynFormSet dynformSet) throws AbortActionException
formBeforeCancelNew
in interface JDynFormSet.JDynFormSetListener
AbortActionException
public void formBeforeDelete(JDynFormSet dynformSet) throws AbortActionException
formBeforeDelete
in interface JDynFormSet.JDynFormSetListener
AbortActionException
public void formBeforeSearch(JDynFormSet dynformSet) throws AbortActionException
formBeforeSearch
in interface JDynFormSet.JDynFormSetListener
AbortActionException
public void formAfterSave(JDynFormSet dynformSet)
formAfterSave
in interface JDynFormSet.JDynFormSetListener
public void formAfterNew(JDynFormSet dynformSet)
formAfterNew
in interface JDynFormSet.JDynFormSetListener
public void formAfterCancelNew(JDynFormSet dynformSet)
formAfterCancelNew
in interface JDynFormSet.JDynFormSetListener
public void formAfterDelete(JDynFormSet dynformSet)
formAfterDelete
in interface JDynFormSet.JDynFormSetListener
public void formAfterSearch(JDynFormSet dynformSet)
formAfterSearch
in interface JDynFormSet.JDynFormSetListener