public class SubformJDynFormSet extends AbstractJDynFormSet implements FormSetButtonBar.FormSetListener, JDynForm.JDynFormListener
JDynFormSet.JDynFormSetListeneractionsBuffer, autosave, contents, definition, formHeight, formWidth, layoutMode, listeners, manager, readOnly, valuesUSE_PLAIN, USE_SEPARATORS, USE_TABS| Constructor and Description |
|---|
SubformJDynFormSet(ServiceManager manager,
DynFormDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(javax.swing.Action action) |
javax.swing.JComponent |
asJComponent()
Returns this component as a swing
JComponent. |
void |
clear() |
boolean |
doActionCancelNew() |
boolean |
doActionClose() |
boolean |
doActionDelete() |
boolean |
doActionFirst() |
boolean |
doActionLast() |
boolean |
doActionNew() |
boolean |
doActionNext() |
boolean |
doActionPrevious() |
boolean |
doActionSave() |
boolean |
doActionSearch() |
void |
doSetCurrentRecord(int index) |
protected void |
enterStateNew() |
void |
fieldChanged(JDynFormField field)
This event is fired when a field of the form is changed by the user.
|
DynObject |
get(int position) |
int |
getCurrentIndex() |
void |
getFormValues(DynObject values) |
javax.swing.JLabel |
getMessagesJLabel() |
java.util.List |
getValues() |
boolean |
hasValidValues() |
boolean |
hasValidValues(java.util.List<java.lang.String> fieldsName) |
protected void |
leaveTheNewState() |
void |
message() |
void |
message(java.lang.String msg) |
void |
setAllowDelete(boolean allowDelete) |
void |
setAllowNew(boolean allowNew) |
void |
setCurrentIndex(int index) |
void |
setFormSize(int width,
int height) |
void |
setReadOnly(boolean readOnly) |
void |
setValues(DynObjectSet values) |
void |
setValues(java.util.List values) |
addActionToPopupMenu, addListener, addSeparatorToPopupMenu, allowClose, allowDelete, allowNew, allowSearch, allowUpdate, confirmDialog, countValues, fireCloseEvent, fireFormMovedToEvent, fireMessageEvent, getLayoutMode, getManager, getServiceManager, getTagValueAsBoolean, getTagValueAsInt, getUseScrollBars, isAutosave, isInNewState, isReadOnly, loadDefaultValueFromTags, removeListener, setAllowClose, setAllowSearch, setAllowUpdate, setAutosave, setLayoutMode, setUseScrollBarspublic SubformJDynFormSet(ServiceManager manager, DynFormDefinition definition) throws ServiceException
ServiceExceptionpublic javax.swing.JComponent asJComponent()
ComponentJComponent.asJComponent in interface ComponentJComponentpublic javax.swing.JLabel getMessagesJLabel()
public void message()
message in interface JDynFormSetmessage in class AbstractJDynFormSetpublic void message(java.lang.String msg)
message in interface JDynForm.JDynFormListenermessage in interface JDynFormSetmessage in class AbstractJDynFormSetpublic void setAllowDelete(boolean allowDelete)
setAllowDelete in interface JDynFormSetsetAllowDelete in class AbstractJDynFormSetpublic void setAllowNew(boolean allowNew)
setAllowNew in interface JDynFormSetsetAllowNew in class AbstractJDynFormSetpublic void setValues(java.util.List values)
throws ServiceException
setValues in interface JDynFormSetsetValues in class AbstractJDynFormSetServiceExceptionpublic void setValues(DynObjectSet values) throws ServiceException
setValues in interface JDynFormSetsetValues in class AbstractJDynFormSetServiceExceptionpublic void setReadOnly(boolean readOnly)
setReadOnly in interface JDynFormSetsetReadOnly in class AbstractJDynFormSetpublic boolean doActionFirst()
doActionFirst in interface FormSetButtonBar.FormSetListenerpublic boolean doActionPrevious()
doActionPrevious in interface FormSetButtonBar.FormSetListenerpublic boolean doActionNext()
doActionNext in interface FormSetButtonBar.FormSetListenerpublic boolean doActionLast()
doActionLast in interface FormSetButtonBar.FormSetListenerpublic boolean doActionSave()
doActionSave in interface FormSetButtonBar.FormSetListenerpublic boolean doActionNew()
doActionNew in interface FormSetButtonBar.FormSetListenerpublic boolean doActionCancelNew()
doActionCancelNew in interface FormSetButtonBar.FormSetListenerprotected void enterStateNew()
enterStateNew in class AbstractJDynFormSetprotected void leaveTheNewState()
leaveTheNewState in class AbstractJDynFormSetpublic boolean doActionDelete()
doActionDelete in interface FormSetButtonBar.FormSetListenerpublic boolean doActionSearch()
doActionSearch in interface FormSetButtonBar.FormSetListenerpublic boolean doActionClose()
doActionClose in interface FormSetButtonBar.FormSetListenerpublic void doSetCurrentRecord(int index)
doSetCurrentRecord in interface FormSetButtonBar.FormSetListenerpublic void setFormSize(int width,
int height)
setFormSize in interface JDynFormSetsetFormSize in class AbstractJDynFormSetpublic int getCurrentIndex()
getCurrentIndex in interface JDynFormSetpublic void setCurrentIndex(int index)
setCurrentIndex in interface JDynFormSetpublic void fieldChanged(JDynFormField field)
JDynForm.JDynFormListenerfieldChanged in interface JDynForm.JDynFormListenerpublic DynObject get(int position)
get in interface JDynFormSetget in class AbstractJDynFormSetpublic java.util.List getValues()
getValues in interface JDynFormSetpublic boolean hasValidValues()
hasValidValues in interface JDynFormSetpublic boolean hasValidValues(java.util.List<java.lang.String> fieldsName)
hasValidValues in interface JDynFormSetpublic void clear()
public void getFormValues(DynObject values)
getFormValues in interface JDynFormSetgetFormValues in class AbstractJDynFormSetpublic void addAction(javax.swing.Action action)
addAction in interface JDynFormSet