public class SimpleTableJDynFormSet extends AbstractJDynFormSet
Modifier and Type | Class and Description |
---|---|
static class |
SimpleTableJDynFormSet.DynObjectListTableModel |
JDynFormSet.JDynFormSetListener
actionsBuffer, autosave, contents, definition, formHeight, formWidth, layoutMode, listeners, manager, readOnly, values
USE_PLAIN, USE_SEPARATORS, USE_TABS
Constructor and Description |
---|
SimpleTableJDynFormSet(ServiceManager manager,
DynFormDefinition definition) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action action) |
JComponent |
asJComponent()
Returns this component as a swing
JComponent . |
int |
getCurrentIndex() |
List |
getValues() |
boolean |
hasValidValues() |
boolean |
hasValidValues(List<String> fieldsName) |
void |
setCurrentIndex(int index) |
void |
setReadOnly(boolean readOnly) |
void |
setValues(List values) |
addActionToPopupMenu, addListener, addSeparatorToPopupMenu, allowClose, allowDelete, allowNew, allowSearch, allowUpdate, confirmDialog, countValues, enterStateNew, fireCloseEvent, fireFormMovedToEvent, fireMessageEvent, get, getFormValues, getLayoutMode, getManager, getServiceManager, getTagValueAsBoolean, getTagValueAsInt, getUseScrollBars, isAutosave, isInNewState, isReadOnly, leaveTheNewState, loadDefaultValueFromTags, message, message, removeListener, setAllowClose, setAllowDelete, setAllowNew, setAllowSearch, setAllowUpdate, setAutosave, setFormSize, setLayoutMode, setUseScrollBars, setValues
public SimpleTableJDynFormSet(ServiceManager manager, DynFormDefinition definition) throws ServiceException
ServiceException
public void setValues(List values) throws ServiceException
setValues
in interface JDynFormSet
setValues
in class AbstractJDynFormSet
ServiceException
public JComponent asJComponent()
Component
JComponent
.JComponent
public int getCurrentIndex()
public void setCurrentIndex(int index)
public void addAction(Action action)
public void setReadOnly(boolean readOnly)
setReadOnly
in interface JDynFormSet
setReadOnly
in class AbstractJDynFormSet
public boolean hasValidValues()
public List getValues()