public interface JDynForm extends Component, PropertiesSupport, GetItemByKey<java.lang.String,JDynFormField>
Modifier and Type | Interface and Description |
---|---|
static interface |
JDynForm.DynFormContext |
static interface |
JDynForm.JDynFormListener |
Modifier and Type | Field and Description |
---|---|
static int |
USE_PLAIN |
static int |
USE_SEPARATORS |
static int |
USE_TABS |
static int |
USE_TREE |
Modifier and Type | Method and Description |
---|---|
void |
addActionToPopupMenu(DataType tipo,
java.lang.String name,
javax.swing.Action action) |
void |
addListener(JDynForm.JDynFormListener listener) |
void |
addSeparatorToPopupMenu(DataType tipo) |
void |
callUserEvent(java.lang.String name,
java.lang.Object... args) |
java.lang.Object |
callUserFunction(java.lang.String function,
java.lang.Object... args) |
void |
clear() |
JDynForm.DynFormContext |
getContext() |
DynFormDefinition |
getDefinition() |
JDynFormField |
getField(java.lang.String fieldName) |
javax.swing.JComponent |
getFieldsContainer() |
int |
getFormHeight() |
int |
getFormWidth() |
int |
getLayoutMode() |
Script |
getScript() |
boolean |
getUseScrollBars() |
java.lang.Object |
getValue(java.lang.String fieldName) |
void |
getValues(DynObject values) |
boolean |
hasValidValues() |
boolean |
hasValidValues(java.util.List<java.lang.String> fieldsName) |
boolean |
isModified() |
boolean |
isReadOnly() |
boolean |
isShowMessageStatus() |
void |
message() |
void |
message(java.lang.String msg) |
void |
putScript(java.lang.String source) |
void |
removeListener(JDynForm.JDynFormListener listener) |
void |
setContext(JDynForm.DynFormContext context) |
void |
setFormSize(int width,
int height) |
void |
setLayoutMode(int layoutMode) |
void |
setReadOnly(boolean readOnly) |
void |
setShowMessageStatus(boolean showMessageStatus) |
void |
setUseScrollBars(boolean usesScrolls) |
void |
setValue(java.lang.String fieldName,
java.lang.Object value) |
void |
setValues(DynObject values) |
java.lang.String |
toHtml() |
asJComponent
getProperties, getProperty, setProperty
get
static final int USE_PLAIN
static final int USE_TABS
static final int USE_SEPARATORS
static final int USE_TREE
void setLayoutMode(int layoutMode)
int getLayoutMode()
int getFormWidth()
int getFormHeight()
void setFormSize(int width, int height)
JDynFormField getField(java.lang.String fieldName)
DynFormDefinition getDefinition()
void setValues(DynObject values)
void getValues(DynObject values)
java.lang.Object getValue(java.lang.String fieldName)
void setValue(java.lang.String fieldName, java.lang.Object value)
boolean hasValidValues()
boolean hasValidValues(java.util.List<java.lang.String> fieldsName)
void message()
void message(java.lang.String msg)
void setReadOnly(boolean readOnly)
boolean isReadOnly()
void setShowMessageStatus(boolean showMessageStatus)
boolean isShowMessageStatus()
void setUseScrollBars(boolean usesScrolls)
boolean getUseScrollBars()
boolean isModified()
void addListener(JDynForm.JDynFormListener listener)
void removeListener(JDynForm.JDynFormListener listener)
void addActionToPopupMenu(DataType tipo, java.lang.String name, javax.swing.Action action)
void addSeparatorToPopupMenu(DataType tipo)
javax.swing.JComponent getFieldsContainer()
void clear()
JDynForm.DynFormContext getContext()
void setContext(JDynForm.DynFormContext context)
Script getScript()
void putScript(java.lang.String source)
void callUserEvent(java.lang.String name, java.lang.Object... args)
java.lang.Object callUserFunction(java.lang.String function, java.lang.Object... args) throws java.lang.Exception
java.lang.Exception
java.lang.String toHtml()