public interface JDynFormSet extends Component
Modifier and Type | Interface and Description |
---|---|
static interface |
JDynFormSet.JDynFormSetListener |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_CANCEL_NEW |
static java.lang.String |
ACTION_CLOSE |
static java.lang.String |
ACTION_DELETE |
static java.lang.String |
ACTION_FIRST |
static java.lang.String |
ACTION_LAST |
static java.lang.String |
ACTION_NAVIGATION |
static java.lang.String |
ACTION_NEW |
static java.lang.String |
ACTION_NEXT |
static java.lang.String |
ACTION_PREVIOUS |
static java.lang.String |
ACTION_SAVE |
static java.lang.String |
ACTION_SEARCH |
static java.lang.String |
ACTION_SET_CURRENT_RECORD |
Modifier and Type | Method and Description |
---|---|
void |
addAction(javax.swing.Action action) |
void |
addActionToPopupMenu(DataType tipo,
java.lang.String name,
javax.swing.Action action) |
void |
addListener(JDynFormSet.JDynFormSetListener listener) |
void |
addSeparatorToPopupMenu(DataType tipo) |
boolean |
allowClose() |
boolean |
allowDelete() |
boolean |
allowNew() |
boolean |
allowSearch() |
boolean |
allowUpdate() |
int |
countValues() |
void |
fireEvent(java.lang.String action,
java.lang.Object value) |
DynObject |
get(int position) |
javax.swing.Action |
getAction(java.lang.String actionId) |
javax.swing.JComponent |
getActionButton(java.lang.String action) |
java.util.List<javax.swing.Action> |
getActions() |
int |
getCurrentIndex() |
JDynForm |
getForm() |
void |
getFormValues(DynObject values) |
int |
getLayoutMode() |
boolean |
getUseScrollBars() |
java.util.List |
getValues() |
boolean |
hasValidValues() |
boolean |
hasValidValues(java.util.List<java.lang.String> fieldsName) |
boolean |
isActionEnabled(java.lang.String action) |
boolean |
isActionVisible(java.lang.String action) |
boolean |
isAutosave() |
boolean |
isInNewState() |
boolean |
isReadOnly() |
void |
message() |
void |
message(java.lang.String msg) |
void |
removeListener(JDynFormSet.JDynFormSetListener listener) |
void |
setActionEnabled(java.lang.String action,
boolean enabled) |
void |
setActionVisible(java.lang.String action,
boolean visible) |
void |
setAllowClose(boolean allowClose) |
void |
setAllowDelete(boolean allowDelete) |
void |
setAllowNew(boolean allowNew) |
void |
setAllowSearch(boolean allowSearch) |
void |
setAllowUpdate(boolean allowUpdate) |
void |
setAutosave(boolean autosave) |
void |
setCurrentIndex(int index)
Set the current element of form.
|
void |
setFormSize(int width,
int height) |
void |
setLayoutMode(int layoutMode) |
void |
setReadOnly(boolean readOnly) |
void |
setUseScrollBars(boolean usesScrolls) |
void |
setValues(DynObjectSet values) |
void |
setValues(java.util.List values) |
asJComponent
static final java.lang.String ACTION_FIRST
static final java.lang.String ACTION_PREVIOUS
static final java.lang.String ACTION_NEXT
static final java.lang.String ACTION_LAST
static final java.lang.String ACTION_SAVE
static final java.lang.String ACTION_NEW
static final java.lang.String ACTION_CANCEL_NEW
static final java.lang.String ACTION_DELETE
static final java.lang.String ACTION_SEARCH
static final java.lang.String ACTION_CLOSE
static final java.lang.String ACTION_SET_CURRENT_RECORD
static final java.lang.String ACTION_NAVIGATION
void setLayoutMode(int layoutMode)
int getLayoutMode()
boolean hasValidValues()
boolean hasValidValues(java.util.List<java.lang.String> fieldsName)
void setValues(DynObjectSet values)
void setValues(java.util.List values)
java.util.List getValues()
void message()
void message(java.lang.String msg)
void setReadOnly(boolean readOnly)
boolean isReadOnly()
void addListener(JDynFormSet.JDynFormSetListener listener)
void removeListener(JDynFormSet.JDynFormSetListener listener)
boolean isAutosave()
void setAutosave(boolean autosave)
boolean allowUpdate()
boolean allowDelete()
boolean allowNew()
boolean allowSearch()
boolean allowClose()
void setAllowUpdate(boolean allowUpdate)
void setAllowDelete(boolean allowDelete)
void setAllowNew(boolean allowNew)
void setAllowSearch(boolean allowSearch)
void setAllowClose(boolean allowClose)
void setFormSize(int width, int height)
DynObject get(int position)
int getCurrentIndex()
int countValues()
void setCurrentIndex(int index)
index
- boolean isInNewState()
void addAction(javax.swing.Action action)
javax.swing.Action getAction(java.lang.String actionId)
java.util.List<javax.swing.Action> getActions()
void setActionVisible(java.lang.String action, boolean visible)
void setActionEnabled(java.lang.String action, boolean enabled)
boolean isActionVisible(java.lang.String action)
boolean isActionEnabled(java.lang.String action)
javax.swing.JComponent getActionButton(java.lang.String action)
void fireEvent(java.lang.String action, java.lang.Object value)
void addActionToPopupMenu(DataType tipo, java.lang.String name, javax.swing.Action action)
void addSeparatorToPopupMenu(DataType tipo)
void setUseScrollBars(boolean usesScrolls)
boolean getUseScrollBars()
void getFormValues(DynObject values)
JDynForm getForm()